Comment by MountDoom

Comment by MountDoom 7 days ago

11 replies

> Arduino got obsoleted by the Raspberry Pi and its clones/compatible devices.

Not entirely. Arduino was always targeted at the "casual DIY" segment - artists, school robotics clubs, and other folks who wanted automation without a steep learning curve. This was a notch below the "serious hobbyist" tier where you could save a lot of money by just buying a bare-metal version of the same chip and write some code in C (or Rust). Or the pro tier, where there's way you're paying $20+ for a glorified breakout board.

Casual DIY always had a ton of inertia. It's also the reason why every other design for an analog guitar pedal or whatever is using components that are 50 years old: ancient designs are just copied-and-pasted forever. So I don't think Arduino is dead there, although other platforms are definitely eating some of their lunch.

DamonHD 7 days ago

I designed a consumer product based on a respun Uno, that has sold >500k units. The toolchain and hardware remains pretty capable, and can run super low power with care (~1 microamp most of the time).

  • MountDoom 7 days ago

    But why? You can have the same chip for much less. The "toolchain" is just a bit of syntactic sugar around existing languages and tools, but more to the point, nothing stops you from using it with your own hardware.

    I'm not doubting you, just sincerely curious.

    • michaelt 7 days ago

      If they've done 500k units, "based on a respun Uno" almost certainly means "there's a atmega328p on the PCB, a 16MHz crystal, and some points granting access to the serial and reset pins"

      • DamonHD 7 days ago

        ATMega328p, 32768Hz xtal, in a smart radiator valve. See OpenTRV (for the open part of the s/w and h/w) and Radbot for the commercial product.

        • relaxing 6 days ago

          That's a cool product! I wish I could put something like that on my hydronic (hot water) radiators, but they don't have individual valves.

    • DamonHD 7 days ago

      That design started ~10Y ago. If I was starting again I might pick something different.

xg15 7 days ago

> Not entirely. Arduino was always targeted at the "casual DIY" segment - artists, school robotics clubs, and other folks who wanted automation without a steep learning curve.

Exactly. But my point was that this demographic would today get a more powerful and more accessible platform for their projects by buying a Raspberry Pi.

  • petsfed 7 days ago

    This is true up until it really REALLY isn't.

    The main strength of microcontroller-based hobby boards (I hesitate to say "bare-metal", but something like that) is that tuning them for long operation on a small pouch cell is pretty straightforward. There is no such easy path to prolong battery life on a Raspberry Pi (not including the RPI Pico). After that, with microcontrollers, you have direct visibility into most interrupts you may need to use. You do not have that in the standard Raspbian linux distro.

    They are foundationally different items, and it does not take a tremendously complicated project to reach the boundary between them. Need a robust wifi stack or to run a camera? You need something with at least an RTOS (like an ESP), or an actual operating system. Need to service a rapidly spinning rotary encoder without missing clicks or blocking other operations? You need a microcontroller.

    Its certainly true that you can make a Raspberry Pi do everything an arduino can (and mostly vice versa), but in terms of what's accessible to a early-intermediate hobbyist, they are different tools for different tasks.

  • mrheosuper 6 days ago

    They are entirely different. By Arduino, i assume you mean Arduino hardware ? They are usually just a breakout board for a given MCU.

    Raspberry pi, is a full ledge computer, with boottime measured in seconds

  • harrall 6 days ago

    Let’s see… use the Arduino IDE, plug it in via USB, and press Upload. Your program starts on boot, every time, reliably and quickly.

    OR buy an SD card, learn what the heck “writing images” is, find a spare keyboard and monitor so you can see the RPi, learn how to use Linux for your first time, figure out how to copy files between your Macbook and Linux, figure out how to setup Wi-Fi, figure out how to run a program, then restart your RPi to find that your program didn’t start on its own, then figure out the million different ways in Linux to start a program on boot, only to find it takes forever before your program starts when you plug the RPi back in, then it turns out Linux screws up your timings so your LED art project doesn’t even work…

  • [removed] 6 days ago
    [deleted]