Tag Archives: embedded device

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 (https://github.com/jadonk/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 (cordova.apache.org) 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!

Blinking lights MSP430 FG461x

Photo of two experimenter boards for the MSP43...

Image via Wikipedia

I have been working on MSP430 for sometime now. It is an TI (Texas Instruments ) chip. Very fun to play with. We are using a MSP430FG461x series experimental board. This little experimental board has all the bells and whistles one may need to create any application from a home automation controller to a simple step-motor driver. TI provides very good documentation for this grown up toy.

Our first lab homework for this baby was :

By using the MSP430 FG4618 Microcontroller, write a program that controls the LED #1, #2,#4.When we perpetually push the two buttons at the right bottom corner of the board, all ofthe LEDs turn on.When we push perpetually one of the buttons, only the LED #4 blinks, the others turn off.When we push no buttons, the LED #1 and #2 blinks complementarily and the LED#4 turnsoff.

My biggest problem with this exercise was to find what led was connected to what port. However in the end I figured it all out.

Below you will find the program :



Installing Ångström Linux on BeagleBoard

We have been able to install Ångström Linux to our beagle board. Ran into couple problems. The first one was we trusted BeagleBoard Beginners wiki just too much!!

You see we learned that we should NOT set any environment variables while using demo u-boot image which was downloaded from here. In fact what we did is we created our own Ångström image (from Ångström site) and simply installed that to our Linux partition of our SDHC card. And it worked beautifully. Though I must say first boot is a drag, very very slow.

Continue reading