|
arduino IDEArduino
|
Motion Detection Light | Automatic light Project
Hey guys, today we are going to make an automatic motion detector light which can be use at many places such as home, offices school. usually this type of light use in the washrooms. also this type of light can be available in the market eailsy but in thsi article we are teaching you to make this motion detector light which can be cost free or we can say it is cheaper than the market light. the circuit can be apply with any of the light such as small bubl of any led.
Introduction:-
when the light detect the motion then it trigger the relay and the light will turn on. so, if we place this light into the washroom it conticnuosly detect our motion and movement. if there any movement occours then it will send the information to the system to turn off the light. even the sensor can also read your small movement like you hand , eyelid and fingers too.
Automatic motion detector light which we are making is capable to monitor the 360 degree movement around it. so, feel free when you use it.and the sensor whcih we are using that is microwave sensor is very sensitive and accurate. so, it can easliy sensor any movement of any person. there are two project with same working and principle but different sensor. some people use pir motion sensor to make this automatic motion light. but we are using Microwave sensor WL0516. which is more accurate.
Material Required:-
- arduino uno
- breadboard
- jumper wires
- microwave sensor WL-0516
- single channel relay module
Working
as we are using the microwave sensor in this project which is capable to detect a very little motion around it. It sense some microwave and according to the disturbance in the wave it can detect the motion. then the sensor sends this information to the Arudino which is the brain in this project. After getting the information from the sensor it will calculate or compare the value in processing and according to the given condition in the code it will sends the instruction to the interfacing device which is connecting via relay. Relay is working here like a automatic swictch. Automatic switch turn on and off the bulb according to the code and circuit.
the working of this project is pretty simple you can learn and make it by your own.
int val = 0 ;
void setup()
{
Serial.begin(9600); // sensor buart rate
pinMode(2,INPUT); // RCWL MicroWave sensor output pin connected to D2
pinMode(7,OUTPUT); // led pin
pinMode(10,OUTPUT); // Relay PIN
digitalWrite(10,HIGH); // Relay Normaly OFF
}
void loop()
{
val = digitalRead(2); // RCWL MicroWave output pin connected
Serial.println(val); // see the value in serial monitor in Arduino IDE
delay(100);
if(val == 1 )
{
digitalWrite(7,HIGH); // LED ON
digitalWrite(10,LOW); // Relay ON
}
else
{
digitalWrite(7,LOW); // LED OFF
digitalWrite(10,HIGH); // Relay OFF
}
}
Motion Detection Light | Automatic light Project
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Shahid
- Smart Dustbin Using Arduino | Self Open Dustbin Hey guys welcome back to the PCBWAY. we are back again with a very cool project. In this project we ...
- Air purifier using Arduino | DIY Air purifier Hey Guys, welcome back again and this time i have a very useful and important project here. This is ...
- Automatic plant watering system Hey guys, welcome back to PCBWAY. Today we are making a very useful project which can help you in yo...
- Motion Detection Light | Automatic light Project Hey guys, today we are going to make an automatic motion detector light which can be use at many pla...
-
Build a Walking Robot: Theo Jansen Style 3D Printed Octopod
171 0 4 -
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
145 0 0 -
DIY Laser Power Meter with Arduino
228 0 3 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
193 0 2