Esp8266 Node Mcu Wifi Module

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

IOT BASED MULTITASKING

MONITORING AND CONTROLLING


SYSTEM PRESENTATION
PRESENTATION BY E&C FINAL YEAR STD
FAYAZAHMED D SAYED
IOT BASED MULTITASKING MONITORING
AND CONTROLLING SYSTEM

SMOKE PROCESSING INDUCTION INDUSTRIAL


DETECTOR UNIT MOTOR LIGHTING
CONTROL CONTROL

PROCESSING RELAY
UNIT DRIVING
UNIT
INDUSTRIAL
LOADS
WI FI SHIELD CONTROL
FIRE SENSOR
WITH MICRO
PROCESSING
CONTROLLER
UNIT
NODE MCU

TEMPERATURE 2 WAY
SENSING ELECTRICAL
AGRICULTURE GAS LEAKAGE
MOISTURE SENSING SWITCHES
SENSOR

HOME DEVICE
NATURAL LIGHT COMPOUND CONTROL
SENSING LIGHTS

RECTIFIER FILTER
STEP DOWN CIRCUIT BATTERY
TRANSFORMER 5V REGULATOR TO ALL BACKUP
STAGES
MOTION DETECION
SENSOR/PROXIMITY
SENSOR

CONTROL ROOM
USER MOBILE UNIT WITH ANDROID
MOBILE UNIT ------- APPLICATION
INTRODUCTION TO
NODE MCU ESP8266
BOARD

WHAT IS NODE MCU?


•Node mcu is an open source software and hardware development environment that is built
arounf
Very inexpensive system on chip (SOC) that is esp8266
WHY CHOOSE NODE MCU ESP8266?
•We have developing board like arduino, raspberry pi while develop/ing or prototyping projects those boards are essential
Mini computers that can be programmed by compters or macbook
•While coming to iot (internet of things) projects they don’t have any built in hardware modules for connecting to internet
the best way to connect to internet is using wireless network
INFORMATON OF NODE
MCU
• One of unique feature of this module t has built in support for wifi
connectivity makes iot applications much easier
• This node mcu is generally programmed by lua laungage
• Lua languageis a embedded scripting language which is a powerfull, light
weight and fast programming language
• The term NodeMCU usually refers to the firmware, while the board is
called Devkit.
• NodeMCU Devkit 1.0 consists of an ESP-12E on a board, which facilitates
its use.
GPIO PINS OF
NODE MCU
GPIO PINS EXPLANATION

• ESP8266 is a system on a chip (SoC) design with components like the


processor chip. The processor has around 16 GPIO lines, some of which
are used internally to interface with other components of the SoC, like
flash memory.
• Since several lines are used internally within the ESP8266 SoC, we have
about 11 GPIO pins remaining for GPIO purpose.
• Now again 2 pins out of 11 are generally reserved for RX and TX in order
to communicate with a host PC from which compiled object code is
downloaded.
• Hence finally, this leaves just 9 general purpose I/O pins i.e. D0 to D8.
DE MCU HARWARE INDICAT
HIP ON NODE MCU WITH SH
WHAT IS ESP8266 ESP-
12E
• The ESP-12E is a board created by AI-THINKER, which consists of an ESP8266EX
inside the metal cover.
• Made by Espressif, this microchip has integrated WiFi and low-power consumption.
• It has 2.4ghz based wifi chip and antenna
• In esp8266 esp-12e model it is embedded
• With 10 silica L1R6 32 bit micro-controller
• 12c serial communication inter integrated
circuit
• Cpu clock speed is 80mhz but can
reach upto 160mhz
• It also supports serial communication protocols
• Integrated usb transciever
• Integrated clock
• On board reset button
• Baud rate supports upto 300 bits per sec to 1mbps
HOTSPOT
TETHERING DEVICE
ABOUT HOTSPOT GADGET
OR DEVICE
• wireless hotspot tethering gadget which provides wireless internet service
for respected device ex: pc or other phone, which needs internet
connection for data exchange over server
•  in our project we used a mobile hotspot as a tethering gadget for
accessing internet service
REGULTED POWER SUPPLY
SECTION
• A DC power supply system, which maintains constant voltage irrespective
of fluctuations in the main supply or variation in the load, is known as
Regulated Power supply
• A regulated power supply can be designed with different methods like
using transistors Zener diodes. But we are using fixed voltage regulators
(7805) for constant voltage levels and these voltages connected to all
blocks
• The required DC input voltage for the regulator is obtained from a Step
down transformer with rectifier and filter capacitor.
• . The capacitor C 2 avoids the noise in the output voltage
• a 7805 device gives a 5V positive output at a 1mA rating
CIRCUIT DIAGRAM
OF DC REGULATED
5V POWER SUPPLY
•A rectified filter and unregulated DC voltage is given to pin of IC
regulator.
•A bypass capacitor is connected between input and ground to bypass
the ripples and oscillations.
•The output capacitor is connected between output and ground to
improve transient response.
•The unregulated input is applied to the IC must be always more than
the regulated output.
• The regulated 5v power supply is connected to microcontroller,
timer, op amps or other circuits of the project.
PROGRAMMING PART OF NODE
MCU

• Using arduino ide sketch software we can dump program into node mcu
for writing and editing of program arduino ide software is used
• First we need to download esp8266 node mcu packages in aduino ide
• And then selection of board as node mcu esp8266-12e model
• Finally uploading the program to bord wait for uploading code fully 100%
PROGRAMMING CODE OUR PROJECT
MODULE
• #define BLYNK_PRINT Serial
• #include <ESP8266WiFi.h>
• #include <BlynkSimpleEsp8266.h>
•  
• char auth[] = " auth code "; // You should get Auth Token in the Blynk
App.
• constint one = d0;
• constint two = d1;
• constint three = d2;
• constint four = d3;
• constint five = d4;
• constint six = d5;
• constint seven = d6;
• char ssid[] = " id "; // Your WiFi credentials.
• char pass[] = " pw "; // Set password
•  
• void setup()
• {
• Serial.begin(9600); // Debug console
• Blynk.begin(auth, ssid, pass);
• pinMode (one, INPUT);
• pinMode (two, INPUT);
• pinMode (three, INPUT);
• pinMode (four, INPUT);
• pinMode (five, INPUT);
• pinMode (six, INPUT);
• pinMode (seven, INPUT);
 

• if (d0==1)
• {
• "message“
• }
THANK YOU

You might also like