Choosing the right board
Making a Choice
On the one hand, anything you can do with an Arduino board should be possible with a Rasp Pi. However, in many cases, a Rasp Pi would be a waste of resources. Using a Rasp Pi can also cause unnecessary complications, such as the need for a continuous power supply and a much longer boot time. On the other hand, while you might be able to use several Arduinos to do some procedures more suitable to a single Rasp Pi, that is likely to be cumbersome and inefficient. Either of these extremes should be avoided whenever possible, if only because they both increase the possibility of something going wrong.
Sometimes, the choice may be simply a matter of the features you want. For example, if you need an Ethernet port, a Rasp Pi is probably a more straightforward choice. Similarly, if you want users to be able to customize by flashing firmware, an Arduino is designed to make that easy. At other times, your own expertise may be a deciding influence. For example, if you are familiar with standard programming languages, a Rasp Pi may be a better environment for you, while if your programming is limited mostly to scripts or your expertise lies in electronics, you might find Arduino C more within your competence.
However, most of the time, the most important factor is the intended purpose. An Arduino is a specialty device, designed to do a few simple tasks over and over. It makes simple logical choices, such as taking a sensor reading, either for the sake of the reading or as a signal to start or stop another operation. At other times, it defines pieces of hardware, such as with the Keyboardio Model 01, which uses Arduinos to assign keys on a keyboard, or defines a piece of hardware's purpose. Once you have debugged the firmware, an Arduino can generally be counted on to run on its own, or in the background, like a printer that waits for input to begin functioning. If you are unsure whether an Arduino is suitable for a project, do an Internet search for "what you can do with an Arduino" and see if any of the uses mentioned in the results resembles yours.
By contrast, consider a Rasp Pi if you want any of the functionality of a personal computer – anything from a graphical display or an input device to Internet access, multitasking, or in-depth calculations. Compared to other computers, a Rasp Pi is a relatively low-powered device, but it is still much more versatile than an Arduino. Doing a search for "what you can do with a Raspberry Pi" may help to clarify your choice.
Perhaps the best selection criteria appeared a few years ago in Make: magazine: "Think about what you want your project to do. If you can describe it with less than two 'and's, get an Arduino. If you need more than two 'and's, get a Raspberry Pi" [12]. Regardless of your choice, you will need to further limit your final decision by deciding which model Arduino or Rasp Pi you need, and whether you will need any hardware add-ons, but at least you will know where to begin.
Infos
- SBCs: https://en.wikipedia.org/wiki/Single-board_computer
- HATs: https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/
- Microcontroller: https://en.wikipedia.org/wiki/Microcontroller
- Shields: https://www.progressiveautomations.com/collections/shields-and-sensors
- Adafruit: https://www.adafruit.com/
- Rasp Pi models: https://en.wikipedia.org/wiki/Raspberry_Pi#Generations_of_released_models
- Arduino boards: https://store.arduino.cc/usa/arduino/boards-modules
- Arduino Zero: https://store.arduino.cc/usa/arduino-zero
- Arduino Mega 2560: https://store.arduino.cc/usa/arduino-mega-2560-rev3
- Arduino licensing: https://www.arduino.cc/en/Guide/Introduction
- CC BY-SA 3.0: https://creativecommons.org/licenses/by-sa/3.0/
- A simple guide: https://makezine.com/2015/12/04/admittedly-simplistic-guide-raspberry-pi-vs-arduino/
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.
-
Plasma Desktop 6.1.4 Release Includes Improvements and Bug Fixes
The latest release from the KDE team improves the KWin window and composite managers and plenty of fixes.
-
Manjaro Team Tests Immutable Version of its Arch-Based Distribution
If you're a fan of immutable operating systems, you'll be thrilled to know that the Manjaro team is working on an immutable spin that is now available for testing.