Introduction: IoT Smart Home System

This is Keefe and Jons Smart home system on iot

Step 1: What Is the Application About?

This application is a smart home system
which is divided into 2 main components. The first component is the smart door system which consists of a doorbell, access card system, LCD display to show the time, and whether the access card was allowed or denied, a LED indicator light to show that the door is unlocked, a motion sensor to capture motion outside of the house, with a camera to capture a picture when motion is detected.

The second component is the smart home system which consists of 2 LEDs, 1 representing the lights in the house and the other to represent the air-conditioning of the house. 2 buttons are also included to turn the LEDs off and on to represent that the air-conditioning and lights can be turned on or off using buttons. However, using the webpage of the application, the user can turn the air-conditioning or the lights on and off remotely. A temperature and humidity sensor is also used to capture the temperature and humidity in the house and a graph of the day’s temperature can be seen on the website as well.

This application will help to ease the lives of home owners as they can ensure their home security using the door access system and motion sennsor to detect movements and capture pictures of suspicious activites outside their house as well as a camera livestream, that allows home owners to see what is going on outside their house when they are away. The smart home system also provides home owners with convenience as they can see whether their lights or their air-conditioning is turned on or off, so that they can turn it off while they are out in the case that they forgotten to off it before leaving the house. The temperature chart also allows home owners to monitor their home temperature and they can then choose to turn on the air-conditioning before they reach home if the see that the temperature at home is high, allowing them to come back to a cool home and relax.

Step 2: Summary of the Steps That Will Be Described

1) Overview

2) Hardware requirements - Provides overview of hardware required

3) Doorbell for smart door system - Provides a step by step guide on how to wire the doorbell system of the smart door system

4) LCD Display for the smart door system - Provides a step by step guide on how to wire the LCD display of the smart door system

5) NFC/ RFID Reader to read access card - Provides a step by step guide on how to wire the NFC/ RFID card reader to read the access card and grant access of the user to the home.


Motion Sensor to capture images - Provides a step by step guide on how to wire the motion sensor so that it can detect motion outside the house


Smart Home System - Provides a step by step guide on how to wire the LEDs and the temperature sensor of the components in the house


Coding the programs - Provides a step by step guide on how to create and program the application correctly


Running the programs - Provides expected outputs if the program is run properly

Step 3: How Does the Final RPI Set-up Looks Like?

Step 4: How Does the Web Application Look Like?

Step 5: Hardware Requirements

To complete this application, you willneed:

  • 1 I2C LCD Display
  • 1 RFID / NFC MFRC522 Card Reader Module
  • 1 DHT11 Temperature and Humidity Sensor
  • 1 PIR Motion Sensor
  • 1 Buzzer
  • 1 Raspberry Pi camera (piCam)
  • 3 Buttons
  • 3 LEDs
  • 3 10K ohms resistors
  • 3 330 ohms resistors
  • Plenty of male and female wires

Step 6: Coding the Application

To code this application, refer to the instruction file attached.

Step 7: Run the Program

Type in the following command to run your

Python program

sudo python ~/ca1/

Step 8: Output of Program



When run, the program should display a series of text to show that each component is being run properly.


The Buzzer and home LEDs should be able to respond to the button presses.


The LCD Display should show “ Jon’s Residence” and the time.


When the access card is scanned, the LCD screen should display “Unlocked” and the green LED light will turn green.


The webpage should be up and running!