Let us do something fun during this weekend shall we? Something less costly and easy for everyone to do. This time, why don't we play with lights? Let us build a cool blue Automatic Lights just like neon, that will turn on when you walk into the room and turn off when you walk out.
In this post, I will explain how to build an Automatic Lighting System using Arduino and a PIR sensor, that will turn on when you walk into the room and turn off when you walk out.
Sponsor LinkUTSource is a professional electronic components supplier.
We will be using a clone of arduino nano which is really cheap to read the output of PIR sensor and trigger the LM741 IC which will be working as a comparator, to turn on the light.
This is really easy project; if you have all the components with you right now you can finish it in half an hour.
Video DemoComponents Needed- Bread Board
- PIR Sensor
- Arduino
- Connecting Wires
- LED Strip
- 12 V Power Source
PIR Sensor is a small circuit which can be used to detect IR rays emitted from an object. These sensors can detect the relative change in the intensity of infrared radiation of various objects and front of it. if there is relative change in the position of the body that is emitting infrared rays then PIR sensor gives us an output.
Usually these sensors can detect infrared rays within a range of 5 to 12 meter. they are really cheap and are easily available. They can be easily connected to various electronic circuits and micro controller board such as arduino, Raspberry Pi and other things about computers such as Orange Pi, banana Pi etc.[AdSense-C]
There are mainly three pins to this sensor. the first thing is 4 the voltage input most of the PR sensor works on 5 volt. The second pin is for ground and the third pin is for output. The output will be digital. This pin can be connected to micro controller, Raspberry Pi and we can easily create motion detectors, security systems etc.
Design your own PCBs for your Project!I used Altium designer to draw the circuit and design the PCB. It is a powerful tool that can be used to design and create our own PCBs for our project as well as complex and multi-layer PCBs for industrial use.
If you are a DIY Electronic enthusiast, I bet this is gonna be really useful for you guys. I have been using it for the past 3-4 years and let me tell you guys, this is amazing! You can download the Free Trial of Altium PCB Designer from here.
PCB Design Tutorial using AltiumCheck out the below video to start designing your own PCBs in Minutes!
So you all might be knowing what an Arduino is. simply speaking arduino is a platform which can be used to create various electronic devices easily and cost effectively. There will be a micro controller, a board where we connect the micro controller and a piece of software which can be used to upload programs to the micro controller via the board using your computer's USB port without the need of any external micro controller programmer.
You can do this project without using micro controller by employing 555 timer IC or LM741. But the reason why I am using arduino is, I will be adding more sensors such as sound sensors, IR sensors in the future so I will have to use more than one input pin, process them and then send the output to trigger the action.
TutorialTo get the block diagram, code and build one yourself, Click Here
Comments