Create a Street light Project for Kids

Create a Street light Project for Kids

Overview

This project deals with a new and unique way to save human resources and save electricity across the world, using these street lights we can save a huge amount of electricity and the problem of turning the street lights ON and OFF will also be solved.

In this project we have used a Photoresistor Sensor and an LED here the sensor senses the the dark as the photo resistor sensor can sense dark and light. On sensing the dark the LED will glow automatically without any switch.

Hardware required 

  1. Arduino Uno R3
  2. Photoresistor
  3. Resistor
  4. LED
  5. BreadBoard
  6. Jumper Wires

Schematic Diagram

Fig 1.  Circuit Diagram

Arduino Code : 

const int ledPin = 9;                                                                                // led pin to 9
const int ldrPin = A0;                                                                           // ldr pin to A0

void setup() {
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT);                                                     // led pin as output
  pinMode(ldrPin, INPUT);                                                            // ldr pin as input
}

void loop() {
  int ldrStatus = analogRead(ldrPin);   

   if (ldrStatus <=300) {                                    // LDR value less than 300 is dark
    digitalWrite(ledPin, HIGH);                                                                      // LED on  
   }
  else {
    digitalWrite(ledPin, LOW);                                                                      // LED off
  }
}

Precautions

  1. Connections should be done properly.
  2. Arduino is case Sensitive so code accordingly.
  3. Give different colors to the wires.

More Posts

Coding For kids

Coding Courses for Kids Online

Our courses which are tailored for grades 1 to 12, and our hands-on curriculum seamlessly integrates, preparing students for challenges and inspiring the next generation.

Leave a Reply

Coding For kids

Coding Courses for Kids Online

Our courses which are tailored for grades 1 to 12, and our hands-on curriculum seamlessly integrates, preparing students for challenges and inspiring the next generation.

STEM Labs

STEM LAB for Schools

Looking for a cutting-edge makerspace that goes beyond traditional education? Partner with Makers’ Muse to unlock innovation and transformative learning for your students.

Coding Toys

STEM LAB for Schools

Discover a revolutionary coding journey for students with our cutting-edge educational toys. Partner with us to unlock innovative learning experiences that transcend traditional education.

Do you have questions regarding our STEM program?

Send Us A Message