Huge huge fan of ESP32s over Arduino/RPi/etc for any/all projects where I can do so. I’ve probably got 15-20 ESP32 projects around the house, and have done somewhere around 80-100 for other people. Arduino does a great job with marketing but at the end of the day you could do 99% of Arduino projects with an ESP32 for 1/10th the cost, use less power, and get way more features at the same time, while still using the Ar…
Agreed - they deliver a very flexible, cost-effective, performant MCU. Downsides (to me) are toolchain and power consumption. Has the Arduino toolchain been enough for home automation? I’ve been playing with Zephyr, but when I’ve gotten down into those gritty late-AM Saturday night programming hours, actual library support seems to be patchy, outside Arduino and Espressif toolchains. I ended up running MicroPython on…
ESP32-P4: High-performance MCU with IO-connectivity and security features
71–80 of 95 posts
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#72Earlier quoted context omitted.
Why use ESP32 if you're powering with PoE? Might as well use an "Ethernet-on-board" like Teensy 4.1, and then use a PoE splitter (ex: https://www.adafruit.com/product/3239 ) to power it. Why pay for WiFi power (which is rather expensive) when you literally are sending Ethernet communication wires to your uC ? https://www.pjrc.com/store/teensy41.html
I use these https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-sou... - they support proper PoE as opposed to the dodgy passive stuff you usually end up with with splitters. Personally I'd take an ESP32 over a teensy 4.1 unless you specifically need the extra GPIOs or something. The teensy's are great hardware, but you're stuck with either Arduino or hand rolling. You don't pay for WiFi power if the RF amp is o…
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#73Looks broadly similar to the stm32h7 series that I'm familiar with. Of course all of those are out of stock and cost up to $25. Presumably these are cheaper, though don't have onboard flash memory. The documentation for the STM32s is probably better though still not impressive, and the STM32 software libraries are nothing to write home about. I think the ESP IDF might actually be better though I don't have a lot of e…
The ESP-IDF framework is very nice but I haven't had much exposure to CMake so I'm still wrangling around with project structure.
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#74Earlier quoted context omitted.
Agreed - they deliver a very flexible, cost-effective, performant MCU. Downsides (to me) are toolchain and power consumption. Has the Arduino toolchain been enough for home automation? I’ve been playing with Zephyr, but when I’ve gotten down into those gritty late-AM Saturday night programming hours, actual library support seems to be patchy, outside Arduino and Espressif toolchains. I ended up running MicroPython on…
There are 2 flavors of the ESP, depending on model. The Xtensa cores and RISCV, go with the RISCV variant. The Xtensa variant requires you to use their compilers, which are derived from he ones provided by Cadence. There's a better path long-term for the RISCV cores to get tooling on par to what's available for ARM.
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#75Earlier quoted context omitted.
I don't have any use for them, but I am also a fan of the ESP32, mainly because it represents having the desktop computers of my 9th grade (similar somehow to PC1512) available on the palm of my hand, and with much better hardware.
And WiFi, running on 3AA batteries, GPIO and costing US$ 5. Same feeling.
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#76I'm running a few ESP32s and given their widespread usage I was surprised to notice that Espressif stock is very much near the lows of its 5 yr range, having lost over 2/3rds of its value from the peak. Is it just a function of market volatility? Do they have competition?
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#77Earlier quoted context omitted.
And WiFi, running on 3AA batteries, GPIO and costing US$ 5. Same feeling.
What kind of battery life do you get? I know it depends on workload/wifi use etc., but any such data would be helpful.
A good YouTube Channel I find for microcontroller aspects is - Andreas Spiess
One of his videos you may find useful - https://youtu.be/ajt7vtgKNNM
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#78Earlier quoted context omitted.
There are 2 flavors of the ESP, depending on model. The Xtensa cores and RISCV, go with the RISCV variant. The Xtensa variant requires you to use their compilers, which are derived from he ones provided by Cadence. There's a better path long-term for the RISCV cores to get tooling on par to what's available for ARM.
The Xtensa based ESP32 chips have upstream support in GCC, do they not?
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#79Earlier quoted context omitted.
And WiFi, running on 3AA batteries, GPIO and costing US$ 5. Same feeling.
What kind of battery life do you get? I know it depends on workload/wifi use etc., but any such data would be helpful.
Re: ESP32-P4: High-performance MCU with IO-connectivity and security features
#80There's a very nice language dedicated to ESP32 programming that has semantics very similar to ruby and python and very clean minimalistic syntax. It called toit https://toitlang.org/