logoalt Hacker News

gioboxlast Tuesday at 4:18 PM5 repliesview on HN

> while the Raspberry Pi was about the same price as an Arduino but way better performance

If you are cross shopping a full single board computer (Pi) with a microcontroller (arduino/esp32 etc) for a project, it's almost always a sign you don't know what you are doing. With the exception of the recent Pi Pico, non of the raspberry pis are Arduino/microcontroller competitors - they are typically full blown linux computers with all the benefits and drawbacks that provides.

While you can absolutely solve microcontroller-style problems with full blown computers, it's rarely the best/cheapest option.


Replies

calibaslast Tuesday at 4:26 PM

True from an industry perspective, but they're very much competitors in the hobby market.

ACCount37last Tuesday at 4:42 PM

Counterpoint: prototyping and low volume production runs. Hardware is cheap - development time is expensive.

agloe_dreamslast Tuesday at 5:00 PM

FWIIW - The new Uno Q is exactly the midpoint of your comment - a linux based computer WITH a STM32 coprocessor to confuse the heck out of everything.

show 1 reply
Pxtllast Tuesday at 4:46 PM

Right but if you're a hobbyist, "cheap" isn't the priority. I mean, what's the harm of using a $40 SBC instead of a $10 one if you're going to be spending hundreds of dollars and dozens of man-hours on it?

The bigger concern is the overhead of the Linux OS in terms of interacting with it vs just flashing a microcontroller... but linux lets you run an SSH and FTP servers and wifi and a debugger on the thing easily.

So you get easier access to remotely playing with the programming of your gizmo, but you have the OS in the way of just talking to hardware in real-time. I haven't done projects like that since my undergrad, does it really make that much difference?

To me the big deal-breaker would probably be if the thing I was building was battery-powered.

show 1 reply