Logs PIR data to Adafruit.io.
- Make a copy of
scripts/config_example.py
and rename it toscripts/config.py
- Fill in your
WiFi credentials
,Adafruit Configs
andPIR Configs
. - Upload the code to LoPy.
LoPy | PIR Sensor |
---|---|
G10 (or any pin specified in config.py) |
Data |
Vin |
VCC |
GND |
GND |