Introduction: Light Sensitive Lamp

About: I am an undergraduate student pursuing B.Tech in EEE(Electrical and Electronics Engineering).I am passionate about creating new stuffs using technology and hungry to learn more and more.

This is a project wherein we going to build a light sensitive lamp.

The lamp switches on whenever there is a decrease in surrounding light and switches off when the light in your surrounding becomes sufficient enough for our eyes to see things around. A light dependent resistor (LDR) will help us sense the intensity of light.

These lamps could be used on street lights which can automatically cutoff during daytime. You can also deploy it in your home outside lights.

Step 1: Components Required

You will need the following materials for making your own light sensitive lamp

>Arduino Uno

>2 channel relay(1 channel relay would also work fine)

>LDR(Light Dependent Resistor )

>Jumper wires

>Breadboard

>Bulb

>2 Pin plug

>100k resistor

>screw drivers

Step 2: Connect High Voltage Device ( BULB ) With the ARDUINO

We make use of a Relay(an electromagnetic switch)which provides isolation between the high (the BULB) and low (the ARDUINO) voltage circuit.

Make the circuit connections as follows

COM terminal (relay) => Supply from mains

NO terminal (relay) => Supply line to bulb

VCC ( relay ) => 5V (arduino)

GND (relay) => GND (arduino)

IN1 (relay) => D8 (arduino)

Make sure you have color wise arrangement as in the image.

Step 3: Connect the LDR to Arduino

>Give 5V supply to one of its terminal.

>Connect one 100k resistance in series to the terminal supplied with 5V.

>From the same node make a connection to A0 on the arduino.

>Ground the resistor and other terminal of the LDR.

Step 4: Connect the BULB to the Relay

Since this project deals with high voltage.

It is advised to work with great caution.

Incorrect or improper use can cause injuries or physical damage to devices.

Step 5: Upload Sketch

Download the sketch and upload it to your Arduino Uno from the IDE

Step 6: Watch Tutorial

I hope that you found this instructable useful.

You can also watch the video on light sensitive lamp here.

If you have any queries, feel free to discuss in comments.