Setup and Use
Getting started using the BeagleBone Black is much easier than any other development board that I have ever used. Getting up and running is as simple as following three easy steps.
Step 1: Plug in a USB cable to the device. This will power up the board and once it runs through its boot process, you'll see the PWR LED steadily lit. Within 10 seconds, you should see the other LED's blinking in their default configurations. If everything looks to be in order, then you can move on to the next step.
- USR0 is configured at boot to blink in a heartbeat pattern.
- USR1 is configured at boot to light during microSD card accesses.
- USR2 is configured at boot to light during CPU activity.
- USR3 is configured at boot to light during eMMC accesses.
Step 2: Install the needed drivers. Head over to this link to download the correct drivers for your operating system. Currently support for Windows X86 and X64, Mac OS X and Linux is available, which makes the BeagleBone Black a true cross compatible development board. In the event you need FTDI USB to JTAG drivers, you can find them here. Likewise, USB to virtual Ethernet drivers for Linux can be found here and here.
Step 3: Use your PC's browser to browse your BeagleBone Black. Using either Chrome or Firefox, you will need to navigate to http://192.168.7.2. This will load BeagleBone 101, the internal user interface for your BeagleBone Black. Unfortunately, this interface is only reachable using Chrome or Firefox, as Internet Explorer has issues with USB virtual Ethernet connections. Look on the bright side though, this is a perfect reason to ditch Internet Explorer, forever. :)
The BoneScript library runs in Node.js. You can run it directly on the board using the 'node' interpreter or the Cloud9 IDE that invokes the 'node' interpreter. You can also run it using the bonescript.js script within your browser via remote procedure calls using Socket.io and served up by the web server running on your BeagleBoard. Access to the library functions is provided through the "require('bonescript')" function call. The call returns an object containing all of the functions and constants exported by the library. The Node.js API documentation on modules provides more information on the usage of 'require' within the 'node' interpreter.
The free version is more than enough for a single BeagleBone Black. Cloud9 IDE also features easy-to-use plugins for the most popular repository services on the internet including Github, Bitbucket, Windows Azure, Open Shift, and more.
The BoneScript Library provides several functions that are useful for interacting with your hardware.
You can quickly test this functionality by running the following Bone Script on the BeagleBone 101 page.
var b = require('bonescript');
I am going to limit my coding for this review, but if you would like to see further examples, tutorials, or information on the BeagleBone Black, please do not hesitate to let me know via a comment on this article, or by emailing me directly.