Any suggestions on where to begin with microcontrollers? This is for a
simple application with very low CPU and other resource requirements.
The idea is to make a battery-powered device which will send and receive
GSM texts and interface with some simple devices (LCD display, RTC, GPS, temperature sensors, etc).
Would you recommend a RP2040 uc for that? If not, [and this is somewhat
OT, I realise] what else?
I'd prefer to program in C and avoid proprietary software. I hated the Microchip development environment I tried years ago as it wanted to
install untold megabytes of overkill lock-in(!).
As far as hardware goes, RP2040 is a decent platform. It's less limited
than 8-bit ATMega, and has some useful features (eg dual core). It doesn't have wifi,
Theo <theom+news@chiark.greenend.org.uk> wrote:
As far as hardware goes, RP2040 is a decent platform. It's less limited than 8-bit ATMega, and has some useful features (eg dual core). It doesn't have wifi,
It does now. New model rp2040w has wifi.
A. Dumas <alexandre@dumas.fr.invalid> wrote:
Theo <theom+news@chiark.greenend.org.uk> wrote:
It doesn't have wifi,
It does now. New model rp2040w has wifi.
The RP2040 chip does not have wifi. There is no such thing as an RP2040W. The Pi Pico W module has wifi, by putting an additional wifi chip next to
the RP2040. Which I said in the subsequent paragraph...
The Arduino language uses 'sketches' which are really a dressed up form of C++. You can write native C/C++ and link it all together if you want. Everything is open source, and typically it's really just driving GCC under the hood. The bundle is not small (there's also a GUI written in Java), but that's mostly because there's compilers and libraries for several architectures.
Theo <theom+news@chiark.greenend.org.uk> wrote:
The Arduino language uses 'sketches' which are really a dressed up form of C++. You can write native C/C++ and link it all together if you want. Everything is open source, and typically it's really just driving GCC under the hood. The bundle is not small (there's also a GUI written in Java), but
that's mostly because there's compilers and libraries for several architectures.
Better yet is PlatformIO, which can run under VSCodium (or Visual Studio
Code if you're not an open-source purist). It supports pretty much every microcontroller and programming environment out there, including Arduino,
and only pulls in what you need for the task at hand. I use it for various projects I've come up with, as well as to maintain the firmware for my 3D printers.
(Never cared much for the Arduino IDE...used to have problems with it rendering in ridiculously-small fonts on my 4K monitor, and haven't checked back to see if they fixed that problem.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 36:50:10 |
Calls: | 7,932 |
Calls today: | 2 |
Files: | 12,998 |
Messages: | 5,805,537 |