![]() ![]() ![]() Try to add a 1602LCD, relay module and other to show the data you measured. If no movement, D13 indicator on UNO board not lights, and "No one!" is displayed on the serial monitor. If(state = 1)Serial.println("Somebody is in this area!") Įlse if(state = 0)Serial.println("No one!") ĭone wiring and powered up, upload well the code, if the sensor detects someone moving nearby, D13 indicator on UNO board will light up, and "Somebody is in this area!" is displayed on the serial monitor. Optical Sensor Modules Passive Infrared Sensor (PIR) Sensor Module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |