Electronic Project 3
Electronic Project 3
SUBMITTED BY:
UNIVERSITY OF POLYTECHNIC
FACULTY OF ENGINEERING AND TECHNOLOGY
JAMIA MILLIA ISLAMIA
NEW DELHI-110025
(2022)
CERTIFICATE
CERTIFICATE
This is to certify that the project entitled “ SMART STREET LIGHT SYSTEM ”
Submitted by :-
ADIL REHMAN (18DEL003)
RISHAV KUMAR (18DEL053)
SHIREEN IMAM (18DEL060)
ABDUL WAHID HUSSAIN (18DEL002)
Approved by
UNIVERSITY POLYTECHNIC
FACULTY OF ENGINEERING AND TECHNOLOGY
JAMIA MILLIA ISLAMIA
NEW DELHI-110025
ACKNOWLEDGEMENT
ACKNOWLEDGEMENT
We would like to express our sincere gratitude to Mr. Shabbir Ahmad Khan of the
department of Electronics and Communication, Jamia Millia Islamia, whose role as project
guide was invaluable for the project. We are extremely thankful for the keen interest he took in
advising us, the reference materials that he provided and the moral support extended to us. Last
but not the least, we convey our gratitude to all the teachers for providing us with the technical
skill that will always remain as our asset.
We thankful to Dr. Mumtaz Ahmad acting principle of university polytechnic and
HOD Dr. M. Nasim Faruque for their co operation and guidance during our course of study.
We would also like to thank all the faculty members of ELECTRONICS SECTION for their
advice and guidance without of which this project would not have been possible. Last but not
the least we place a deep sence of graduate to our family member and our friends who have
been constant source of our inspiration during the prepration of this project.
Date: 20/04/2022
Place: Delhi
In addition to enabling cities to provide the proper amount of street light for local
conditions, installing intelligent lighting will help improve citizen satisfaction regarding
security and safety, while bringing municipalities significant savings in power consumption
and lighting system maintenance. Also, outdoor lighting infrastructure might serve as a
backbone for several Internet of Everything (IoE) applications, such as monitoring weather,
pollution, and traffic.
With the increasing modernization of society, the consumption of electricity is also increasing
which will lead to a huge shortage of electricity in near future. Hence it is imperative to manage
and control the consumption of electricity in daily life. Since the time of Sir Thomas Edison,
various efforts have been made by eminent scientists to make the light bulb more efficient so
that it can be illuminated with less power. A very good example of these successful efforts is
CFL and LEDs. Likewise, automatic street light controllers would certainly add to these efforts
by switching ON/OFF the street lights smartly, which will save a huge amount of electricity.
With this technology, the street lights will be turned ON when there is the presence of a vehicle,
person, or any object. The lights will be turned OFF when they pass as well as in the daytime.
By
doing this process, we can not only save a huge amount of energy but we can utilize the same
power for deprived regions that have no street lighting system. The model will mainly comprise
an Arduino, Light Dependent Resistor (LDR), UltraSonic Sensor, etc. The Arduino UNO will
be programmed to sense the presence of an object with the help of an UltraSonic sensor.
Whenever there will be any object, the Arduino will turn ON the corresponding LED. A similar
process will start for each LED while the previous bulb will be turned OFF/(light intensity will
be lowered) until the next object arrives. The project is quite helpful in reducing the unnecessary
consumption of electrical energy. It will also ensure the smart utilization of power in the
development of smart cities.
A Temperature measuring device (TMD) is also used, which is placed on the same pole. This
increases the use cases in a feasible manner. TMDs are not installed on each pole. They are only
installed on the poles which are at least 10 km apart from each other.
This project also assures reduced energy use by dimming or brightening the lights
remotely.
This can be done according to weather conditions as well, like fog or rain.
TABLE OF CONTENT
List of Figures i
List of Photographs and Tables ii
1. About Embedded System 09
2. Objective 13
2.1. Introduction 13
2.2. Purpose 13
2.3. Scope 13
3. Feasibility 20
3.1. Economical 20
3.2 Technical 20
3.3. Behavioural 20
4. Experimental Setup 21
5. Methodology 26
6. Program Simulation 30
7. Conclusion 32
8. Future Works 33
9. References 40
7. 2.5 Potentiometer 17
2. PROPOSED SYSTEM
Figure 1 shows the components, with which our smart street light system is realized. (a)
Lamp unit: It consists of power-adjustable LED array, the brightness sensor, the motion
sensor, the communication device, such as ZigBee module, and the controller. It turns on for
several minutes under the conditions that a motion is detected in the defined area by the
sensors including its own sensor. Then, it sends the message to other units. It turns off or
reduced power under the condition that any motion is not detected in the defined area. (b)
Sensor unit: It consists of the motion sensor, the communication device and the controller. It
sends out the message to other units under the condition that motion is detected. This unit is
placed to many locations, such as at electric poles, at house gates, at house fence and inside or
outside of the door, to ensure that every street light turn on before pedestrians notice that. As
for power supply, the solar battery can be a good option. (c) Access point: It consists of the
communication device and the controller. It is used in the case that the distance between the
lamp units and the sensor units are too large to communicate each other.
3. DISCUSSIONS
The targets of our development are as follows, ! Easy installation and extension: Each unit
can be installed one by one to the network by setting the parameters. The system is
autonomous-distributed controlled. No host computer is needed. ! Low cost: Only the parts of
mass production are used. ! Easy update: The firmware of each unit can be updated easily.
The control algorisms should be developed for the situations, such as a quiet residential area,
a shopping street, a part, a main road and a mountain road. ! Self-diagnosis: The worst event
is that the light does not turn on when the pedestrian come. Each unit records the failures, in
which the motion is detected in front of it without the advanced notification from the other
units.
5. REFERENCES
[1] Velaga, R. and Kumar, A. 2012. Techno-economic evaluation of the feasibility of a smart
street system: A case study of rural India. Procedia Social and Behavioral Sciences. 62, 1220-
1224. [2] Echelon Corp. https://www.echelon.com/applications/street-lighting/ [3] Bruno, A.,
Di Franco, F. and Rasconà, G. 2012. Smart street lighting. EE Times
http://www.eetimes.com/design/smart-energydesign/4375167/Smart-street-lighting [4] The e-
JIKEI Network Promotion Institute, et al. Smartstreet light system with communication
means. Published unexamined patent application in Japan P2011-165573A (in Japanese)
INTRODUCTION
The street lighting is one of the largest energy expenses for a city. An intelligent street
lighting system can cut municipal street lighting costs as much as 50% - 70%The present
system is like
the lights will be switched on in the evening before the sun sets and they are switched off the
next day morning after there is sufficient light on the outside. But the actual timing for these
lights to be switched on are when there is absolute darkness. With this, the power will be
wasted up to some extent. In sunny and rainy days, ON and OFF time differ discernibly
which is one of the significant hindrances of the present street lights systems. Alsothe manual
operation of the lighting system is completely eliminated. The energy consumption in entire
world is increasing at the fastest rates due to population growth and economic development
and the availability of energy sources remains woefully constrained. Resource augmentation
and growth in energy supply has not kept pace with increasing demand and, therefore,
continues to face serious energy shortages. Streetlights are an integral part of any developing
locality. They are present on all major roadways and in the suburbs too. Every day,
streetlights are powered from sunset to sunrise at full strength, even when there is no one
around. On a global scale, millions of dollars are spent each day on these street lights to
provide the required electrical energy. The maintenance and replacement costs of
conventional incandescent bulbs are immense. They consume a lot of electric power to
function and their heat emissions are also quite high. All of this contributes to greater demand
of electricity production and consequently, more carbon dioxide emissions from
powerhouses. So, along with unnecessary light pollution, this practice causes damage to our
planet too.
2. RELATED WORKS
S. Suganya et al have proposed about Street Light Glow on detecting vehicle movement
using sensor isa system that utilizes the latest technology for sources of light as LED lamps. It
is also used to control the switching of street light automatically according to the light
intensity to develop flow based dynamic control statistics using infrared detection technology
and maintain wireless communication among lamppost and control terminal using ZigBee
Wireless protocol. It also combines various technologies: a timer, a statistics of traffic flow
magnitude photodiodes, LED, power transistors.
[3] K. Santha et al have surveyed on Street Lighting System Based on Vehicle Movements.
The system operates in the automatic mode which regulates the streetlight according
tobrightness and dimness algorithm and light intensity. The control can be made according to
theseasonal variation. It includes a time cut-out function and an automatic control pattern for
conserving more electricity. The whole project was implemented using a PIC
microcontroller.
[4] Proposed a ZigBee based Remote Control Automatic Street Light System. The system is
designed with the help of ZigBee modules that helps in detecting the faulty lights and control
the light. It also discusses about an intelligent system that takes automatic decisions for
ON/OFF/DIMMING considering the vehicle movement or pedestrian and also the
surrounding environment. PIR motion sensor is used to detect movement of both living and
non-living things.
[5]M Abhishek et al have implemented design of traffic flowbased street light control system
with effective utilization of solar energy in the year 2015. They used the renewable source of
energy i.e the solar power for street lighting. They have also used 8052 series microcontroller
and is developed by replacing the normal bulbs with the LEDs due to which the power
consumption is reduced by 3 times. Sensors are placed on either side of the road which senses
the vehicle movement and sends the commands to the microcontroller to switch ON and OFF
the lights. Here all the street lights remain switched off and it glows only when it senses the
vehicle movement. Hence, because of the microcontroller, even when its night the lights are
switched off.
[6] C. Bhuvaneshwariet al have analysed the street light with auto tracking system by which
one can increase the conversion efficiency of the solar power generation. Here, the sun
tracking sensor is the sensing device which senses the position of the sun time to time and
gives the output to the amplifier based on light density of the sun. Sun tracking sensor is
LDR, amplifier unit is used to amplify the LDR signals which converts low level signals to
high level signals and the output is given to comparator. The LM324 IC is used as an
amplifier. Comparator compares the signals and gives the command to AT89C51
microcontroller.
3. PROBLEM STATEMENT
OBJECTIVE
The main objective of this project is to implement an IoT based Automatic Street Lightning
System. As the traffic decreases slowly during late-night hours, the intensity gets reduced
progressively till morning to save energy and thus, the street lights switch on at the dusk and
then switch off at the dawn, automatically. The process repeats every day. White Light
Emitting Diodes (LED) replaces conventional HID lamps in street lighting system to include
dimming feature. The intensity is not possible to be controlled by the high intensity discharge
(HID) lamp which is generally used in urban street lights. LED lights are the future of lighting
because of their low energy consumption and long life. LED lights are fast replacing
conventional lights because intensity control is possible by the pulse width modulation. This
proposed system uses an Arduino board. Strings of LED are interfaced to the Arduino board.
A programmed Arduino board is engaged to provide different intensities at different times of
the night. This project is enhanced by integrating the LDR to follow the switching operation
precisely and IOT to display the status of street on web browser and help in controlling it.
PROPOSED METHOD
• High power of energy
• The present system employs power delivery via a singlephase line to the streetlight.
The proposed system involves five more components to regulate the power delivery.
[7] An Infra -Red Proximity \Sensor at the base of the street light detects presence in a
small area around the street light. The data from the sensor is sent to the Arduino
which forms brain of the circuit. The Arduino then commands to switch between dim
and bright modes depending upon the requirement and thus controls the brightness of
the street light. A battery eliminator, also powered by the singlephase line, is used to
supply 5V inputs to the sensors and Arduino.
• OS, Linux. The environment is written in Java and before running the IDE Java
software to be installed on the machine this software can be used with any Arduino
board. simply photocells.
They are made up of semiconductor materials having high resistance.
A light dependent resistor works on the principle of photo conductivity.
OFF mode: When there is enough natural light in the surrounging i.e during the
daytime, the entire system is switched off and the batteries are charging.
Active mode: when the natural light drops below a certain level the system
automatically turns on and the motion sensors are powered.
ON mode: On the presence of pedestrians the sencor turns on which in turn switches on
the LED lights. These light turns off after a period of time
6. IMPLEMENTATION OVERVIEW
small register in series is connected across the 5V and GND of the Arduino Uno and from
the midpoint of the LDR potential divider circuit the output of the circuit is feed to A0 of
the Arduino which turn on all the street lights which are represented by Led connected to
the output pin (ie: 5 ,6 ,7 ,8,9, IO, 71,12, 13).
which is falling on it. lt has resistance of about 1M-ohm when in total darkness but
a resistance of only 5 k-ohm when brightness is illuminated.
LDR is a special type of resistor whose value depends on the light
Chapter 1
● In 1960, the embedded system was first used for developing the Apollo Guidance
System by Charles Stark Draper at MIT.
● In 1965, Autonetics developed the D-17B, the computer used in the Minuteman
missile guidance system.
● In 1987, the first embedded OS, VxWorks, was released by Wind River.
● Analysts are projecting an Embedded market larger than $40 billion by 2030.
CHARACTERISTICS OF AN EMBEDDED SYSTEM
Reliability:
This measure of the survival probability of the system when the function is critical
during the run time.
Fault-Tolerance:
Fault-Tolerance is the capability of a computer system to survive in the presence of faults.
Real-Time:
Embedded systems must meet various timing and other constraints. They are imposed on
it by the real-time natural behavior of the external world.For example, an airforce
department that keeps track of incoming missile attacks must precisely calculate and
plan their counter-attack due to a hard real-time deadline. Otherwise, it’ll get destroyed.
Flexibility:
It’s building systems with built-in debugging opportunities which allow remote maintenance.
For example, you are building a spacecraft that will land on another planter to collect various
types of data and send collected details back to us. If this spacecraft went insane and lost
control, some important diagnostics. So, flexibility is vital while designing an embedded
system.
Portability:
Portability is a measure of the ease of using the same embedded software in various
environments. It requires generalized abstractions between the application program
logic itself and the low-level system interfaces.
Embedded Hardware
The hardware layer is built around a central processing unit (CPU) that serves as the main
system controller. A CPU can be represented by:
● a microprocessor, which contains only a CPU and has minimal power to perform
one simple operation
● a microcontroller, which is the integration of a CPU, I/O ports, RAM/ROM
memory on one chip and can perform several tasks. Other essential embedded
hardware elements include:
● memory devices for data storage
● I/O devices for input and output operation.
● Computer buses for transferring data between hardware components
● sensors for converting physical data into analog electrical signals
● analog-to-digital converters (ADC) for transforming analog electrical
signals (e.g. sound or light) into digital ones that the processor can read
The software layer may contain various components depending on the devices complexity
and purpose includes four constituents.
Embedded Software
OBJECTIVE
project deals with designing a lighting system that targets energy-saving and autonomous
operation. The Energy Consumption The objective of the project is to provide automatic
control and monitoring of street lights. The of street lights of a specified area can be
recorded and accounted for on an Energy Saving Lighting System with integrated sensors
and controllers. Moreover, errors that occur due to manual operation can also be eliminated.
Also, the street lights can be switched ON/OFF through a computer from the central control
station or can be automated using light sensors embedded in the street light pole circuit of
the application. With these facilities, the performance and life of the lamps will be increased.
The application is based on a client-server model.
1. Introduction:
Indian Prime Minister Mr. Narendra Modi started a scheme to make smart cities. Financial
aid will be given by the central and state governments between 2017– 2022 to the cities,
and the mission will start showing results from 2022 onwards.
2. Purpose:
This project comprehensively describes how an electronic circuit arrangement can play a
crucial role and help to smartly manage the electricity requirements by its maximum
utilization.
2. Scope:
Apart from national highways and a few grand trunk roads, generally, all the other roads
are vacant throughout the night and hardly a vehicle passes. This project will help us to
overcome this problem.
3. Tools Required:
● Arduino UNO
● Arduino IDE
● Ultrasonic Sensor
The Arduino IDE uses a simplified version of C++, making it easier to learn to prog
Ultra Sonic Sensor
The HC-SR04 ultrasonic sensor uses SONAR to determine the distance of an object just like
the bats do. It offers excellent non-contact range detection with high accuracy and stable
readings in an easy-to-use package from 2 cm to 400 cm or 1” to 13 feet.
The operation is not affected by sunlight or black material, although acoustically, soft
materials like cloth can be difficult to detect. It comes complete with an ultrasonic transmitter
and receiver module. We will see the distance measured by the sensor in inches and cm on
the Arduino serial monitor.
Light Dependent Resistor
The working principle of an LDR is photoconductivity, A photoresistor (also known as
a light-dependent resistor, LDR, or photo-conductive cell) is a passive component that
decreases resistance with respect to receiving luminosity (light) on the component's
sensitive surface. The resistance of a photoresistor decreases with an increase in incident
light intensity
Unlike a thermistor, the TMP36 does not have a temperature-sensitive resistor. Instead, this
sensor uses the property of diodes; as a diode changes temperature the voltage changes with it
at a known rate. The sensor measures the small change and outputs an analog voltage
between 0 and 1.75VDC based on it.
Potentiometer
A potentiometer is a simple knob that provides a variable resistance, which we can read
into the Arduino board as an analog value. In this example, that value controls the rate at
which an LED blinks.
We connect three wires to the Arduino board. The first goes to ground from one of the
outer pins of the potentiometer. The second goes from 5 volts to the other outer pin of the
potentiometer. The third goes from analog input 2 to the middle pin of the potentiometer.
LCD 16*2
An LCD (liquid crystal Display) Screen is an electronic display module and has a wide range
application. A 16x2 LCD display is a very basic module and is very commonly used in
various devices and circuits. A 16x2 LCD means it can display 16 characters per line and
there are 2 such lines. In this LCD each character is displayed in a 5x7 pixel matrix. The 16 x
2 intelligent alphanumeric dot matrix display is capable of displaying 224 different characters
and symbols. This LCD has two registers, namely, Command and Data.Command
registerstores various commands given to the display. The data register stores data to be
displayed. The process of controlling the display involves putting the data that form the
image of what you want to display into the data registers, then putting instructions in the
instruction register.
Arduino Simulation Software
Arduino is an open-source electronic prototyping platform that also sells microcontrollers.
Tinkercad Circuits allows anyone to virtually create and program Arduino projects without
the need for physical hardware. Tinkercad is a free online collection of software tools that
help people all over the world think, create and make. Tinkercad is a free, easy-to-use app
for 3D design, electronics, and coding. It's used by teachers, kids, hobbyists, and designers
to imagine, design, and make anything.
1.Economic Feasibility:
The whole practical setup is too cheap with reference to its working. The amount of energy
saved by the setup would certainly be far more than the setup itself. If at all any expense is
incurred, then it probably would be commodity hardware. But that still makes it
inexpensive.
2.Technical Feasibility:
The technical requirement for the system is very economic and it does not use any other
additional hardware and software. Every software used is free of cost for pseudo-distributed
mode.
Behavioral Feasibility:
The system working is quite easy to use and learn due to its simple but attractive interface.
User requires basic knowledge of Arduino Programming.
CHAPTER NO: 4
EXPERIMENTAL SETUP
● Step 1: First we must have our Arduino board (we can choose our favorite board)
and a USB cable. In case we use Arduino UNO, Arduino Duemilanove, Nano,
Arduino Mega 2560, or Diecimila, we will need a standard USB cable (A plug to B
plug). In case we use Arduino Nano, we shall need an A to Mini-B cable instead.
After our Arduino IDE software is downloaded, we need to unzip the folder. Inside the
folder, we can find the application icon with an infinity label (application.exe).
Double-click the icon to start the IDE.
● Step 5 − Open first project
● Step 6 − Select Arduino board
any compilation error.B − Used to upload a program to the Arduino board. C − Shortcut
F − Serial monitor used to receive serial data from the board and send the serial data
to the board.
After installation of the Arduino IDE, we need to make the appropriate circuit
using Tinkercad.
The following image shows the whole setup of the project:
The above circuit diagram shows the experimental setup of the project. This diagram is made
using Tinkercad for verification of the proper implementation of the program. The circuit
consists of an Arduino, 3 UltraSonic sensors, 1 light-dependent resistor (LDR), 4 LED bulbs,
and a breadboard.
Chapter 5
METHODOLOGY
In order to calculate the distance between the sensor and the object, the sensor measures
the time it takes between the emission of the sound by the transmitter to its contact with
the receiver. The formula for this calculation is D = (1/2)T*C.
Where T, is the time taken by the pulse to return at receiving point. and C is the
speed of sound in cm/microsecond (C=0.03475)
The sensor returns the duration (T) of data type unsigned long.
Distance Measurement:
Working of TMP36:
The TMP36 temperature sensor is an easy way to measure temperature using an Arduino.
The sensor can measure a fairly wide range of temperature (-50°C to 125°C), is fairly
precise (0.1°C resolution), and is very low cost, making it a popular choice. Unlike a
thermistor, the TMP36 does not have a temperature-sensitive resistor. Instead, this sensor
uses the property of diodes; as a diode changes temperature the voltage changes with it at
a known rate. The sensor measures the small change and outputs an analog voltage
between 0 and 1.75VDC based on it. To get the temperature we just need to measure the
The schematic circuit was implemented using Tinkercad which provides an excellent
simulation of Arduino codes. The code is written in the Arduino IDE according to the pins
connected in the circuit. The code is then uploaded to the Tinkercad for simulation. The
simulation is the same as was expected. The serial monitor is giving the reading of the LDR
sensor which has a limit of 800. This means the sensors will work only when LDR is giving
an analog reading greater than 800. Otherwise, no LED will glow and no sensor will work.
Analog reading of LDR depends on the intensity of light falling on it. In the condition of
high-intensity light, the A0 reading will be LOW and LEDs will not work. They will work
only when the A0 reading is high and any object is present before the sensor.
The expected simulation is shown in the image below:
The schematic circuit for the temperature measuring device was also
implemented using Tinkercad. And similarly, the code is written in the Arduino
IDE according to the pins connected in the circuit. The code is then uploaded to
the Tinkercad for simulation. The simulation is the same as was expected. Here,
the temperature sensor sends the input to the Arduino and the Arduino outputs
the corresponding temperature on the LCD screen.
CHAPTER NO:7
CONCLUSION
The issue of large energy consumption is a concern not only at a local level but also globally.
Public lighting has been named ‘the nervous system of a city’, connecting hundreds of
millions of streetlights with access to power across the globe. This constantly increasing
number has made lighting responsible for a staggering 19% of global electricity usage and is
contributing towards the already exceeding levels of CO2 emissionsThe cost of operating
automatic solar street lights is far less when compared to conventional street lights. The
automatic street light system is eco-friendly & hence helps in reducing the carbon footprint.
➔ The street light system will change such that light will glow only when someone is
in defined proximity with that light.
➔ This project would lead to a more sustainable and efficient street light system as
huge amounts of electricity can be conserved as a consequence of this project.
➔ Electricity conserved using this system can then be supplied to other places having
scarcity of it.
➔ Street Light maintenance costs will be reduced.
➔ This will lead to a reduction in CO₂ emission.
➔ As lights will only glow in the presence of passersby, there will be a
reduction in light pollution as well. This will lead to the reduction of
manpower
CHAPTER NO:8
FUTURE WORKS
developing world where everything is based on electricity. That’s why it’s Smart cities
are becoming a necessity of the modern mandatory to implement this project. This
project will not only save a huge amount of energy but after getting power supply from
the solar system, it will become self-reliant also.
For future work, we intend to do the following:
● Along with the automatic switching of street lights, we plan to change the intensity
of light bulbs depending on the distance of objects from them
● We also plan to add a system for checking the air pollution level to the
existing project.
APPENDIX A
Arduino code for the Street light circuit arrangement:
#defineled 1 11
#defineled_2 3
_speed = 0.034;
digitalWrite(trig_1, LOW);
delayMicroseconds(2);
digitalWrite(trig_1,HIGH);
delayMicroseconds(5);
digitalWrite(trig_1,LOW);
duration =
pulseIn(echo_1,
HIGH); _time =
duration / 2; distance =
_speed*_time;
//Serial.println(distance
{ digitalWrite(led_1, HIGH);
digitalWrite(led_2, HIGH); }
else
{digitalWrite(led_
1,LOW)
;
//digitalWrite(led_2,LOW);
void ultra_sonic_2( )
digitalWrite(trig_2,
LOW);
delayMicroseconds(2);
digitalWrite(trig_2,HIG
H);
delayMicroseconds(5);
digitalWrite(trig_2,LOW
);
duration =
pulseIn(echo_2,
HIGH); _time =
duration / 2; distance =
_speed*_time;
//Serial.println(distance
);
if(distance < 200)
{ digitalWrite(led_2, HIGH);
digitalWrite(led_3, HIGH); }
else
digitalWrite(led_2,LOW);
//digitalWrite(led_3,LOW);
}
void ultra_sonic_3( )
delayMicroseconds(2);
digitalWrite(trig_3,HIGH);
delayMicroseconds(5);
digitalWrite(trig_3,LOW);
duration =
pulseIn(echo_3,
HIGH); _time =
duration / 2; distance =
_speed*_time;
//Serial.println(distance
);
{ digitalWrite(led_3, HIGH);
digitalWrite(led_
4, HIGH); } else
{ digitalWrite(led_3,LOW);
digitalWrite(led_4,LOW)
}
} void
setup( )
Serial.b
egin(96 00);
pinMod
e(led_1,
OUTPU T);
pinMod
e(led_2,
OUTPU
T);
pinMod
e(led_3,
OUTPU
T);
pinMod
e(led_4,
OUTPU
T);
pinMod
e(trig_1
OUTPU
T);
pinMod
e(echo_
1,INPU
T);
pinMod
e(trig_2
,OUTP
UT);
pinMod
e(echo_
2,INPU
T);
pinMod
e(trig_3,
OUTPU
T);
pinMod
e(echo_
3,INPU
T); }
void loop( )
Serial.println(analogRead(A0));
if(analogRead(A0)>800) {
ultra_soni
c_1( );
ultra_sonic_2(
);
ultra_sonic_3(
); } else
{ digitalWrite(led_1,LOW);
digitalWrite(led_2,LOW)
;
digitalWrite(led_3,LOW)
digitalWrite(led_4,LOW)
Circuit arrangement
// C++ code
//
#include<LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
float temp; int tmp = A1;
void setup()
{ pinMode(tmp,
INPUT
); } void
loop()
{ temp = analogRead(tmp) *
lcd.print(temp); delay(1000);
lcd.clear();
REFERENCES
Ramadhani, K. A. Bakar and M. G. Shafer, "Optimization of standalone street light system
with consideration of lighting control," 2013 The International Conference on
Technological Advances in Electrical, Electronics and Computer Engineering (TAEECE),
2013, pp.
583-588, DOI:
10.1109/TAEECE.2013.6557340.
[1] R. D.K, "Arduino Based: Smart Light Control System," International Journal of
Engineering Research and General Science, 2016.
[2] P. T. Daely, H. T. Reda, G. B. Satrya, J. W. Kim and S. Y. Shin, "Design of Smart LED
Streetlight System for Smart City With Web-Based Management System," in IEEE
Sensors Journal, vol. 17, no. 18, pp. 6100-6110, 15 Sept.15, 2017, DOI:
10.1109/JSEN.2017.2734101.
(3).pdf (ijesc.org)
[14]Software Simulator:
Link:https://www.tinkercad.com/things/ivS3XMtJjVI-tremendous-wolt-
inari/editel?tenant=ci rcuits
PROJECT LINK
1. SMART STREET LIGHT SYSTEM
https://www.tinkercad.com/things/e1DGjSqjjI9-smart-
street-light-system/editel?sharecode=g
ZurlbTDOsSu3uWnbe-
FpKvXGQKZ1bCFb2oPpc6FNz8