3 ms·
The GPIO on the PI is compromised for any hard realtime usage by the fact its running linux (ignoring what can be done with a lot of extra work with a RT kernel
by StillBored 4y ago
The GPIO on the PI is compromised for any hard realtime usage by the fact its running linux (ignoring what can be done with a lot of extra work with a RT kernel and pinning cores).
For non realtime use, the $10 USB->GPIO ones work fine on any computer with USB.
In fact many of them are just ESP's, and work even better than the pi for hard real-time because you write custom bitbanging ardunio code and send the results/control signal over the USB. They become custom peripherals with a /dev/ttyUSB endpoint.
- chasd00 4y agoOn my pi zero w, for realtime needs like pwm I use a dedicated controller and access it over the i2c bus. It works just fine. https://www.adafruit.com/product/815 https://www.adafruit.com/product/815 I got my pi zero w a lonnng time ago when you could actually find them.