Sample Code
Hardware Connection: Connect the PIR sensor to J1 port and the LED to J2 port in the Nezha Pro Breakout board.
Result: The LED lights on while the motion being detected by the PIR sensor or the LED lights off.
Specification
Item | Parameter |
---|---|
SKU | EF05002 |
Connection | RJ11 |
Type of Connection | Digital Output |
Working Voltage | 3.3V |