Re:Arduino Goes Pro at CES 2020
by rhcom2 on Tuesday January 07, 2020 @11:55AM
(#21981767)
Not a bad question at all. The Arduino offers you the ability to code on a lower level, while the Raspberry Pi is giving you a full operating system. Some projects, especially IoT, don't need all the overhead of an OS with and without that comes improved reliability and better understanding of the state of the device.
[ Parent
| on HN ]
Can you not flash a pi with some non-OS firmware?
Re:Arduino Goes Pro at CES 2020
by whalesalad on Tuesday January 07, 2020 @01:12PM
(#21982727)
I've been extremely pleased with the Nerves project. It's Elixir (or any flavor of Erlang, really) top to bottom. The toolkit will build and flash the SD card, so you don't need to worry about anything except your app.
Very nice to be able to ssh to my Pi and get dropped immediately into an IEX repl (no auth, no command prompt, it's just IEX over SSH)
Re:Arduino Goes Pro at CES 2020
by darkkindness on Tuesday January 07, 2020 @01:35PM
(#21983004)
That's incredible, thanks for sharing! Here's the links for the lazy:
Re:Arduino Goes Pro at CES 2020
by UncleOxidant on Tuesday January 07, 2020 @01:44PM
(#21983143)
Is nerves running without an OS on the Pi (baremetal)?
Re:Arduino Goes Pro at CES 2020
by whalesalad on Tuesday January 07, 2020 @02:02PM
(#21983376)
It's running on Linux. I am not privy to the specifics.
Yes; or, for greater ease-of-use, you could just write your logic as a Linux kernel driver, leaving the rest of the OS to do its job. After all, from the perspective of the controller, you're interacting with a peripheral—and that's exactly what device drivers are designed to do.
Yes, can do bare metal https://www.raspberrypi.org/forums/viewforum.php?f=72
Though I'm sure many `purests` will say this is not bare metal and it's impossible upon modern CPU's due to the ISA microcode.........
Re:Arduino Goes Pro at CES 2020
by UncleOxidant on Tuesday January 07, 2020 @01:37PM
(#21983043)
Which is weird because you'd think the board that could run Linux would cost more than the one that you're not able to run an OS on.
The RPi (all variants) is more expensive than the readily available AVR boards that you would use to deploy a solution (even if those boards are just Arduino clones which are readily available for at/under $3 delivered to the US).
The genuine Arduinos are expensive. The clones are cheap.