0% found this document useful (0 votes)
10 views13 pages

Lecture4 1 Home Automation

The document outlines a Wi-Fi based home automation system using Arduino, specifically focusing on the integration of an ESP8266 Wi-Fi module. It details the components required, the interfacing circuit, and the working mechanism of the system, including setup instructions and code snippets. Additionally, it provides references for further learning and a demonstration link.

Uploaded by

Akshita Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views13 pages

Lecture4 1 Home Automation

The document outlines a Wi-Fi based home automation system using Arduino, specifically focusing on the integration of an ESP8266 Wi-Fi module. It details the components required, the interfacing circuit, and the working mechanism of the system, including setup instructions and code snippets. Additionally, it provides references for further learning and a demonstration link.

Uploaded by

Akshita Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

IoT based System

UEC715

11/16/2024 IoT based System (UEC715) 1


Subject : IoT based System
Code : UEC715

Unit : #4 [IoT Case Studies]


Lecture : #1

Topics covered:
Wi-Fi based home automation system over cloud using Arduino

Dr. Amit Mishra

11/16/2024 IoT based System (UEC715) 2


Wi-Fi based home automation system over cloud using Arduino

In this wifi based home


automation project over cloud
using esp8266 wifi module, we
will be using wifi as wireless
communication to control home
devices.

In this wifi based home


automation system, we are using
Arduino Uno R3.

Link: https://microcontrollerslab.com/iot-based-home-automation-system-wifi/
11/16/2024 IoT based System (UEC715) 3
Block Diagram

11/16/2024 IoT based System (UEC715) 4


Components Required
Arduino Uno
ESP8266 Wifi Module
4 channel Relay module
16X2 LCD
 Breadboard Arduino Uno
ESP8266 wi-fi module
USB-A to B Cable
Male/Female Jumper Wires

16X2 LCD

Male/Female
11/16/2024Wires
Jumper IoT based System (UEC715) 5
Breadboard USB-A to B Cable 4 channel Relay module
Interfacing circuit

11/16/2024 IoT based System (UEC715) 6


Interconnections 4 Channel Relay modules:
External 5 volt to JD VCC.
16×2 LCD: Ground to ground.
VSS to ground. Ini1 to Pin 3.
VDD to supply voltage. Ini2 to Pin 4.
VO to adjust pin of 10k potentiometer. Ini3 to Pin5.
RS to Pin A0. Vcc to Arduino 5v.
RW to ground. Connect one terminal of all bulbs to normally open
Enable to Pin A1. terminal of relays.
LCD D4 to Pin A2.
LCD D5 to Pin A3. ESP8266 wifi module to Arduino:
LCD D6 to Pin A4. Module Vcc to 3.3v.
LCD D7 to Pin A5. Module CH_PD to 3.3v.
Ground one end of potentiometer. Module Ground to Arduino ground.
5v to other end of potentiometer. Module Tx to Arduino Rx.
Module Rx to Arduino Tx.

One end of 220VAC to all common terminals of relay and other end with other terminal of bulbs.
11/16/2024 IoT based System (UEC715) 7
Working:
 Download the S Remote application from Google Play Store.
Open the application, go to Setting>>Advance>>Layout and select
the Button according to your choice.

Then select IP and enter the IP address which is get when we


initialize ESP8266 wifi module using this command “AT+CIFSR”.

IP address is written in third line such as “192.168.10.4”.

Then write the port which is “80” in port option. Go to Setting>>Keys and then select
key1 and write the label to display on button and then the data which you want to send to
Arduino. Click the TCP button. Similarly write the label and data in others keys.

If you connect everything correctly then power up the circuit and open serial monitor, it
takes few seconds to initialize wifi module. Press the button on application, the data is send
by application to Arduino through Wifi and then Arduino performs operations according
to11/16/2024
instructions and the status on devices areSystem
IoT based display on LCD.
(UEC715) 8
Code A B C

11/16/2024 IoT based System (UEC715) 9


D E F

11/16/2024 IoT based System (UEC715) 10


Demonstration:

LINK: https://www.youtube.com/watch?v=MptGo4aIeUs
11/16/2024 IoT based System (UEC715) 11
References

1. Vijay Madisetti, Arshdeep Bahga, “Internet of Things: A Hands-On Approach”


2. Adrian McEwen, Hakim Cassimally, “Designing the Internet of Things”, John
Wiley (2014), 1st ed.
3. https://www.tutorialspoint.com/python/index.htm
4. https://www.youtube.com/watch?v=fJWR7dBuc18&list=PLGs0VKk2DiYw-L-
RibttcvK-WBZm8WLEP
5. https://robojax.com/learn/arduino/
6. https://data-flair.training/blogs/iot-tutorial/
7. https://www.tutorialspoint.com/arduino/arduino_humidity_sensor.htm
8. https://www.youtube.com/channel/UCu7_D0o48KbfhpEohoP7YSQ
9. https://www.youtube.com/channel/UCTuwaCov4OvZX729kvqDwig
10. https://www.youtube.com/watch?v=Z3YdtMsGmjE&list=PLpksGv8aG4d94AXowjP
19Ay0NQKotUZUm&index=11
11. https://www.youtube.com/playlist?list=PLsa31gkyINsly6N_usaeHrtDPYnwxO-1Y
12. https://www.tutorialspoint.com/python/index.htm
11/16/2024 IoT based System (UEC715) 12
11/16/2024 IoT based System (UEC715) 13

You might also like