Project

General

Profile

BeagleBone Black Setup

Instructions for Ubuntu

- Adafruit IO Library
- pyserial
- pygame

Step 1: Flash board with latest Ubuntu image

Note: A microSD card is required. This step takes a few minutes

- Go to http://elinux.org/Beagleboard:Ubuntu_On_BeagleBone_Black
- Find the link for the eMMC flasher, download it, and unpack it with 7-zip
- Use Image writer utility to load the image onto a microSD card
- Put the microSD card into the unpowered BeagleBone Black
- While holding the boot button, plug in your BeagleBone Black into your computer via USB
- Release the boot button when the four LED's start to flash
- The LEDs will flash, once all four are solid on, then the installation is complete
- Power down the board by holding down the power button until the power LED goes off.
- Unplug the board, remove the SDcard, then plug the board in through USB
- After 30 seconds, you can ssh into the board
- username: ubuntu password: temppwd

Step 2: Install Adafruit BBIO library

Type the following commands into your terminal:
> sudo ntpdate pool.ntp.org > sudo apt-get update > sudo apt-get install build essential python-dev python-setuptools python-pip python-smbus -y > sudo pip install Adafruit_BBIO

Step 3: Install pygame

> sudo apt-get install python-pygame

Step 4: Install pyserial

> sudo apt-get install python-serial

Step 5: Install text editors

> sudo apt-get install vim > sudo apt-get install emacs

Instructions for Angstrom

- Adafruit IO Library
- pyserial
- OpenCV in C++

Step 1: Flash board with latest Angstrom image

Note: A microSD card is required. This step can take about an hour.

- Go to http://beagleboard.org/latest-images/ and download the Angstrom distribution for eMMC flasher
- Follow instructions on http://beagleboard.org/getting-started#update to flash the image

Step 2: Boot the board

- Plug the board into your computer with the USB cable. Do not plug in the camera into the BeagleBone Black.
- You should see the blue LED's on the board flash.
- Remember that to shutdown the board, hold down the power button until the power LED next to the 5V jack turns off.
- open a terminal program such as putty, tectia, or TeraTerm
- ssh into
- password is blank (e.g. hit enter, don't type blank)

Step 3: Install the Adafruit IO Library

This library provides access to the I/O pins in python

Instructions follow Adafruit tutorial: https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation

> /usr/bin/ntpdate -b -s -u pool.ntp.org > opkg update && opkg install python-pip python-setuptools python-smbus > pip install Adafruit_BBIO

Step 4: Install pyserial

This library allows access to the serial terminal in python

> pip install pyserial

OpenCV is already installed for C++. See the main page for details on how to use openCV.