Hacker News new | ask | show | jobs
by jrockway 2522 days ago
Pi Zero Ws are $10, ESP32 dev boards are $12. Why pick the more expensive one AND spend more time writing the software?
4 comments

ESP32 boards are about $4 on aliexpress...

I much prefer using an ESP32 for something like this because I don't have to deal with installing distro's, updates, etc.

sd card wearout, power failures (sd card corruption)...
The ESP32 boards I have were £6, including postage. Can't find a Pi Zero for less than double that when including postage costs.

They're designed for different things though - if you wanted a battery powered version that updated on a button press else slept, ESP, if you want live updates all the time, Pi is fine!

ESP32 uses less power. When you use deep-sleep, you can draw as low as 40microAmps, a sensor I've build on a ESP32 has been running for 3 months on the same battery and I expect one more out of it. The battery is a 2200mA LiPo 18650, so nothing that extraordinary either.

The Pi0W probably won't run a day on the same battery.

The ESP32 has deep sleep, but it uses about the same power as the pizero when running. The ESP32 is a really power hungry:

http://www.geekstips.com/wp-content/uploads/2017/10/esp32-po...

vs

https://raspi.tv/2017/how-much-power-does-pi-zero-w-use

Considering that he pi as way more ram, an SD card and a GPU, and is running 4 times as fast.

the important take away is that they have different use cases.

Though it's important to keep in mind that deep sleep can fairly long, if you use external triggers, you can go days or months in inactivity, which saves A LOT of power.

Though I do agree it depends on your use case, if you're plugged into the wall, a Pi0 might be the better option.

Last year maybe, but I just bought a few for €3.80 each and €0.40 shipping from aliexpress.
Dev boards, or modules to solder onto a circuit board? If you are printing your own board, then yes, the ESP32 is way cheaper. If you are just making a one-off, though, I'm not sure where it wins except in power consumption.
this are dev boards. Just look here for example: https://www.aliexpress.com/item/32656775273.html, the nodemcu dev with USB for 3,55. You can even get a fully working board with a webcam for under 5 bucks (though that does need a UART bridge, no usb included). Unmounted esp32 chips are going for as low as 2,10