4 ms·
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 proje
by rhcom2 7y ago
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.
- fastball 7y agoCan you not flash a pi with some non-OS firmware?
- derefr 7y agoYes; 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.
- Zenst 7y agoYes, can do bare metal https://www.raspberrypi.org/forums/viewforum.php?f=72 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.........
- whalesalad 7y agoI'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)
- darkkindness 7y agoThat's incredible, thanks for sharing! Here's the links for the lazy: https://nerves-project.org/ https://nerves-project.org/ https://github.com/nerves-project/nerves https://github.com/nerves-project/nerves
- UncleOxidant 7y agoIs nerves running without an OS on the Pi (baremetal)?
- whalesalad 7y agoIt's running on Linux. I am not privy to the specifics.
- UncleOxidant 7y agoWhich 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.
- agumonkey 7y agoThis crowd probably want no os
- sokoloff 7y agoThe 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.