Arduino Sensor Interfacing (Flex sensor, IR Sensor, PIR ,BMP180, LM35, LM75 Refer below Tutorials for external sensor interfacing with Arduino - Visit for simillar projects at ...
int led = 13; // the pin that the LED is atteched to int sensor = 2; // the pin that the sensor is atteched to int state = LOW; // by default, no motion detected int val = 0; // variable to store the ...
Let me introduce another simple microcontroller-based do-it-yourself circuit that detects motion and excites a light source in a flash. The “snooper” here is an ordinary passive infrared (PIR) motion ...