Internet of Things


Arduino IDE Installation

Arduino IDE is an integrated development environment where you can write your programs for all compatible development boards. During the workshop we are going to use the NodeMCU 1.0 (ESP-12E Module). NodeMCU is based on the Esperessif ESP8266-12E WiFi System-On-Chip, loaded with an open-source, Lua-based firmware. it’s perfect for IoT applications, and other situations where wireless connectivity is required.

You are required to follow the given steps to get started with programming for this workshop.



  1. Go to the following link to download and install the Arduino package for the correct platform.

2 . Open the Arduino IDE and click on File -> Preferences.

3. In Aditional Boards Manager URLs add this line and click on "OK":

4. Go to Tools -> Board -> Boards Manager, type "ESP8266" and install "esp8266 by ESP8266 Community".

5. Go again to Tools -> Board and select "NodeMCU 1.0 (ESP-12E Module)".

Once you complete all the steps, you are ready to start programming on the NodeMCU.



Project 1

Clap Lights

Objective:

To implement light automation system which turn on the Lights (LED) by clapping once and turns off after the second clap using microphone module and ESP8266 NodeMCU. It should work as an emergency alarm as well, if one claps fast, it should display an emergency message on the mobile phone and LEDs should blink.

Click For Micro Controller Code Clap Light



Project 2


Temperature and Humidity Remote Sensing

Objective:

To measure Temprature and Humidity using DHT11 sensor and ESP8266 NodeMCU, and sending the data to node-red for visualization. The data should be visible on mobile phone in real time.

Click For Micro Controller Code Temperature and Humidity Remote Sensing


Project 3

Reverse Car Parking Sensor

Objective:

To implement real world reverse car parking sensor using Ultrasonic Sensor, Buzzer, LED and NODEMCU ESP8266. Also it, should be connected to a remote device like Mobile phone through WiFi. The device should function as follows


The distance should also be visible on remote device connected to the microcontroller.

Click For Micro Controller Code Reverse Parking Sensor

Project 4

HC-05 Bluethooth

Objective

The Arduino board receives the user commands in the form of numbers from the smart phone through Bluetooth interface. These numbers are assigned to the home appliances and the appliances are toggled either ON or OFF on receiving the numeric command. The Arduino sketch looks for the numeric commands from the Bluetooth module and operates relays to switch appliances.

Click For Micro Controller Code Appliances Control by HC-05 Bluethooth

Project 5

Appliance Control By Google Assistant

Objective

Google assistant is AI (Artificial Intelligence) based voice command service. Using voice, we can interact with google assistant and it can search on the internet, schedule events, set alarms, control appliances, etc.

This service is available on smartphones and Google Home devices.

We can control smart home devices including lights, switches, fans and thermostats using our Google Assistant.



Click For Micro Controller Code Appliance Control By Google Assistant With MQTT

Shubham Singh

B.tech[Electrical ] Student.