Hardware projects using Raspberry Pi

Learn how to use GPIO pins of Raspberry Pi to create hardware projects and interact with the physical world.
3.6 (27 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
3,366 students enrolled
Take This Course
  • Lectures 35
  • Length 1.5 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2015 English

Course Description

This is a follow on course to the #1 Raspberry Pi course on Udemy - "Introduction to Raspberry Pi".

Highlights - #2 Raspberry Pi course on Udemy in terms of students (Over 2,200 students)

#2 Raspberry Pi course on Udemy in terms of 5 star reviews (Over 25 )

#2 Raspberry Pi course of Udemy in terms of reviews (Over 40)

The course will be regularly updated, so that the students have something to look forward to. Latest update on 7-Nov-15.

All our students will get access to VIP pricing ($8) for all new courses created by Makerdemy. We currently have 10 courses under our brand and will be releasing 1 new course every 2 months.


This is an intermediate course about the credit card sized computer Raspberry Pi. This course is ideal for those who are interested in exploring the possibilities of Physical computing with Raspberry Pi. The course assumes basic knowledge on computer programming. However, knowledge of Linux operating system and Python programming language would greatly help you in getting up to speed.

The GPIO pins on a Raspberry Pi are a great way to interface with physical devices like resistors and sensors with the little Linux processor. If you're a Python lover, there's a sweet library called RPi dot GPIO that handles interfacing with the pins.

You will learn 3 complete hardware projects. The first one teaches you how to build a Walky Talky to make the most of your Raspberry Pi using Linux command. You just have to enter the desired frequency and you can talk to your neighbors without paying any operator charges!

The second project involves building a light detector mechanism which let you know the amount of light available in the particular area. The Raspberry Pi hardware uses a computer program written in Python. You will hook the Pi up with light detector circuit and will use the program to know the sensor behavior upon different intensities of light.

The third project teaches you to build a motion sensor based teddy bear which laughs upon waving our hand. The motion detector circuit will be embedded inside the teddy bear and will be controlled using a program written in Python to sense the motion.

What are you waiting for? Enroll now!

The course provides the complete source code for all the three hardware projects.

The entire course can be completed over a fortnight, including the hardware assembly and coding in Python.

By the end of this course, you can build your own Raspberry Pi controlled physical devices. You will also learn how to write your own python code to interact directly with the physical world.

What are the requirements?

  • Preinstalled Raspbian operating system in Raspberry Pi Model B or B+
  • Basic knowledge of Linux command
  • Basic knowledge of Python Programming

What am I going to get from this course?

  • Create Raspberry Pi based Walky Talky.
  • Build light detector mechanism.
  • Build a motion detector using PIR motion sensor.
  • Step by step code to build the project.

Who is the target audience?

  • This is an intermediate course meant for those who are interested in exploring the functionality of GPIO pins of Raspberry Pi. While the basic knowledge of Linux command and Python programming language will be helpful.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Walky Talky

This lecture will teach you hardware requirement to assemble walky Talky:-

a) Raspberry Pi (x 2)

b) Radio Antenna (x 2)

c) USB or 3.5mm microphone (x 2)

d) Thin copper wire (x 2 meters each)

e) External USB sound card (x 2)

f) Jumper wires (x 2)


This lecture will teach you:-

a) Files required to enable frequency pin of Raspberry Pi.

b) Mapping of virtual memory to physical memory.

c) Concept behind FM frequency.


This lecture will teach you:-

a) How to fix antenna.

b) Solder thin copper wire to antenna.

c) Attach jumper wire to antenna.

d) Use external USB sound card for 3.5 mm microphone.

Circuit Diagram - Walky Talky
1 page

This lecture will teach you:-

a) Linux command to emit audio at specific frequency.

b) Detailed explanation of the command.

Linux Command to emit audio frequency

This lecture will teach you:-

a) Real time testing of Linux Command.

b) Functioning of external USB sound card.

c) Transmit your own voice at particular frequency.


This lecture will teach you:-

a) Passing user defined frequency in order to establish communication.

b) Live testing of Raspberry Pi based Walky Talky.

QUIZ - Walky Talky
3 questions
Section 2: Light Detector Mechanism

