Sending Data from a BeagleBone Black to an Android Tablet

The beagle board community has always amazed me. They strive to design and produce low cost embedded systems. This is clearly an amazing task. And I also believe amazingly hard.

A true open hardware, community-supported embedded computer for developers and hobbyists. Ride the 1GHz edge with the Sitara™ ARM® Cortex-A8 processor, boot Linux in under 10 seconds and get started on development in less than 5 minutes with just a single USB cable.

Says the information on the web-site. And what they say is true. I have had one of these on me for some time now. And got to play with it.

BeagleBone Black

The BeagleBone Black

Leaving aside the hardware. Writing software for such an amazing device is just so fun!!

The new BeagleBone Black comes with Node.js installed with couple neat libraries such as the BoneScript ( With this library it is possible to get analog data from the pins using Node.js

A sample code could be viewed below;

The html file can be found below;

Probably not the best way to sample data. But hey, this is free code you are looking at. Will fix it on later.

Now the great thing is that, I can actually use the Cordova ( library to get this to work over an Android tablet. Hence I would be able to actually interact with a BeagleBoard using a Android tablet. How cool is that!

Now the thing is that I can not give you all the code. As I am writing the more important parts for my work work. However feel free to ask questions. I will see if I can answer them.

Have fun!

This entry was posted in Coding for fun and tagged , , , , , , , on by .

About John Roach

My name is John Roach. I am an electrical-electronics engineer that has specialized in software development. This website contains very few snippets of my code written for fun and/or work. The rest, sadly, probably, will never make it to this site. You can view my projects from the link . I have also written two papers on home automation; “A Load Balancing Protocol for IP Based Pervasive Networks” – John Sefik Roach; Corresponding Author: Ali Ziya Alkar; Smart Computing Review, vol. 2, no.2, October 2012 On page(s): 338-347; DOI: 10.6029/smartcr.2012.05.008 “IP Based Home Automation System” – Alkar, A.Z.; Roach, J. ; Baysal, D.; Consumer Electronics, IEEE Transactions on November 2010 Issue:4 On page(s): 2201 – 2207 ISSN: 0098-3063

2 thoughts on “Sending Data from a BeagleBone Black to an Android Tablet

  1. Alan Bottorff

    This is a shot in the dark. I’m using a beaglebone as a stand alone web server using jquery. My HTML file has scripts in the head section to load the ‘jquery.js’ files. As long as I use a CDN, it works. When I use a local file instead, it doesn’t. Using Chrome, it appears it is loading the files contents, but not interpreting them as JS files. Same for the CSS files. If I copy the project to my laptop (linux), the files work perfectly using the jquery files. (Of course, the beaglebone specific functions are missing.) I have tried to eliminate the encoding of the files (UTF8) as a problem, they seem OK.
    So has anyone had success in using a beaglebone as a hotspot with the jquery files on board? (The hotspot part works fine.)

    Thanks, Alan Botttorff


Leave a Reply