Arduino Uno vs BeagleBone vs Raspberry Pi

                                     Arduino Uno vs BeagleBone vs Raspberry Pi

main  Left to right: Arduino Uno, BeagleBone, Raspberry Pi

There is always some sort of project going on. These days, most of our projects include some sort of digital component – a microprocessor. If you haven’t gotten bitten by the Maker bug yet, we strongly encourage it. It can be incredibly rewarding. If you have even a minimal understanding of programming, there are websites, platforms and tools to help you develop your skills to the point where you actually create a hardware device with buttons, knobs and servos – a real physical world gadget. Software is fun, but when you can make your project physical it is even better.There are so many great platforms for creating digitally enabled devices that its gotten hard to figure out which one to use.

The three models are the ArduinoRaspberry Pi and BeagleBone. We chose these three because they are all readily available, affordable, about the same size (just larger than 2″ x 3″) and can all be used for creating wonderful digital gadgets. Before we get to the comparison, here is a brief introduction to each one. BeagleBone Black is the new Board in the town which is community-supported development platform for developers and hobbyists.

                                                         Arduino with Atmel

main1

The Arduino Uno is a staple for the maker community.  Arduinos come in various sizes and flavors, but we chose the Arduino Uno as an example of the prototypical Arduino.  It has an easy to use development environment, an avid user base and is designed to be easy to interface all sorts of hardware to.

Rasberry-Pi

2

The Raspberry Pi is the newcomer to the game.  It isn’t really an embedded computer.  It is actually a very inexpensive full-on desktop computer.  It is barebones, but at $35 for a real computer, its worthy of note, and it is a great platform for lots of Maker projects.

BeagleBone

beaglebone

The BeagleBone is the perhaps the least known of these platforms, but an incredibly capable board worthy of consideration for many projects.  It is a powerful Linux computer that fits inside an Altoid’s mint container.

Comparing the Three Platforms

comparison-arduino-uno-beaglebone-raspberry-pi

All three boards features that make them valuable to the hobbyist.  Below is a chart I put together outlining the features of the three for comparison.  If you aren’t familiar with what all these mean, that is fine.  However, there are a few differences that make each of these gadgets shine in their own types of applications.

First, the Arduino and Raspberry Pi and very inexpensive at under $40. The BeagleBone comes in at nearly the cost of three Arduino Unos. Also worthy of note is that the clock speed on the Arduino is about 40 times slower than the other two and it has 128,000 (!) times less RAM. Already, you can see the differences starting to come out. The Arduino and Raspberry Pi are inexpensive and the Raspberry Pi and BeagleBone are much more powerful. Seems like the Raspberry Pi is looking really good at this point, however, it’s never that simple. First, its price isn’t quite as good as it seems because to run the Raspberry Pi you need to supply your own SD Card which will run you another $5-10 in cost.

SONY DSC

An interesting feature of the BeagleBone and the Raspberry Pi is that they run off of a flash memory card (SD Card in the case of Raspberry Pi and MicroSD Card in the case of BeagleBone). What this means is that you can give these boards a brain transplant just by swapping the memory card. You can have multiple configurations and setups on different cards and when you swap cards, you’ll be right where you left off with that particular project. Since both of these boards are fairly sophisticated, it even means that you can easily change operating systems just by creating different cards to swap in.Also, despite the clock speed similarities, in our tests the BeagleBone ran about twice as fast as the Raspberry Pi. And perhaps most counterintuitive, the Arduino was right in the mix as far as performance goes as well, at least for a beginner. The reason for this is that the Raspberry Pi and BeagleBone both run the Linux operating system. This fancy software makes these systems into tiny computers which are capable of running multiple programs at the same time and being programmed in many different languages. The Arduino is very simple in design. It can run one program at a time and it programmed in low level C++.

 

Choosing a Platform

So why would you choose one platform over the other?

For the beginner, Arduino is recommend. It has the largest community of users, the most tutorials and sample projects and is simplest to interface to external hardware. The boards are designed to easily interface with a wide variety of sensors and effectors without and external circuitry, so you don’t need to know much about electronics at all to get started. If you haven’t played with these before, get one (they’re inexpensive) and try it. It can be a really great experience.

Raspberry Pi

rasberry-pi-atmel
A credit-card sized computer that plugs right into your TV. It has many of the capabilities of a traditional PC and can be used for word-processing, spreadsheet, and games.

BeagleBone

beagleboard

It’s the low cost, high-expansion hardware-hacker focused BeagleBoard for people that love embedded Linux systems. Basically a bare bones BeagleBoard, it can run all by itself or act as a USB or Ethernet connected expansion for your current BeagleBoard or BeagleBoard-xM.

                                                                    Arduino Uno

arduinoAn amazing tool for physical computing — it’s an open source microcontroller board, plus a free software development environment.

For applications minimizing size Arduino is recommend.

