It's worth looking into for the cost savings on initial purchase and ongoing power draw.
It's worth looking into for the cost savings on initial purchase and ongoing power draw.
The projects that I've been able to accomplish on a microcontroller have been more reliable (over decades) than my Pi-based projects, and I don't have to worry as much about them being part of some botnet because I forgot to change the default ssh configuration (wasn't it `pi:raspberry`?).
Beyond micropython, the no_std rust support for ESP32C3 is getting better every month. For people doing little home automation projects because they are fun, the additional constraints can make things a lot of fun and very rewarding.
But yes, for those that are already handy with Linux, a Pi is generally going to be much easier, though IME will be at least 10x as expensive, and the additional setup to get it in the same ballpark for reliability (SSD booting vs network booting vs ro-rootfs, watchdog setup, etc) and the increased power usage (esp for a Pi5) should at least be small part of the decision making.
Can I run my password manager server on an ESP32? No
PiHole? No. Unifi controller? No
I think people making this comment are envisioning people use Pis as garage door controllers etc., but reflexively suggesting ESP32s as Pi replacements isn't helpful.
>I use Raspberry Pis around my home as everything from low-power FM transmitters to UPS energy monitors.
A PI with MQTT server and ESP32 as clients is a match made in heaven! For 30 bucks you go from nothing to PI zero, and a hand full (literal) of esp32 devices. Its a fun stack to play with!
They only asked that people consider it; no need to get snooty because it doesn't work for you, despite being very obviously inappropriate for your use case
I know, right? I had to mortgage my family's ancestral home for the $35 to buy a raspberry pi 4 at microcenter. Luckily they had SD cards on sale, so I was able to buy the power supply and storage for the cost of a kidney. And now I can manage my home automation devices!
They are so widely used and well documented that for typical uses, they are no more complicated to do than an x86, in my experience.
No, honestly I am impressed at the performance with which my RaspPi 4 is running a PhotoPrism instance with about 120.000 photos. This might also be thanks to the application software, but still quite a feat.
Why yes a ESP32 can do that, and you get to play with a another cheap stack.
How about Blinking leds or a Display, or led strip... WLED and artwix have you covered!
A project like ESPresense is evolved from a PIzero project.
Let's not forget that some of the pi's appeal is that it has those GPIO headers!
I love ESP32s and use them both for fun and professionally but let’s be careful about overselling them. Can you get single photos from a specific set of imaging sensors? Yup. Can you encode 1080p h.264 video and stream it with eg RTSP? Definitely not.
You can run a web server though. Now I’m curious if I can push enough data to stream audio. I know the chip can handle 48k stereo samples, presumably I could stream that much over wifi. I may have to play with that this week. The bigger problem is attaching storage, many ESP32 SoCs don’t have USB peripherals, and many SDcard implementations can’t do much better than Audio throughput (SD has some insane lisencing costs for small dev shops), so I’m not sure the best solution for large amounts of data.
Can I run my password manager server on an RPI? No -- do you want to loose all your data because the SD card failed?
PiHole? Unifi controller? Maybe
Also there's more complexity and overhead on a pi for simple tasks. And you potentially have to worry about updating the system and packages and other maintenance.
Not saying microcontrollers like the ESP32 are completely invulnerable to failure but it certainly is less likely.
And for another anecdote on uptime, I have a few Arduino-powered devices operating 24/7 for well over a decade now.
Another one lost the ethernet card. It was before they had Wi-Fi, or I didn't care to use Wi-Fi, I don't remember.
A Pi zero died, full stop.
A number of SD cards eventually died.
Not a very reliable platform compared to my laptop. On the other side my laptop costs almost a couple of orders of magnitude more.
I still use one RPi 3B+ with a TV hat and it has been on for about two years. It doesn't do anything else.
I switched to Odroid for everything else that could run on a small server, because it was impossible to find Raspberries. They work well, I'm happy with them. The only problem: I have to pin the kernel to their own version with their own drivers. The distro is Raspbian and I upgraded it a couple of weeks ago.
I had one rpi become useless when its network stopped working.
I bet me writing this comment used more while keeping my laptop alive.
I love ESP32s, built a long running device for my car, where the power draw is important because I don't want to deplete car battery. It uses almost no power. However if it was running connected to a power grid, I'd not care about the electricity cost.
Or if I'm using something like Circuit python I'll just connect the web console.
do hobbyists care? usually not
The whole argument is reprehensibly incoherent at its very core and there is no aspect of it that has any meaningful value.
Microcontrollers and general-purpose computers are both very useful things.
And while there is some overlap in how they can be used they are used, they are also very different things, with very different costs (to purchase, and to implement).
It's a tired old argument that has been happening for as long as we've had both affordable computers, and also affordable microcontrollers (several decades, by my count). It has never been resolved, and it cannot ever be resolved.
Both things can co-exist. This isn't like Highlander or the Superbowl: There can be more than one. It's OK.
Still a whole system is not just the CPU so suggesting a CPU as a RPi replacement seems a little odd
Absolutely love it and to my surprise it's super stable. Something about WiFi power states often messed up my projects in the long run, but no issue with micro python architecture so far.
Admittedly, reverse engineering a single digit 7-segment LED display wasn’t the best use of my time, but by crikey it was fun.
The other ones have touchscreens and speaker attached, I use them to listen to internet radio, watch cartoons and control relays.
Your cheaper solution doesn't allow for any of this to happen.