News for hackers. Stuff that matters.
Re:I use a Raspberry Pi as my daily computer for over a year... by StillBored on Friday October 28, 2022 @11:23AM (#33372551)
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.

Re:I use a Raspberry Pi as my daily computer for over a year... by chasd00 on Friday October 28, 2022 @01:30PM (#33374528)
On 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

I got my pi zero w a lonnng time ago when you could actually find them.