LDR light controller
LDR light controller using arduino mega
This is a series of simple projects aimed at getting started with Arduino. This will cover most of the important peripherals of the Arduino starting from simple Digital I/Os to ADC and communication interfaces etc.
In the first set of projects the following are included. They are basically about the Digital I/Os and ADC on the arduino.
1.LED BLINKING
2.LED ON using push button
3.AC BULB ON using push button
4.Running LED'S
5.Running LED'S when button pressed
6.LED ON/OFF using two buttons
7.LED BLINK with adjustable delays
8.POTENTIOMETER as ADC input display serial monitor
9.LDR light controller
10.LED ON/OFF USING PIR SENSOR
11.Temperature controller
In this experiment we are going to see
LDR light controller:
connect the LDR as analog input to the pin A0.
and the AC bulb using a relay which is connected to pin 50 and 5V power supply and ground.
when the room is dark the AC bulb turns on or else the bulb turns off