|
|
||
|---|---|---|
| beams.py | ||
| README.md | ||
firLumberRally
https://pypi.org/project/python-servo-gpiod/
https://github.com/Angoosh/RockPro64-RP64.GPIO
Sensors: 4 Pairs Infrared Circuit Breaker Sensor 3mm LED Lamp Distance Sensor Counting Module DC 3-5V FOR IR Break Beam Sensor 100cm https://www.aliexpress.us/item/3256811373756571.html?spm=a2g0o.order_list.order_list_main.5.458b1802TWG0EA&gatewayAdapt=glo2usa
Currently using DietPi on the Pine 64 v3
Installed the GPIO library on the DietPi.
SCP your files onto the dietPi. SSH into the dietPi. Activate the virtual env (create) and run py files there.
Pin layout: https://files.pine64.org/doc/rock64/ROCK64_V3_Pi-2_and_Pi-P5+_Bus.pdf Someone else who used some IR sensor on a Pi: https://simonprickett.dev/using-a-break-beam-sensor-with-python-and-raspberry-pi/
Try this repo instead: https://github.com/fadedreamz/R64.GPIO
pip3 install git+https://github.com/fadedreamz/R64.GPIO