top | item 40368472

(no title)

graphe | 1 year ago

When do you use GPIO with Linux?

discuss

order

KaiserPro|1 year ago

Something with higher order processing requirements.

the rp2040w has wifi, micropython and a bunch of GPIO, all running at low hundreds of megs. Great for motor controllers and that sort of stuff. I use them a lot for the sort of things I would have used Pis for.

However thats because its python. If you want rust, or javascript, then the pi is probably still a good option (I know there are native ports, but they are not as common or easy. )

But if you want computer vision, or, can't be arsed with micro based programms, then pi is where its at.

The other type of application is home assistant. I have an N100 running HA in a VM. It would have been easier with all the home security stuff to have it running on a pi directly. (yes you can use esp32 as binary sensors, which is what I do, but its expensive to have things that aren't wifi.)

colejohnson66|1 year ago

The same things you'd use GPIO with Linux for on a Raspberry Pi: anything.

graphe|1 year ago

Anything is not a useful comment. When? I'm asking for a use case, I haven't seen anyone use them for a specific reason to use Linux. I'm asking about sensors and software that works together better than using it with an MCU