Do you plan to have a Totem Lab version using a Raspberry Pi Pico?
Thanks
John
Do you plan to have a Totem Lab version using a Raspberry Pi Pico?
Thanks
John
We are more in favor or ESP32, so this is probably more likely candidate
Currently TotemDuino runs on classical ATmega328P. It was used to maintain compatibility with Arduino UNO form factor and Arduino IDE. But times has changed and it’s probably a good idea to move on more capable microcontrollers. So this falls down to: RP2040 or ESP32.
RP2040 started to come out during chip shortage. They were low priced and widely available. This is one of the main reason why there are so many boards with it. Other microcontrollers were simply out of stock. Not only that - it is capable little chip offering native USB, unique programmable PIO, lots of power and memory.
Similar thing with ESP32 - it also was well priced and available during chip shortage. It’s software support and community grew massive and they have released few more chip variants. Feature wise - ESP32 is practically unbeatable. It is powerful with lots of memory, large number of peripherals and most important - native WiFi and Bluetooth support. Later versions (like ESP32S3) also includes native USB support.
One good thing about ATmega328P - code compiling and uploading in Arduino IDE happens very fast. This is nice when you are experimenting and can change some values in no time.
While with ESP32 - it is a complex chip with FreeRTOS always running. Code compiling and upload takes a long time (generates ~300K binary compared to only ~1K of ATmega!).
Haven’t looked at compile speed of RP2040, but should be somewhere in the middle.
Do you have something more in mind why prefer RP2040?
I don’t have anything particular in mind. I was showing my work with Totem to someone who asked about a Pico version. I have used Picos and also ESP32s. I am interested in CAN applications.
So ESP32 looks like a good candidate. It has CAN peripheral already.
While RP2040 does not, seen some implementations of CAN emulation over PIO. Probably works, but not as trivial.
In fact - we did some modeling of TotemDuino with ESP32. With a bit more work - it could become a new product. Would fit well within our ecosystem (Mini Lab kit and Arduino support).