Arduino Light Sensor Wiring Diagram. Setting Up The Servo. Moreover the onboard LED which is connected with D13 pin of Arduino also turns on.
The output pin of LM35 is connected to Analog Input 0 ie A0. The lower the value displayed the lower the light hitting the sensor. Now whenever there is a motion in front of the RCWL0516 microwave sensor it will detect the sensor and display the Movement detected message on the Arduino serial monitor.
Its like Dark and light Detector circuit but this time we are using Arduino to get more control over light.
Learn how to use motion sensor to control LED. As more light hits the sensor the higher the value will be. Learn how to use motion sensor to control relay motion sensor triggers light. Learn how to use motion sensor to control LED.