component required.
1. arduino uno
2. light dependent resistor,
3. 15 k resistor
4. 330 ohm resistor
5. jumpers
6. breadboard
automatic night lamp is an electronic circuit which turn itself on at night time and turns off at day time. the sensor used here is called ldr. the resistance value of ldr increases in night time and decreases in day time.