Final Report: Bachelor of Technology in Electronics and Communication ENGINEERING (2018-2022)
Final Report: Bachelor of Technology in Electronics and Communication ENGINEERING (2018-2022)
Final Report: Bachelor of Technology in Electronics and Communication ENGINEERING (2018-2022)
BACHELOR OF TECHNOLOGY
In
ELECTRONICS AND COMMUNICATION
ENGINEERING (2018-2022)
Submitted by:
Ashish Kumar (01116412818)
Bikash Kumar Sah (70116412818)
Consent Letter 3
Candidate’s Declaration 4
Acknowledgment 5
Objective 6
Summary 7
Chapter-1 1.1 Introduction 8-9
Chapter-2 2.1 Problem Statement 10
Chapter-3 11-15
1.1.Requirements
1.1.1.Hardware specifications
1.1.2.Software specifications
Chapter-4 16-18
4.1 Circuit Diagram and explanation
Chapter-5 5.1 Flowchart of the Project working 19-20
5.1.1 Explanation
5.2 Flowchart for IoT setup 21-22
5.2.1 Explanation
Chapter-6 6.1 Output of the project 23-24
6.2 Code of the project 25-35
Chapter-7 7.1 What’s new 36
7.2 Advantages of the Project 36
7.2 Application of the Project 37
7.2 Future Scope 37
References 40-41
Consent Letter
Candidate’s Declaration
This is certify that we, Ashish kumar roll number 01116412818 and
Bikash Kumar Sah, roll number 70116412818 of B.Tech ECE 7th sem
from USICT, GGSIPU Delhi take full responsibility for the content of this
report, source code and relevant modules and accountable for the work
done by us.
We hereby declare that the report, source code and the relevant modules
are not plagiarized from any source directly or indirectly. If any
plagiarism found we shall be responsible for the same.
We hereby declare that we will not upload or publish this report in any of
online or offline forums. We hereby declare that the work presented in this
minor project “Smart Streetlight” is submitted for the partial fulfilment
of the Btech ECE degree.
1.1 INTRODUCTION
The developed cites has adopted the concept to keep the city bright so
that there will be less crimes that’s why they have implemented the
streetlight everywhere along the road but this initiative needs a lot of
manpower to control when the light should be turned on/off. In this
project we are trying to solve this problem by making streetlights smart.
This project is implemented with wifi based board Node MCU
(ESP8266) which controls the street lights based on detection of vehicles
or any other obstacles on the street. Whenever the obstacle is detected on
the street within the specified time the light will get automatically
ON/OFF according to the obstacle detection and the same information
can be accessed through internet. The real time information of the street
light (ON/OFF status) can be accessed from anytime, anywhere on the
real time dashboard.
CHAPTER-2
- Components required
NodeMcu (ESP8266)
LEDS
Resistors
Bread board
Jumper Wires
- COMPONENTS OVERVIEW
1. NodeMCU
Source: https://components101.com/development-boards/nodemcu-esp8266-pinout-
features-and-datasheet
The ESP8266 is the name of a micro controller designed by Espressif
Systems. The ESP8266 itself is a self-contained WiFi networking solution
offering as a bridge from existing micro controller to WiFi and is also
capable of running self-contained applications.
This module come with a built in USB connector and a rich assortment of
pin-outs. With a micro USB cable, you can connect NodeMCU devkit to
your laptop and flash it without any trouble, just like Arduino. It is also
immediately breadboard friendly.
2. LEDS
Source: https://www.instructables.com/LEDs-for-Beginners/
3. RESISTORS
Source: https://www.theengineeringprojects.com/2018/01/introduction-to-
resistors.html
4. Breadboard
Source: http://www.cytron.io/p-breadboard-8.5x5.5cm-400-holes
5. Jumper Wires
Source: https://cityos-air.readme.io/docs/6-jumper-cable-wires
-ARDUINO IDE
-BLYNK APP
Source:- https://www.researchgate.net/figure/Hardware-Module-Design-Based-on-
NodeMCU-with-Blynk-application-Meanwhile-for-the-design_fig2_338000653
CHAPTER- 4
PROPOSED SYSTEM
STREET LIGHT
WiFi
ACTUAL SYSTEM
The following are the steps for connection:
CHAPTER- 5
7. void setup()
8. {
9. // Debug console
10. Serial.begin(9600);
11. pinMode(D1,OUTPUT); //extend these to D8 if you are using a 8 pin relay
12. pinMode(D2,OUTPUT);
13. pinMode(D7,OUTPUT);
14. pinMode(D8,OUTPUT);
15. digitalWrite(D1,HIGH); // Make it low if you want everything to go off
16. digitalWrite(D2,HIGH); // in case of a power cut
17. digitalWrite(D7,HIGH);
18. digitalWrite(D8,HIGH);
19. Blynk.begin(auth, ssid, pass);
20. }
REFERENCES
[3]https://www.scribd.com/presentation/429898605/Smart-Street-
Lighting-With-NodeMCU
[4]https://iotdesignpro.com/projects/iot-based-smart-street-light-using-
esp8266-and-thingspeak