../

Summary

When I started looking into minature device on which I could run Linux, I had a hard time finding a decent place to start. Without experience, it was difficult to tell which device I should be looking at, how they compare, and what they could run.

This will cover my experience in getting started with the BeagleBone devices and Grove.

BeagleBoard and BeagleBone

I was eventually streered towards the BeagleBone line of devices. As of November 2015, there are several devices in the BeagleBoard and BeagleBone line. I want to focus on BeagleBone Black, and BeagleBone Green, but before we get to those, I created a quick overview of some other BeagleBoard and BeagleBone devices. When searching for BBB and BBG, you'll occasionally run into builds or information specific to these:

  BeagleBoard BeagleBoard xM BeagleBoard X15 BeagleBone Rev A BeagleBone Black Rev B
Price $149 $239 $89 $45
Availability Introduced in 2009. Introduced in June 2010. Introduced in October 2015. Introduced in 2011. Discontinued in ...? Introduced in ...? Discontinued in 2014.
Processor TI OMAP3530 720MHz 32-bit ARM Cortex-A8 AM37x 1GHz ARM Cortex-A8 TI AM5728 2x1.5 GHz ARM Cortex-A15 AM335x 720MHz 32-bit ARM AM335x 1GHz 32-bit ARM
Image
Size 3.1" x 3.0" or 79 mm x 76 mm 3.25" x 3.25" or 82.6 mm x 82.6 mm 4.2" x 4.0" or 107mm x 102 mm 3.4" x 2.1" or 86 mm x 53 mm 3.4" x 2.1" or 86 mm x 53 mm

If not obvious, note that an ID-1 format credit card is 86 mm x 54 mm. With the exception of the newer X15, these devices have a smaller footprint than a standard credit card.

BeagleBone Black and BeagleBone Green

Now that we have those out of the way, here is some information on the BeagleBone Black (aka BBB), BeagleBone Green (BBG), BeagleBone Green Wireless (BBGW), and BeagleBone Black Wireless (BBBW). There are a few key differences between these devices, and I've highlighted them here:

  BeagleBone Black Rev C (BBB) BeagleBone Green (BBG) BeagleBone Green Wireless (BBGW) BeagleBone Black Wireless (BBBW)
Price $55 $39 $45 $69
Availability Introduced in 2013. Introduced in August 2015. Introduced in May 2016. Introduced in September 2016.
Processor AM335x 1GHz 32-bit ARM Cortex-A8 AM335x 1GHz 32-bit ARM Cortex-A8 AM335x 1GHz 32-bit ARM Cortex-A8 AM335x 1GHz 32-bit ARM Cortex-A8
Memory 512 MiB 512 MiB 512 MiB 512 MiB
EMMC (onboard flash) 4GB 4GB 4GB 4GB
Video micro HDMI none none micro HDMI
Power 3 possibilities:
  1. USB port (mini USB)
  2. expansion connectors
  3. 5V DC 1A barrel jack
2 possibilities:
  1. USB port (micro B USB)
  2. expansion connectors
2 possibilities:
  1. USB port (micro B USB)
  2. expansion connectors
3 possibilities:
  1. USB port (micro B USB)
  2. expansion connectors
  3. 5V DC 1A barrel jack
Grove connectors none Two connectors:
  1. I2C Grove interface
  2. UART Grove interface
Two connectors:
  1. I2C Grove interface
  2. UART Grove interface
none
USB host connectors
  1. 1 USB type A connector
  1. 1 USB type A connector
  1. 4 USB type A connectors
  1. 1 USB type A connector
LAN Ethernet 10/100 RJ45 Ethernet 10/100 RJ45 none none
Wireless none none
  1. 802.11 b/g/n 2.4 GHz
  2. Bluetooth 4.1 LE
  1. 802.11 b/g/n 2.4 GHz
  2. Bluetooth 4.1 LE
Image
Size 3.4" x 2.1" or 86 mm x 53 mm 3.4" x 2.1" or 86 mm x 53 mm 3.4" x 2.1" or 86 mm x 53 mm 3.4" x 2.1" or 86 mm x 53 mm 3.4" x 2.125" or 86 mm x 54 mm

The biggest differences are:

  1. price
  2. the 5V jack
  3. the HDMI interface
  4. the Grove interface

Enclosures

Because of the 5V jack, HDMI, and Grove connectors, it is important to note that the enclosures for BBB, BBG, and BBGW are not interchangeable. But they're easy to find, and relatively cheap.

For example, here are two simple enclosures for BBB and BBG:

BBB acrylic and plastic caseBBB case from AdaFruit
BBG acrylic case BBG case from Seeed Studio

Running Linux

There are special builds of many common Linux distributions for ARM7 which will run on BBB and BBG. These include the necessary kernel patches specific to BeagleBone. While sites like elinux.org do have instructions on building the linux kernel from source, you can also download prebuilt Debian or Ubuntu installation images for the BeagleBone. I previously wrote another article on how I installed and setup Ubuntu on the BBB and BBG.

Grove

Which brings us to the topic of the Grove connectors. I wasn't familiar with Grove prior to playing with the BBG. Seeed Studio in Shenzhen, China, has created a line of sensors and devices with standardized connectors, which they call Grove. For example:

3 axis accelerometer 3-axis accelerometer
7 segement display 7-segment display
button button
digital light sensor digital light sensor
infrared reflective sensor infrared reflective sensor
OLED OLED
serial LCD serial LCD
temperature and humidity temperature and humidity sensor

A more detailed list of the hundreds of Grove sensors and devices is available from Seeed Studio's wiki.

Using Grove

I've started writing a C++ library to access and control Grove twigs on the BBG and BBGW. The library is licensed using the standard 2-clause BSD license, allowing it to be used on closed-source and commercial products without problem. More information on the SG++ library can be found on the SG++ API page. The list of Grove twigs supported in SG++ is available from the SG++ status page.

Last modified: 2016-12-24
Stéphane Charette, stephanecharette@gmail.com
../