• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Automatic Street Light Circuit using Arduino

Automatic Street Light Circuit using Arduino

Last updated on 5 November 2025 by Admin-Lavi Leave a Comment

This project for Automatic Street Light Circuit using Arduino how street light can think smart.

Light will turn ON when night come.

Light will turn OFF when sun come.

No need of a human to press switch.

Arduino and LDR do all work automatic.

It save power and make street more smart.

Simple idea but very useful for city and village both.

Arduino Coding:

int sensorPin = A0;
int ledPin = 13;
int sensorValue = 0;

void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
if(sensorValue < 500) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
delay(100);
}

Coding Explanation:

  • A0 pin reads value from LDR sensor.
  • If value is less than 500 means dark and LED turns ON.
  • If value is more than 500 means light and LED turns OFF.
  • Serial monitor shows light level in number.
  • Delay gives small pause between readings.

Circuit Working:

Automatic Street Light Circuit Diagram using Arduino

Parts List:

Component NameQuantity
Resistors 10k and 330Ω1 each
LDR1
Arduino UNO1
LED any color1

In the above circuit diagram.

LDR changes its resistance with light.

In bright light resistance is low and gives high voltage to Arduino.

In dark the resistance is high and voltage becomes low.

Arduino reads this change and controls LED.

LED now has one extra resistor 330Ω.

This resistor just controls LED brightness and saves it from damage.

When it is night the light glows.

And when it is day the light goes OFF automatically.

Formula with Calculation:

LDR and resistor make a voltage divider.

Vout = (R2 / (R1 + R2)) × Vin

here,

  • R1 is LDR
  • R2 is 10k resistor.

This formula gives voltage at A0 pin.

For LED we can calculate resistor value using:

R = (Vsource – Vled) / Iled

here,

  • Vsource is 5V
  • Vled is 2V for red LED
  • Iled is 10mA is 0.01A

R = (5 – 2) / 0.01 = 300Ω

So nearest standard resistor used in this circuit is 330Ω.

How to Build:

To build a Automatic Street Light Circuit using Arduino follow the below steps:

  • Gather all the parts as shown in circuit diagram.
  • LDR one end connect to 5V of Arduino.
  • Other end of LDR connect to A0 pin and one side of 10k resistor.
  • Other side of 10k resistor goes to GND.
  • LED positive leg connect to pin 13 through 330Ω resistor.
  • LED negative leg goes to GND.
  • Arduino powered by USB or adapter.

Conclusion:

Automatic Street Light Circuit using Arduino saves power.

It works without human help.

Its useful for highways, gardens and streets.

Arduino makes control simple and automatic.

System works day and night based on light sensor.

References:

AUTOMATIC STREET LIGHT CONTROLLING ARDUINO SYSTEM USING LDR

Filed Under: Arduino Projects, LDR Circuits, LED and Lamps

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Smart Street Light Control Circuit
Next Post: IR Transmitter and Receiver Circuit using 555 and 4017 IC »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • Alarm Circuits (35)
  • Amplifier Circuits (67)
  • Arduino Projects (66)
  • Audio Circuits (101)
  • Automobile Circuits (19)
  • Battery Charger Circuits (54)
  • Free Energy (13)
  • Heater and Temperature Controllers (11)
  • High Voltage (1)
  • Indicator Circuits (44)
  • Inverter Circuits (16)
  • LDR Circuits (24)
  • LED and Lamps (131)
  • Meters and Testers (30)
  • Motor Controllers (19)
  • Oscillator Circuits (35)
  • Power Supply Circuits (94)
  • Remote Control Circuits (8)
  • Security and Protection (26)
  • Sensors and Detectors (100)
  • Solar Circuits (23)
  • Timer Circuits (33)
  • Transistor Circuits (68)
  • Transmitter Circuit (15)
  • Tutorials (8)
  • Water Level Controller (4)

Recent Posts

  • IR Transmitter and Receiver Circuit using 555 and 4017 IC
  • Automatic Street Light Circuit using Arduino
  • Smart Street Light Control Circuit
  • Obstacle Detection Circuit with 555 Timer and Ultrasonic Sensor
  • Digital Dice Circuit using Arduino Uno

Recent Comments

  1. Henrik Arboe Jensen on Adjustable Voltage, Current Power Supply Circuit using Transistor 2N3055
  2. Admin-Lavi on FM Transmitter Circuit (100 meters range)
  3. DEVINDER SINGH on FM Transmitter Circuit (100 meters range)
  4. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  5. Bill on Constant Voltage, Constant Current Battery Charger Circuit

Copyright © 2025 | New Circuit Ideas