Hi friends, How are you? I hope you are fine. Have you seen Automatic lights on houses and Some offices, it's cool right. These stuff will save power when nobody is in the room and also it will change our home to smart automated home.
The reason I came up with this tutorial is, two days ago I found one in a local store. But its cost 50$. Little bit expensive for me. So I decided to make one. I just took 3 hours to design and make one. Its really simplest DIY automatic light ever! It also costed me about 5$ to buy all the parts (the AC bulb is lying around in my home). If you have a free 1 hours of time and need your home lights up automatically when anyone enter the room.
This tutorial is definitely for you. You just need some cheap parts from a radio shack or online stores. So, what are you waiting for, lets get started.
Step 1: Collect the partsNow in this step we need to collect some parts to do this DIY automatic light. I bought almost all parts from local store, also made some modules myself you can make one (I will give the links to my tutorial its really low cost to make). So, here the list of the parts you need to collect :
Hardware
- PIR motion sensor
- 5v Relay module(If you need to make one yourself click here.)
- Mini breadboard.
- Jumper wires(male to male and female to male)
- Ac bulb
- LM7805
- 10mf capictor(2nos)
- IN4001 diode
- LED (green)
- 220ohms resistor
After collect every parts lets jump to next step!
Step 2:We are almost done. Before implementing the circuit to your house, we need to check if it is working or any problem with circuit even a wrong connection. Here we are going to use a 5 volt regulator that we mentioned in the last step before! If you give more than 5 volt to the PIR motion sensor, it will get damaged. So, remember 5 volt is the maximum voltage for the PIR motion sensor. I USED MY DIY 5 volt REGULATOR, YOU CAN USE ONE IF YOU HAVE. ELSE MAKE IT ALONG WITH THE CIRCUIT SCHEMATICS. Give the power to the circuit.
NOTE: don't connect the Ac bulb to the relay module this time. Now turn ON the circuit. Check the motion sensor working by put your hand in front of the sensor. Just wait for a 4 second (there will be a delay if the sensor working at low sensitivity,we can adjust later) if the relay module turning ON (a switching sound, and the LED light up) If not suddenly turn OFF the power and check for any wrong connections. If found one, then correct it and also double check once more. Then re power the circuit and test the motion sensor works (if not some thing wrong with your sensor, recommend to change the sensor). If it works, WE MADE IT guys!!
Step 4: Connect the bulb to the relay moduleWe finished everything, now it is the time for connecting the bulb to the relay module as shown in the above schematic diagram. Connect the power supply, then turn ON the circuit and test it as we did in the last step. If there is any delay in Sensing of PIR sensor just adjust the to potentiometers on the PIR sensor !IF EVERYTHING WORKS FINE WE DONE !!!!!!!!!!
Step 5: Custom PCB for automatic light (optional)This step is completely optional! If you like this module very much you, probably like it because it is simple to make, cheap etc. I am not explaining the tools needed to make the PCB because its really simple, every one knows how to solder a PCB. So, we can make our own PCB. We can make this module on PCB in two way.
TOOLS NEEDED TO MAKE PCB
- General purpose PCB(optional if you make your own custom pcb).
- Copper clad(optional if you make it in a general purpose pcb)
- Soldering iorn.
- Soldering flux.
- Soldering wire.
- Hookup wire.
GENERAL PURPOSE PCB(optional if you make a Custom PCB using copper clad) We can simply make this on a general purpose PCB.
- Take a general purpose PCB the clean well.
- After that , rub some soldering flux on it.
- Then mount the components,and solder it.
- Connect all components each other like in the circuit schematics using hookup wires.
- Then test the PCB.
NOTE : Double check for any short circuit and wrong connection before use it.
PRINTED CIRCUIT BOARD USING COPPER CLAD.
Now if you like to make your own printed circuit board, if you don't know how to etch a PCB, then watch the video tutorial here.
- After watching the tutorial download the software called fritzing(we using this software to design the pcb)
- After download and install the software download below file called pir_sensorpcb.fzz(it is the pcb design)
- Then open it with fritzing
- Then to print the pcb do as like you saw in the tutorial.
- After a good etching the PCB use 0.8mm or 1mm to drill the PCB.6. Then mount the components simply solder it.7. check for any short circuit and breaks in traces before use it.So guys we made the Diy automatic light on a PCB , now it is durable and long lasting.
We made it guys everything works fine. Now just mound it your living room or bread board, else any where you want. See the demo video, you can also work anything with this module even TV, washing machine, coffee maker etc. The opportunities never ends. Even you can mount it in your car, and when you are sitting in the driver seat the car will automatically start. Else it will not start. Cool thing, right guys? See you in the next projects!
Comments