Beaglebone
Beaglebone
https://learn.adafruit.com/beaglebone
Overview 3
Installing Drivers 4
• Download & Install 4
• Connect! 5
Ethernet 8
• Terminal Software 8
• dmesg 11
• Ethernet Test 12
WiFi 13
• Power and WiFi 14
• Driver Install 14
• Troubleshooting 18
Buy a BeagleBone 18
Adafruit Forums 18
The Beagle Bone is a great step up from microcontrollers (such as AVR, PIC, ARM
Cortex M3, 8051, Propeller, etc) to microcomputers. Unlike a microcontroller, where
the FLASH, EEPROM, RAM, etc is all in one chip, a microcomputer has them separated
out, like a classic computer such as a desktop or laptop machine. The Beagle Bone
has a main processor core running at 700MHz, a chunk of 256M DDR RAM, and
permanent storage onto a microSD card. This makes for a powerful machine, that has
no problems running Linux, a webserver, Python, FTP clients, SSH, etc.
The Bone also has great accessories built in, such as onboard Ethernet with 10/100M
connectivity, mini USB port with TTL serial converter, JTAG debugger for advanced
hacking, USB A host port for connecting a hub/WiFi/etc, power management IC that
keeps the board safe from a misplugged adapter, and tons of 0.1" spaced breakouts
One of the powerful abilities of the Bone is that it has I2C, SPI, and GPIO at a
hobbyist-friendly 3.3V level (instead of the more difficult to interface 1.8V) while also
running complex applications such as a webserver. This allows for more complex
projects that would tax an Arduino.
When prompted/warned about the software, click Continue Anyways - you'll need to
do it 3 times - once for each driver.
Plug the miniB side into the Bone, and the A side into your Windows computer. You'll
see a popup saying the computer found a USB serial converter.
And then an install popup. Click Install the software automatically and Next.
Follow the same instructions, installing Automatically and clicking Continue Anyways.
Finally, you will have the new USB serial port. Go to the Device Manager on your
computer to find the name of the COM port. In my case its COM17.
Ethernet
This mini tutorial will show you how to connect to the Bone via the serial connection
to determine the IP address, test the network connection and DNS. You'll need to
know the COM serial port address, see the Drivers (https://adafru.it/aLM) tutorial on
how to determine the COM and install drivers.
Terminal Software
To connect via the USB cable, you'll need a terminal program. Built into Windows is
Hyperterm. You can google around to find another good terminal program.
Connect to the Bone's COM port at 115200 baud, 8 bit, No parity, 1 stop bit, no flow
control.
dmesg
Now we can try out the Ethernet connection. Plug a standard straight-through cable
from the Bone to your Ethernet router.
Our favorite tool is dmesg - this will tell you all the system messages, such as what
hardware was found. Type dmesg and hit return at the root@beaglebone: ~# prompt.
Ethernet Test
You can see under inet addr: the internet address of the Bone - it uses DHCP to
automatically get an IP address and this is what the router gave us back. If you don't
see anything, try rebooting the system by typing in reboot and hitting return. Make
sure your Ethernet cable is well connected to both the Bone and the router.
Now you can test the outgoing connection. Type in ping 18.70.0.160 and hit return.
Next you can test the DNS system, by pinging www.google.com (https://adafru.it/aLN)
, which should also succeed.
WiFi
This tutorial may not work on beaglebone black or the latest versions of
Angstrom (kernel 3.8+) due to changes in the OS. We're working on a new/
updated tutorial, but we don't have an ETA - we'll post it as soon as we can!
Thank you for your patience.
Now that you have your Bone up and running, and Ethernet works, wouldn't it be nice
to get rid of that Ethernet cable? Yeah, let's go WiFi! This tutorial is specifically for the
verified WiFi adapter for Beagle Bone (http://adafru.it/814) adapter in the Adafruit
shop. It will not work with other WiFi adapters, as they all have different chipsets!
The BeagleBone has the neat ability to power itself just through the mini USB port.
However, this can cause some problems because the USB port cannot supply enough
power for BOTH the Bone and a WiFi adapter.
An external power supply is required to use WiFi, due to the power requirements.
Flaky behavior, crashes, etc will result if you do not plug in a 5V 2000mA
adapter! If you're still having problems, try an external powered USB hub!
Driver Install
You'll need to have Internet connectivity using Ethernet (https://adafru.it/ckU) , and
also be logged into the terminal to install the WiFi
adpater's driver, so make sure to complete those tutorials first!
Finally type in opkg install linux-firmware-rtl8192cu and press return. Plug in the WiFi
dongle, then type in reboot and return to reboot the machine.
Now that its rebooted, check dmesg - you should see the following
And if you type in ifconfig wlan0 there should be a link, it wont be connected yet so
there's a lot of 0's and no inet addr
There should now be an inet addr You can then test pinging an IP address and a
domain name.
Finally, if you want more detailed information about your link you can opkg install
wireless-tools to get the iwconfig command, which will give you tons of details.
boot RETURN
Buy a BeagleBone
Buy a BeagleBone (https://adafru.it/aLP)
Adafruit Forums
Adafruit Forums (https://adafru.it/forums)