Comment by freeopinion

7 days ago

Some years back when bluepills ran $2, Arduinos seemed to have no point. Today, you can buy an ESP32 dev board with wifi for $6. Or an Arduino Uno Wifi for $55.

Note that both Bluepill and ESP32 can be programmed in the Arduino IDE, using the Arduino library, and the vast library of Arduino sketches and 3rd party libraries (as long as they don't use AVR assembly language.

So can the Pi Pico, the Milk-V Duo (one 64 bit Linux core, one 64 bit microcontroller core), and many others.

  • While that is true, both Espressif and the Pico have their own SDKs, and they're really well written too.

    The Arduino SDK is the simplest to use, sure, but the Pico framework (I don't have experience with the Espressif one) is extremely good, and the Pico's PIO is a godsend. I used it to implement 3 wire SPI (data bidirectional on the same wire) at almost 'real-time', which is to say, at half the speed of the hardware SPI controller (half the speed because the interface clock is put up one cycle and down the next; this also gives enough time for data shuffling).

    Why does the Arduino SDK necessitate a huge markup on Arduino boards, when $0 of every computer I buy to run Linux on goes to GCC?

    • Just because most of the free software ecosystem relies on unpaid volunteer work does not mean it is a desirable state of affairs, especially with billion dollar companies building on top of said work while hardly contributing anything back.

      4 replies →

    • Branding power. Precisely why brand drugs continue to make money over fist for pharmaceutical companies even after patents expire.

      1 reply →

  • Its relevant, however, that the Bluepill and ESP8266 cores for Arduino were originally independent reimplementations by third party hobbyists, not made by Arduino. And Espressif themselves have always developed the ESP32 Arduino library implementation. They weren't completely freeloading off Arduino's work, and Arduino (the company and the ecosystem) heavily benefit from contributors of all sorts. Particularly in the case of Arduino and Espressif, they have been successful together.

> Some years back when bluepills ran $2, Arduinos seemed to have no point.

But you still used the Arduino SDK with the bluepill, so clearly Arduino had a point. Unless you were one of the few masochist who dealt with the STM32 toolchain directly for fun?

The Pi Pico is such a breath of fresh air in that regard. Finally a decent-enough toolchain for a decent-enough performing ARM MCU!