This is a very advantageous yet easy to make project.
We call it " Automatic Room Light Controller ".
Benefits:-
In this project, we will see the Automatic Room Lights using Arduino and IR Sensor, where the lights in the room will automatically turn ON and OFF by detecting the presence of a human. Such Automatic Room Lights can be implemented in your garages, staircases, bathrooms, etc. where we do not need continuous light but only when we are present. Also, with the help of an automatic room light control system, you need not worry about electricity as the lights get automatically off when there is no person.
ApplicationsI’ve already mentioned a few applications of the Automatic Room Lights concept. Some of them are:
- Garage Lights
- Bathroom Lights
- Hand Dryers
- Toilet Flushers
- Security Lights
By following this guide, you will be able to know and make your Automatic Room Light Controller. This project guide contains the files necessary to help you step by step produce your own Automatic Room Light Controller. Please follow the steps of the project to get a positive result.
Step 1:- Get your PCB ready!
Talking about electronics
After making the circuit diagram I transformed it into a PCB design to produce it, to produce the PCB, I have chosen JCLPCBthe best PCB supplier and the cheapest PCB provider to order my circuit. with the reliable platform, all I need to do is some simple clicks to upload the Gerber file and set some parameters like the PCB thickness color and quantity. I’ve paid just 2 Dollars to get my PCB after five days only, what I have noticed about JCLPCBthis time is the "out-of-charge PCB color" which means you will pay only 2 USD for any PCB color you choose.
As you can see in the pictures above the PCB is very well manufactured and I’ve got the same PCB design that we’ve made for our main board and all the labels and logos are there to guide me during the soldering steps. You can also download the Gerber file for this circuit from the download link below in case you want to place an order for the same circuit design.
Step 2: Get all the Components Listed below images.
Step 3: Place all the components on PCB and solder it properly.
Step 4:- Connect the IR sensor with the help of Jumper Wire.
Step 5:- Then, Upload the code that will be provided below in Arduino Nano and connect it to the PCB.
Step 6:- Stick the PCB to the Custom designed PVC box and connect the 12 v power supply to the PCB for the input in the circuit.
Step 7:- Connect the Screw Terminal to the PCB for the relay output from the circuit.
Step 8:- Connect the IR sensor the circuit with the help of Jumper wire.
Step 9:- Cover the Box and place all the components on their respective holes.
Now, your own Automatic Room Light Controller is ready to use.
Connect the appliances with the your Automatic Room Light Controller.
Workingof this project:-
The Automatic Room Light Controller using Arduino and IR Sensor is a simple project, where the lights in the room will automatically turn on upon detecting a human motion and stay turned on until the person has left or there is no motion. Working of this project is very simple and is explained here. Initially, when there is no human movement, the IR Sensor doesn’t detect any person and its OUT pin stays LOW. As the person enters the room, the change in infrared radiation in the room is detected by the IR Sensor. As a result, the output of the IR Sensor becomes HIGH. Since the Data OUT of the PIR Sensor is connected to Digital Pin 8 of Arduino, whenever it becomes HIGH, Arduino will activate the relay by making the relay pin LOW (as the relay module is an active LOW module). This will turn the Light ON. The light stays turned ON as long as there is movement in front of the sensor. If the person takes a nap or leaves the room, the IR Radiation will become stable (there will be no change) and hence, the Data OUT of the IR Sensor will become LOW. This in turn will make the Arduino to turn OFF the relay (make the relay pin HIGH) and the room light will be turned OFF.
New users will also get some coupons while registering at JCLPCB via this blue link.
Thank you for reading this guide, hopefully, this guide provides full steps to help you to create your ownAutomatic Room Light Controller.If you have any questions please post them in the comment section below.
Comments