$12, fantastic documentation and tutorials, and you can literally just plug it in via usb and edit the python code as if it's just a text file on a thumb drive. No programmers, special IDE's, or specialty equipment
Microcontrollers are fun again
$12, fantastic documentation and tutorials, and you can literally just plug it in via usb and edit the python code as if it's just a text file on a thumb drive. No programmers, special IDE's, or specialty equipment
Microcontrollers are fun again
If you really need to get cheap, the ESP8266 is also fully Arduino compatible and less than $2. Still way overpowered for a wireless temperature sensor sending packets to homeassistant or whatever.
Unless you are shaving pennies for mass production, I'd stay away from any of the Tensilica LX6 LX7 based ESP32 parts. Toolchain and library support will be much better with the RISC-V based parts.
The ESP8685 is the current budget RISC-V based MCU. 384K of user SRAM, 4MB of Flash, 160Mhz RISC-V core. $1.50 qty 1.
https://www.espressif.com/sites/default/files/documentation/...
RISC-V is nearly identical to MIPS or Arm, so anything to add Arm support to library, would also make it RV compatible (before inline asm).
Build breakages on LX6 or LX7 are 100% on you.
Not sure that it's the ATMega community being keen to program Python, or Python people keen to program on ATMegas.
The hobbyists I know who prefer ATMega are certainly not using Python. They take the extra step of reflashing the chips, if needed, to get rid of it.
There are a couple of alternative languages that don't require a computer host to drive them:
Visual programming language: https://xod.io
There was Céu: https://github.com/ceu-lang/ceu-arduino
And one can always try AVR assembly if they're really curious.
those are 1.6¢
Plus ESP32 has a huge ecosystem of software and hardware, the same way the original big Raspberry Pis are much easier to develop on. Pico ecosystem isn't nearly as big.
https://rp2040pio-docs.readthedocs.io/en/latest/
An ideal board would have an RP2040 as the USB terminator (where it can be a usb mass storage device for dragging and dropping firmware) and the ESP32 can handle the radio.
ESP32 is on the order of 1.05-2$ each and the RP2040 is 0.70
Mix in some I2C components and a few jumper wires, and you basically have my whole childhood distilled down and reborn -- legos and code.
There are other interesting boards out there:
--- ESP32-C6-DevKitC-1 ---
C and Python in the box
https://docs.espressif.com/projects/espressif-esp-dev-kits/e...
$9 gets you
- 32-bit RISC-V
- WiFi 6 2.4 GHz
- BLE 5.3
- Zigbee 3.0
- Thread 1.3
- ARGB LED
--- ESP32 RISC-V Rust board ---
$19.80
https://www.espressif.com/en/dev-board/esp32-c3-devkit-rust-...
- Temp and humidity sensor
- Inertial measurement unit
- Li-ion charger
- USB-C
--- Orange Pi 5 Pro ---
$141
http://www.orangepi.org/html/hardWare/computerAndMicrocontro...
- Rockchip RK3588S
- 16 GiB LPDDR5
- GPU 10x faster than an RPi 5's
- NVMe without a hat
- WiFi 5, BT+BLE 5.2
- H.265 8K@30fps encoding and 8K@60fps decoding
- AI accelerator built-in
Once upon a time™, c. 2000 for hobbyists, there was primarily BASIC Stamp (with BASIC obviously) and PICs with their own assembly ISA. Yep, we had to walk 100 miles barefoot to school in the snow back then. ;)
The original mbed featured that but implemented using a separate micro. You copied the file and pressed the reset button to load it.
I'd also argue that "old fashioned" would include the era of the venerable 6502 (yes, not an MCU, but hobby electronics programming isn't all MCUs) which was often programmed by hobbyists in BASIC, another interpreted language, so it's hardly a new thing to "waste" those bytes.