Solar Lights Auto OnOff and Home Automation with an Arduino Uno and LDR Module A Simple Guide: Automatic street light control is used to control the street lights(Turn on and off based on the light). Here we make use of LDR(Light Dependent Resistor) and LED(Light Emitting diode) and arduino. Hard Ware Components Required: 1) LDR 2)LED 3)4.7k Resistor 4)Bread Board 5)Connecting wires 6)Arduino LDR is used to detect the light, Arduino is used to on/off the Light. Hardware Connections.- Arduino 3rd pin connected to LED +ve Arduino GND connected to LED -ve through 4.7k Arduino +5v is connected to LDR One End Arduino A0 pin is connected to LDR other end Arduino GND is connected to LDR other end with 4.7k Arduino Step 1: Programming, Compiling and Uploading to Arduino // Program related to LDR and LED interfacing to Arduino #include <SoftwareSerial.h> int sensorPin = A0; // select the input pin for the LDR int sensorValue = 0; // variable to store the value coming from the sensor int l...
Learn how to use Arduino & various sensors for college & school projects. Discover new electronics applications & tips on using Raspberry Pi. Explore the possibilities of building projects like home automation, temperature control and more. Use your knowledge of computer & smart phone to enhance the functionality of your projects