Comment on How should I get started?

<- View Parent
Saigonauticon@voltage.vn ⁨8⁩ ⁨months⁩ ago

There are a lot of differences, but I’ll try and go over the high level ones. The RP2040 is a chip, and the others are boards – so I’ll compare the chips on them.

The RP2040 chip is really powerful overall, and does some odd things with I/O that let you do a bunch of very fast, precise things. You also get a lot of I/O pins and they are very well-behaved. The main advantage though is that it works well in both Python and C++, and is well-supported.

The ESP32 based board (Thing Plus) has integrated WiFi. The ESP32 is a great chip, I use it a lot, but it has some unfortunate quirks. First, it has a very high clock speed and decent memory, making it quite powerful. However, if you glitch out the network stack via your code, it can have some problems with unexpected resets. This was much worse with the earlier-generation ESP8266. Secondly, the I/O work much more slowly than the system clock (if I recall correctly), and they are picky about what state they have on startup – some go high as part of the boot process, others must be high or low on boot but can be used after. This is actually quite a pain sometimes. It’s a great chip overall though and works well in C++.

The Pro Micro uses an ATMEGA32 chip. I’m a huge AVR fan so I don’t have many bad things to say, I like it a lot. It is much slower than the other two chips though, and has less memory. Probably it’s best to use C++, but you ought to be able to use Assembly too if you like. The I/O on AVRs are really well-behaved and usually operate at the same speed as the chip, which is nice when you need precise timing! The best thing about it though, is it can use much less power than the other two options, if you use the sleep modes right. So you can build neat battery-powered applications. Finally AVRs have excellent datasheets – there’s rarely any ambiguity on exactly how any system on the chip works.

Overall, I’d choose an RP2040 board if I wanted to use Python and do IoT/Robots/whatever (you can buy boards with or without WiFi), an ESP32 based board if I wanted to do IoT stuff in C++, and the Pro Micro if I wanted to do low-level, low power embedded stuff in C++ or assembly (and maybe branch out into other AVR chips). The C++ options mean you can use the Arduino IDE and their libraries.

source
Sort:hotnewtop