Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Experiment No: 05: Name: Roshan. S Branch: Electronics Roll No: A19 Sem: VII

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Name: Roshan.

S Branch: Electronics

Roll No: A19 Sem: VII

Experiment No: 05
Aim: To control and monitor sensors and actuators using Blynk.

Requirements i)Hardware: NodeMCU, LDR, DHT11, Relay. LED


: ii)Software: Blynk IoT, Arduino IDE

Theory:

Blynk:
- Blynk was designed for the Internet of Things. It can control hardware remotely, it
can display sensor data, it can store data, visualize it and do many other cool things.
- There are three major components in the platform:
- Blynk App - allows to you create amazing interfaces for your projects using various
widgets we provide.
- Blynk Server - responsible for all the communications between the smartphone and
hardware. You can use our Blynk Cloud or run your private Blynk server locally. It’s
open-source, could easily handle thousands of devices and can even be launched on
a Raspberry Pi.
- Blynk Libraries - for all the popular hardware platforms - enable communication with
the server and process all the incoming and outcoming command.

NodeMCU:

- NodeMCU is a low-cost open source IoT platform.It initially included firmware which
runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which was
based on the ESP-12 module.
- The firmware uses the Lua scripting language.
- The firmware is based on the eLua project, and built on the Espressif Non-OS SDK
for ESP8266. It uses many open source projects, such as lua-cjson and SPIFFS.
- Due to resource constraints, users need to select the modules relevant for their
project and build a firmware tailored to their needs. Support for the 32-bit ESP32 has
also been implemented.
-

LDR:
- LDR sensor module is a low-cost digital sensor as well as analog sensor module,
which is capable to measure and detect light intensity. This sensor also is known as
the Photoresistor sensor.
- This sensor has an onboard LDR(Light Dependent Resistor), that helps it to detect
light. This sensor module comes with 4 terminals.
- Where the “DO” pin is a digital output pin and the “AO” pin is an analog output pin
- The output of the module goes high in the absence of light and it becomes low in the
presence of light.
- The output of the module goes high in the absence of light and it becomes low in the
presence of light.

-
-
DHT11:

- The DHT11 is a commonly used Temperature and humidity sensor that comes with a
dedicated NTC to measure temperature and an 8-bit microcontroller to output the
values of temperature and humidity as serial data.
- The sensor can measure temperature from 0°C to 50°C and humidity from 20% to
90% with an accuracy of ±1°C and ±1%.

Procedure:

1) Select the required components.


2) Make the necessary connection among all the components.
3) Interface the controller to connect to the cloud.
4) Write and run the code.
5) Observe the output.

Interfacing:
Program:
Blynk Dashboard:

Conclusion: In this experiment, we interfaced LDR , DHT11, and relay to monitor light
intensity, temperature and humidity and to control a light with the help of cloud platform
Blynk IoT.

You might also like