Home Automation using Raspberry Pi
4.7 (20 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.
352 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Home Automation using Raspberry Pi to your Wishlist.

Add to Wishlist

Home Automation using Raspberry Pi

Step into the whole new world of Home Automation with the cheapest and the most powerful computer, Raspberry Pi Zero
4.7 (20 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.
352 students enrolled
Last updated 5/2016
Price: $95
30-Day Money-Back Guarantee
  • 1 hour on-demand video
  • 8 Articles
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Develop home automation projects using Raspberry Pi
  • Build a simple Intruder Detection System using the world's smallest and cheapest computer, Raspberry Pi Zero.
  • Know how to setup the PIR motion detector sensor, Buzzer and the Webcam and how to integrate them with the Raspberry Pi
  • Send an email with an attachment of the image of the Intruder using Python Program
  • Create a database using MySQL to store the intrusion log
  • Setup a LAMP Web server on the Raspberry Pi and configure it to serve a dynamic web page written in PHP
View Curriculum
  • You should be competent in working with Raspberry Pi
  • You should know basic Python hardware programming
  • You should know basic Linux shell commands
  • You should know basic wiring of electrical and electronic components

This course, "Home Automation using Raspberry Pi" is for anyone who is interested in building some really cool Home Automation projects using Raspberry Pi. Since it is not a beginner course, the learner needs to have a basic knowledge of Raspberry Pi, Linux commands and basic Python Programming.

In this course, the learner will learn how to build an Intruder Detection System. Whenever there is any intrusion at home or office, it is detected using PIR motion detector sensor, an alarm is produced using a buzzer, an image of the intruder is captured, and an email containing the attachment of the image is sent to the user. A database containing the date, time, and image of the intruder is created and served over a web page using Raspberry Pi as a web server so that the user can access the web page to view the log of all the intrusions that have taken place over time.

The complete system is subdivided into individual sections and explained with the utmost detail so that it is easy to understand. It also explains the possible applications for such a system and how the learner can customize for his/her home or office. Complete Python source code and PHP code are also included so that the learner can easily replicate the system.

After completing this course, the learner will know how Raspberry Pi helps us in building home automation stuffs, developed on the core idea of "Internet of Things".

Who is the target audience?
  • This course is for anyone who wants to explore the applications of Raspberry Pi in the field of Home Automation.
  • Since it is not a beginner course, a basic knowledge on Raspberry Pi is necessary for taking this course.
  • If you are a beginner, please undertake our previous course on "Introduction to Raspberry Pi" before subscribing to this course.
Compare to Other Home Automation Courses
Curriculum For This Course
19 Lectures
What you will learn from this course?
1 Lecture 02:52

This lecture describes the overview of the complete course.

Preview 02:52
1 Lecture 05:24

This lecture describes what is home automation and what are the objectives of home automation.

Intrusion Detection System
4 Lectures 08:17

This lecture describes the concept of Intrusion Detection System and the hardware components required to develop.

Preview 04:34

This lecture explains how to test the PIR Motion Detector Sensor and the buzzer before connecting to the Raspberry Pi.

Testing the Sensor and Building the circuit

This diagram depicts the connections for testing the sensor and the buzzer using a battery.

Testing Diagram - PIR Motion Detector Sensor and Buzzer

This diagram depicts the complete circuit to connect the sensor, buzzer and the webcam to Raspberry Pi.

Circuit Diagram - Intrusion Detection System
Motion Detection Section
2 Lectures 07:57

This lecture explains how to connect the sensor and the buzzer onto the Raspberry Pi and also the Python code to detect motion using the sensor and alarm using the buzzer.

Setting up the PIR Motion Detector Sensor and Buzzer

The Python source code for the Motion Detection Section.

Python Source Code - Motion Detection Section

Check your progress by taking this simple quiz.

3 questions
Camera Section
2 Lectures 06:43

This lecture explains how to setup the camera in Raspberry Pi and also demostrates how to capture an image when there is any intrusion detected by the sensor and save the image with date and time as the file name.

Setting up the Camera

The Python source code for Camera Section

Python Source Code - Camera Section
Database Creation Section
2 Lectures 05:54

This lecture explains the steps to create a MySQL database to store the date, time and image of the intruder in a table. Also you will know how to access the database from a Python program.

Preview 05:24

The Python code for Database Creation Section.

Python Source Code - Database Creation Section

Check your progress by answering this simple quiz.

3 questions
Email Section
2 Lectures 04:57

This lecture explains the Python coding to send an email to the user along with a Subject, Body, and an attachment of the image of the intruder with a timestamp.

Sending an Email upon Intrusion using Python programming

The Python code for Email Section.

Python Source Code - Email Section
Webserver Section
4 Lectures 27:21

This lecture describes the various steps involved in setting up a LAMP (Linux, Apache, MySQL, PHP) Webserver in Raspberry Pi.

Setting up LAMP webserver on Raspberry Pi

This lecture explains the PHP code to develop a dynamic web page to display the intrusion log.

Creating a dynamic webpage to display Intruder database

The PHP source code to create a dynamic webpage.

PHP Source Code

Check your progress by answer this simple quiz.

3 questions

This lecture demostrates the real-time working of the Intruder Detection System.

Real-time Demonstration
Real-time Demonstration and Complete Source Code - Intrusion Detection System
1 Lecture 00:04

The complete source code for Intruder.py and Intruder.php

Complete source code
About the Instructor
Venkatesh Varadachari
4.1 Average rating
746 Reviews
13,728 Students
32 Courses
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.

Satyajeet .
4.0 Average rating
576 Reviews
9,090 Students
21 Courses
Senior Product Engineer - Technology

Satya 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 and spends his time creating exciting courses around the credit card sized Raspberry Pi.

Venkatesh Gopalakrishnan
3.6 Average rating
51 Reviews
639 Students
2 Courses
Graduate Student at University of Texas at Dallas

Venkatesh is an avid and passionate engineer who has the crave to explore the cutting edge technologies. He completed his Bachelors of Engineering in Electronics and Instrumentation under Anna University. He is now pursuing his Masters in Electrical Engineering at The University of Texas at Dallas. He has worked extensively with Raspberry Pi in the field of IOT and Home Automation. His areas of interest include Embedded Systems, Micro-processors and Micro-controllers, Internet of Things, VLSI Design and VLSI Testing. He is also an enthusiastic educator who aims to take the latest technologies to the common man.