Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rpidanny/lopy-pir
Log PIR Data to Adafruit.
https://github.com/rpidanny/lopy-pir
circuitpython iot lopy micropython pir-sensor python
Last synced: about 22 hours ago
JSON representation
Log PIR Data to Adafruit.
- Host: GitHub
- URL: https://github.com/rpidanny/lopy-pir
- Owner: rpidanny
- License: mit
- Created: 2020-07-13T17:45:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T19:22:47.000Z (over 4 years ago)
- Last Synced: 2024-12-06T21:33:47.155Z (16 days ago)
- Topics: circuitpython, iot, lopy, micropython, pir-sensor, python
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoPy PIR
Logs PIR data to [Adafruit.io](https://io.adafruit.com/).
## Usage
- Make a copy of `scripts/config_example.py` and rename it to `scripts/config.py`
- Fill in your `WiFi credentials`, `Adafruit Configs` and `PIR Configs`.
- Upload the code to LoPy.## Wiring
| LoPy | PIR Sensor |
| :---------------------------------------- | :------------ |
| `G10` (or any pin specified in config.py) | `Data` |
| `Vin` | `VCC` |
| `GND` | `GND` |