why do you need the arduino ? , you can just use a transistor or a mosfet with the PIR sensor
@MKinventionsMadhanChiruguri9 ай бұрын
Yes we can, but along with PIR sensor i am using ultrasonic sensor for object detection with in the range and using the timers to turn off the relay after few seconds if no object or motion is detected.