. SmartElectronicsDIY: Arduino projects Automatic street light Arduino Arduino LDR project Arduino beginner project Smart street light Arduino Arduino with sensor

Automatic Fire Detection Suppression System(Arduino Uno | Embedded + Safety System)

This system automatically detects fire using flame and smoke sensors and activates a water pump to suppress it. At the same time, it triggers an alarm and can send alerts (optional GSM/IoT).

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Showing posts with label Arduino projects Automatic street light Arduino Arduino LDR project Arduino beginner project Smart street light Arduino Arduino with sensor. Show all posts
Showing posts with label Arduino projects Automatic street light Arduino Arduino LDR project Arduino beginner project Smart street light Arduino Arduino with sensor. Show all posts

Arduino Automatic Street Light Project (With Circuit & Code)

Project Name

Automatic Street Light Using Arduino and LDR


๐Ÿ“Œ Introduction

In this Arduino project, we will make an Automatic Street Light System using an Arduino UNO and an LDR (Light Dependent Resistor).
The light turns ON automatically at night and OFF during daytime.
This project is widely used in smart cities, energy saving systems, and home automation.


๐Ÿง  Working Principle

  • LDR senses sunlight

  • When light is high (day) → Resistance of LDR is low → LED OFF

  • When light is low (night) → Resistance of LDR is high → LED ON

  • Arduino reads LDR value and controls the LED automatically


๐Ÿงฐ Components Required

ComponentQuantity
Arduino UNO1
LDR (Light Sensor)1
LED1
220ฮฉ Resistor1
10kฮฉ Resistor1
Breadboard1
Jumper WiresAs required
USB Cable1

๐Ÿ”Œ Circuit Connections

๐Ÿ“ LDR Connections

LDR PinConnection
One leg5V
Other legA0 + 10kฮฉ to GND

๐Ÿ“ LED Connections

LED PinConnection
Anode (+)Digital Pin 9
Cathode (–)220ฮฉ Resistor → GND

๐Ÿงพ Arduino Code

int ldrPin = A0; int ledPin = 9; int ldrValue = 0; void setup() { pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { ldrValue = analogRead(ldrPin); Serial.println(ldrValue); if (ldrValue < 400) { // Night condition digitalWrite(ledPin, HIGH); } else { // Day condition digitalWrite(ledPin, LOW); } delay(500); }

⚙️ How to Upload Code

  1. Open Arduino IDE

  2. Select Board: Arduino UNO

  3. Select correct COM Port

  4. Paste the code

  5. Click Upload

๐ŸŽฏ Advantages

✔ Saves electricity
✔ Fully automatic
✔ Low cost
✔ Easy to build
✔ Beginner friendly


๐Ÿ“Œ Conclusion

This Arduino Automatic Street Light Project is simple, useful, and perfect for students and beginners. It helps understand sensors, analog input, and automatic control systems.