by dotdi · 2y ago · 0 comments
When AVR came out with their ATmegas, it was a revelation. Not having to use shitty proprietary programmers and windows-only software was amazing. We could finally use Linux. PIC was one of the main competitors in our circles, but it was losing the foothold quickly, because the AVR tooling was just hands-down better.
Also, documentation was easier to read and interpret, especially compared to PIC, which is still giving me slight PTSD when I try to recall how hard it was to get non-mainstream features to work. Whenever I had to deep-dive PIC documentation I stumbled over weird behaviour or outright hardware bugs that, in some cases, could not even be worked around.
I don't actively work with microcontrollers nowadays, but I am excited to hear that AVR is still making an effort to have an objectively good product. The market is tough nowadays, with ESP32s and ESP8266s being so cheap and widespread, but I hope AVR keeps it up.
That said, wifi is a major selling point, and you need a beefy 32-bit computer to run the protocol. This is the brilliance of ESP32: you can actually use it just as a wifi dongle for another microcontroller, but since it needs so much computing power, might as well give you some RAM and CPU to do your thing directly on the wifi chipset...
Often the ESP32 is far cheaper than whatever sensor you're making it monitor. WiFi isn't the perfect technology to upload sensor data in the home, but anything proper Zigbee is more expensive and more complex to use. So the ESP32 ends up in all kinds of projects.
ESP32-H2 and ESP32-C6 both do Zigbee.