[AccessD] Beaglebone lives

John Colby jwcolby at gmail.com
Wed Feb 4 23:12:24 CST 2015


I mentioned that I had purchased a Raspberry Pi clone called BeagleBone 
Black (BBB), which I received today.  I hooked it up to my Clinix box

(My own personal fork - ColbyLinux :~)

using a supplied USB cable.  I turned it on and was able to see the 
memory on the BBB from file manager.

I ran Start.html in the root dir and up comes a web page.  There is a 
web server running by default on the BBB.  I have not really figured out 
what is running where but I found something called Cloud 9 which is a 
cloud based IDE for development on the BBB.  It appears to be running on 
the BBB itself because the browser address is 
http://192.168.7.2:3000/ide.html, which is the BBB.

Using "how to" at http://beagleboard.org/support/bone101 I stepped 
through writing my first java script in this Cloud 9 IDE and then 
running it on the board.  It just blinks a light.

var b = require('bonescript');

var state = b.LOW;

b.pinMode("USR0", b.OUTPUT);
b.pinMode("USR1", b.OUTPUT);
b.pinMode("USR2", b.OUTPUT);
b.pinMode("USR3", b.OUTPUT);
setInterval(toggle, 1000);

function toggle() {
     if(state == b.LOW) state = b.HIGH;
     else state = b.LOW;
     b.digitalWrite("USR3", state);
}


Woot none the less!!!  Less than an hour, including having to move my 
router around to get it close to my Clinix box and the BBB and I am 
running code.

I'm telling you guys, if you have the slightest interest in controllers 
and / or electronics, go buy this thing

http://www.adafruit.com/products/703

and I will work with anyone who wants to play with me.  This thing 
contains a breadboard that sits next to the BBB and allows us to pull 
voltage, ground and signals out to the breadboard to drive circuits.

Look at http://www.adafruit.com/products/702.  (included in the 703 
product above)

Then read down through http://192.168.7.2/Support/bone101/

I have experience with controllers, though not Java script.  In 1996 I 
designed a debit card vending machine which was actually produced and 
placed around Puebla Mexico and in the subway in Mexico City.  I did the 
electronics and coding in a dedicated SBC running a real time OS (not 
Linux) using C.

I also played with Atmel ucontrollers a few years ago, again using C but 
this time written on a PC and pushed down into the controller.

Things have gotten much easier with the BBB!

Ever wanted to control a robot or something.  This makes it pretty simple.

Email me off line if you are interested and I'll talk with you.



More information about the AccessD mailing list