Beaglebone A6 Quick-start:

Beaglebone A6 Quick-start:

Image

Note: please plug in the power supply before connect beaglebone to your computer through USB cable. (Otherwise, power may not enough).

Step1:

Use the provided USB cable to plug BeagleBone into your computer. This will both power the board and provide a development interface. BeagleBone will boot Linux from the provided microSD card and operates as a flash drive. This provides you with a local copy of the documentation and drivers.

You’ll see the PWR LED on steadily. Within 10 seconds, you should see the USR0 LED blinking in a heartbeat pattern. During accesses to the SD card, you should see the USR1 LED turning on.

Step2:

If it is doesn’t work, you properly need install drivers for your operating system.

Step3:

After you can see the microSD card, eject it. The EJECT operation tells your BeagleBone to switch from “storage mode” to “network mode“, enabling you to access the networking features over your USB cable. On each power-up, BeagleBone defaults to “storage mode”.

On Windows, it will auto install the USB Ethernet driver:

Image

After the deriver installed, run ipconfig, you will see there are new adapter connection 2:

Image

Step4:

Cloud9 IDE can be used to develop software on your BeagleBone without the need to download any development software. Cloud9 IDE runs directly on your BeagleBone and is accessible through either Chrome or Firefox (Internet Explorer will NOT work).                                               Open Brower, go to url: http://192.168.7.2:3000/

Create a simple JavaScript have fun.

Click the “+” in the top-right to create a new file

Copy and paste the following code into the new tab:

var bb=require(‘bonescript’);

setup = function () {

pinMode(bone.USR3, OUTPUT);

}

loop = function () {

digitalWrite(bone.USR3, HIGH);

delay(100);

digitalWrite(bone.USR3, LOW);

delay(100);

}

bb.run();

Note: this code is different with the code from original website (which has an error).

Image

Save it and Run/Debug it, you should see the USR LED3 blinking.  (If not success, try uncheck the “Run in debug mode”, and then Run it.)

Reference from geagleboard.org  : http://beagleboard.org/static/beaglebone/latest/README.htm

Advertisements

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