Over time the Raspberry Pi use case shifted more and more away from GPIO. They all still have it but probably most of them are used as a Linux computer without ever touching the GPIO now. The people who do use GPIO on a Raspberry Pi are often better off using an ESP32 because they have better control of GPIO, consume far less power, and are actually cheap.
Personally I use ESP32s for GPIO to control things around the house and have one Raspberry Pi acting as a hub.
I've been doing home electronics projects since around 2013, I used to use Raspberry Pi's for everything from lighting control to robots, camera projects and lots in between (I even had a mechanical keyboard with a Pi inside) and a massive collection of hats and addons. These days, I can do 99% of what I need with tiny little ESP32 variant boards for a fraction of the cost and significantly less complexity. Hell, you can even get esp32's with really nice touch screens attached for dashboards / animations. I built a whole cyberdeck using an ESP32 and no computer in-sight.
their RP1 IO chip is such a disappointment for high performance GPIO use cases as well, literally can’t trust any IO decision they make after having hacked on that chip
The full size Pi has less and less of a niche. GPIO / low power edge? ESP32s are great. Signage? The pi isn’t really all that great, and is expensive, get a cheap N100/150. Hacking on Linux? Literally anything else.
it is also more capable than an esp32. Im dinking around with both. esp32 is very restrictive in its compute capacity. It isnt multifunctional at all either.
A pi zero is to play with, an esp32 is so tiny, that it is more of a build for a single thing, and then set it and forget it doing that single thing.
You cant really stack more and more cool stuff onto it and keep building on it.
That’s why esp-idf has components. I have a bunch of components that are basically “compile if this SDK config is set, otherwise pretend you’re an empty file” using macros.
Then I just pull in all my components. The ones I use will get compiled, the ones I don’t won’t.
Mostly works fine. Eventually you will run out of NVRAM to save binaries on, but another esp-32 is like $3.
While people do often use pis to do things you could do with an esp32, an ESP32 cannot do the majority of things a Pi can do.