All three devices are similar in size, although the Raspberry Pi SD Memory card sticks out a bit making it slightly larger overall.  There are so many different flavors of Arduinos it is ridiculous.  Basically, what makes an Arduino an Arduino is a particular microprocessor and a little bit of software.  It uses a very small, inexpensive, embedded system on a chip microprocessor from a company named Atmel.  For advanced projects that need to be really small, you can buy these chips for a dollar or two and put the Arduino bootloader (a program that makes the Arduino give the Arduino its basic functions) on the chip and viola, you have an Arduino.

24                                A variety of different Arduino sizes and form factors

The BeagleBoard

beagleboard

The BeagleBoard has a larger and more powerful big brother, the BeagleBoard, so if you may need to scale up, the BeagleBone is a good choice.

25                                      The Arduino Uno, BeagleBone and Raspberry Pi. Note the Ethernet ports on the BeagleBone and Raspberry Pi

                                                             BeagleBone Black

beaglebone-specs

Processor: AM335x 1GHz ARM® Cortex-A8

  • 512MB DDR3 RAM
  • 2GB 8-bit eMMC on-board flash storage
  • 3D graphics accelerator
  • NEON floating-point accelerator
  • 2x PRU 32-bit microcontrollers

 Software Compatibility

  • Ångström Linux
  • Android
  • Ubuntu
  • Cloud9 IDE on Node.js w/ BoneScript library

BeagleBone Black is a $45 MSRP community-supported development platform for developers and hobbyists. Boot Linux in under 10 seconds and get started on development in less than 5 minutes with just a single USB cable.

For applications that connect to the internet, the BeagleBone or Raspberry Pi is recommended.

Both these devices are real linux computers. They both include Ethernet interfaces and USB, so you can connect them to the network relatively painlessly. Via USB, you can connect them to wireless modules that let then connect to the internet without wires. Also, the Linux operating system has many components built-in that provide rather advanced networking capabilities.

A very small USB WiFi adapter plugs right in to the BeagleBone or Raspberry Pi, and the Linux operating system can support these types of devices

The Arduino supports plug-in peripherals called “shields” that include the ability to connect to Ethernet, but the access to the networking functions is fairly limited. Plus by the time you buy the Ethernet shield you might as well just get one of the more advanced boards.

For applications that interface to external sensors Arduino and the BeagleBone is recommended.

The Arduino makes it the easiest of any of the boards to interface to external sensors. There are different versions of the board that operate at different voltages (3.3v vs 5v) to make it easier to connect to external devices. The BeagleBone only operates with 3.3v devices and will require a resistor or other external circuitry to interface to some devices. Both the Arduino and BeagleBone have analog to digital interfaces that let you easily connect components that output varying voltages. The BeagleBone has slightly higher resolution analog to digital converters which can be useful for more demanding applications.

With that said, it is important note that many things that you would want to connect to, including little sensors, have digital interfaces called I2C or SPI. All three boards support these types of devices and can talk to them fairly easily.

For battery powered applications, Arduino is recommended.

The Arduino uses the least power of the bunch, although, in terms of computer power per watt, the BeagleBone is the clear winner.  However, the Arduino has an edge here since it can work with a wide range of input voltages.  This allows it to run from a variety of different types of batteries and keep working as the battery loses juice. The Arduino uses the least power of the bunch, although, in terms of computer power per watt, the BeagleBone is the clear winner.  However, the Arduino has an edge here since it can work with a wide range of input voltages.  This allows it to run from a variety of different types of batteries and keep working as the battery loses juice.

For applications that use a graphical user interface, Raspberry Pi is recommended.  The Raspberry Pi is really in a category by itself because it has an HDMI output.   That means you can plug in a mouse and keyboard and connect it directly to your TV.  At that point you have a fully functional computer with graphical user interface.  This makes the Raspberry Pi ideal for use as a low cost web browsing device of for creating kiosk-type projects where you may have a display that people interact with.  In fact, just for fun, we installed the Arduino development tools on the Raspberry Pi and we were able to write a small program and download it to an Arduino from the Raspberry Pi.  It’s not a very fast computer, but it really is a computer.

Summary

The Arduino is a flexible platform with great ability to interface to most anything. It is a great platform to learn first and perfect for many smaller projects. The Raspberry Pi is good for projects that require a display or network connectivity. It has incredible price/performance capabilities.

The BeagleBone is a great combination of some of the interfacing flexibility of the Arduino with the fast processor and full Linux environment of the Raspberry Pi (more so in fact). So, for example, to monitor our hydroponic garden, we will likely use the BeagleBone since it has good input/output features and can easily connect to the network, so we can have it run a web server to make its readings available to us.

Original Post:: http://atmelcorporation.wordpress.com/2013/04/26/arduino-uno-vs-beaglebone-vs-raspberry-pi/

Advertisements

One thought on “Arduino Uno vs BeagleBone vs Raspberry Pi

  1. Pingback: One BeagleBone Black for All Kinds of Weekend Projects! | MAKE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s