Smart Light Lamp

by prayag nao in Circuits > Arduino

1441 Views, 9 Favorites, 0 Comments

Smart Light Lamp

Screen Shot 2017-01-11 at 2.01.14 pm.png

Today I am taking in account a common problem of daily life. When we wake up by alarm in morning or when every you get up, we have to turn on lights of room manually. It is somewhat difficult to press button of Light bulb in dark, it is very frustrating. I have solved this problem just by using a basic technology, by this technology Light Lamp will switch on when our mobile’s alarm rings and switches off when Light bulb of room turned on, we can also control this lamp manually by mobile phone. So let’s start……

Things You Will Need for Circuit

330_ohms_5%_axial_resistor.jpeg
A000066_iso_grande.jpeg
BT-136.jpeg
CFR-25JB-1K0.jpeg
img_1913.png
large_330_BT136-1.jpeg
IMG_20170107_182230_HDR.jpg
IMG_20170107_182110_HDR.jpg
moc3021__76798.1352662508.1280.1280.jpeg

1. Arduino Uno.

You can buy from here

2. HC-05 (Bluetooth).

You can buy from here

3. MOC 3021 IC.

You can buy from here

4. BT 136.

You can buy from here

5. LDR (Light Dependent Resistance).

6. A 330 ohm and 1K ohm resistance.

7. Some Connecting wires.

8. A 5/12 Volts power adaptor.

9. A PCB.

10. A USB Soldering machine.

You can buy from here

I advise to buy this USB soldering machine bcz it gives very good precision and very short active time.

11. 1-3 meter long electric wire.

12. Bulb holder.

13. An AC powered bulb (LED bulb preferred).

Things You Will Need for Light Lamp

56e06db64b9c4.jpeg
0007150_natraj_small_cutter.jpeg
img_1703.jpeg
8273c1b4-80b0-4de5-88d7-34689054d2bb.jpeg
61b7_swingline_stapler.jpeg

1. Two rectangular cardboard boxes.

2. A glue and cutter (buy).

3. A scale (For precision) and a black marker.

4. Some A4 sized paper or you can use anything whatever you want (Glass, Paper etc.)

5. Any type of decorative material.

6. A duct tape.

7. A stapler.

Lamp Box Making

How to make a night lamp
IMG_20170103_181221.jpg
IMG_20170103_181230.jpg

Follow the steps give in Video. My lamp was made of different box as shown in picture. you can make this according to your own choice.

IMG_20170103_181303_HDR.jpg
IMG_20170103_181320_HDR.jpg
IMG_20170103_181351_HDR.jpg

Now make a base for your lamp, you can follow instructions given in above video or you can make your own stand. You can take any rectangular/square cardboard. Make a hole in the base and a hole in the lid and pass electric wire through it as shown in figure.

IMG_20170103_181529_HDR.jpg

Now just do connection of bulb holder and stick it with top to cover of cardboard

As shown in figure.

IMG_20170108_171806_HDR.jpg
IMG_20170108_171943_HDR.jpg

Now take LDR and make two hole of size of LDR on the top of a corner of Lamp and connect resistor in series as shown in photo.

This LDR will detect light and will control the lamp.

Circuit Development

IMG_20170107_182459_HDR.jpg
Untitled.png

Take a PCB, a USB soldering machine and make the given a circuit.

Connections

IMG_20170108_175138_HDR.jpg
IMG_20170108_175839_HDR.jpg
IMG_20170108_181031_HDR.jpg

Now just connect wires to LDR and insert these wires into base by making a hole.

Now just connect all circuit properly and fit it into base box as shown in pictures.

open your 12volt adaptor and connect to incoming electric wire.

Programming

Screen Shot 2017-01-13 at 7.30.59 pm.png

Now you have to upload a program to arduino Uno.Just download given programming below and upload to arduino uno.

Download program: Click Here

Application

WhatsApp Image 2017-01-13 at 5.16.14 PM.jpeg

Now this phase we have to develop an app for controlling the lamp. You can download this app from give link or you a can make your own app, if you want to make your own app comment below I will send you the code.

Download App from Here: Download

From this app you can switch on bluetooth and lamp and you can control lamp intensity.

Yeah!

IMG_20170109_215348_HDR.jpg
IMG_20170109_215359_HDR.jpg

Now you have done at all, you just need to connect mobile to you lamp and enjoy…