This lecture will teach you hardware requirements to assemble Light detector mechanism:-

a) Raspberry Pi (x 1)

b) Light detector resistor (x 1)

c) Ceramic capacitor (x 1)

d) Leds (x 3)

e) Buzzer (x 1)

f) Thin insulated wire

g) Soldering Iron


This lecture will teach you:-

a) Project description.

b) Detailed explanation about important hardware components.

4 pages

This ebook contain the detail description of the photo resistor


This lecture will teach you:-

a) Assembling the circuit.

b) Detailed explanation about the wiring connection.

Circuit Diagram - Light detector mechanism
1 page

This lecture will teach you:-

a) Import the required Python library to program.

b) Import the respective GPIO pins to interact with the hardware.


This lecture will teach you:-

a) Define the light detector function.

b) Pass user-defined pin as parameter.

c) Comparing sensor reading after a delay of every half second.


This lecture will teach you to:-

a) Compare the value of the resistor.

b) Print the resistor value.

c) Enable the respective GPIO pin.


This lecture will teach you to:-

a) Print the sensor value.

b) Glow low light LED if resistor value falls between zero and ten.


This lecture will teach you to:-

a) Print the resistor value.

b) Enable the respective GPIO pins.

c) Clean up all the ports used in the program.


This lecture will teach you:-

a) Debug the run time error.

b) Setup the output for user defined GPIO pin.

Source Code - Light detector mechanism
2 pages

This lecture will teach you:-

a) Real time execution of the program.

b) Sensor behavior upon different amount of light source.

QUIZ - Light Detector Resistor
3 questions
Section 3: Laughing Teddy Bear

This lecture will teach you:-

a) Project description.

b) Hardware requirements to build laughing teddy bear project.


This lecture will teach you:-

a) Real time usage of PIR motion sensor.

b) Working theory of PIR motion sensor.


This lecture will teach you:-

a) Implanting circuit inside teddy bear.

b) wiring and connection setup.

Circuit diagram - Laughing Teddy Bear
1 page

This lecture will teach you:-

a) Load IDLE editor in Super User mode.

b) Import the required Python Library.

c) Enable the respective GPIO pins.


This lecture will teach you:-

a) Greet user when program executes.

b) Assign global variable value.


This lecture will teach you:-

a) Define If block.

b) Increment the counter value if motion is detected.

c) Enable respective LEDs upon motion detection.

d) Play music file upon motion detection.


This lecture will teach you:-

a) Increment the counter value when no motion is detected.

b) Enable the respective GPIO pins.

c) Audio playback when no movement occours.


This lecture will teach you:-

a) Declaration of Keyboard Interrupt.

b) Cleanup all the ports used by the program.

c) Saving the file to the directory.


This lecture will teach you Error debugging for the following:-

a) Typecasting Error.

b) Case sensitive keyword error.

c) Variable declaration error.

d) Missing library error.

Source Code - Laughing Teddy Bear
2 pages

This lecture will teach you:-

a) How to execute program in super user mode.

b) Live testing of motion sensor.

c) Python program output after execution of the program.

QUIZ - Motion Sensor
3 questions
Section 4: USB Webcam
9 pages

This document clearly explains how to code USB Webcam using python programming.

1 page

This part contains the complete source code for shell programming and python implementation.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Venkatesh Varadachari, Founder of ScratchNinja, PiWizards and Money-Wizards

Venkatesh Varadachari is the founder of Money-Wizards Global Pte Ltd, that owns the education brands Money-Wizards, PiWizards and Scratch Ninja.

Venkatesh believes that knowledge should be made available to people in all walks of life. Venkatesh also believes in the power of education to transform lives.

Venkatesh has an MBA from the prestigious Indian Institute of Management, Bangalore.

He also has a degree in Electrical Engineering from Madras University and a Masters in Financial Engineering from National University of Singapore.

Instructor Biography

Satyajeet Sah, Product Engineer - Technology

Satyajeet is a passionate technology enthusiast and is excited about the possibility of impacting education through technology. Satya holds a Masters in Computer Applications from VIT, one of the premier engineering institutes in India. He is a product engineer at Makerdemy and spends his time creating exciting courses around the credit card sized Raspberry Pi.

Ready to start learning?
Take This Course