2011-04-04

Processing and Processing-JS on the BeagleBoard under Angstrom

After reading the blog post about the serial port challenges in Processing and the method for fixing them, I decided to download the IDE and try it myself.  It seems to work reasonably well.  I haven't quite managed to learn enough about the Arduino to understand how they use Processing or how limited their implementation of it is, but I was able to install and run the Arduino tool on my BeagleBoard after applying Koen's serial port library fix.  I hope to use the tool to download applications onto my Trainer-xM, but I haven't yet been able to compile the examples natively because I haven't yet built avr-gcc.

This is highly related to my current personal project, which is working with Processing-JS.  I've been talking a lot about a BeagleBoard Linux Education project, but haven't really kicked the project off after working with others on the scope.  Mark Yoder's ECE497 class is where the most visible advancement seems to be taking place right now, though I've heard of several other educators also creating courses with the BeagleBoard, including the Stanford New Musical Controllers workshop.


For me, I like the ideas of avoiding compilation, working in the most popular development environment today (the browser) and being able to remote my interface anywhere in the world over the web.  I also believe the zero-install nature of web applications and the familiarity of working within a browser make it the perfect environment for newbies.  To that end, I've made a little fork off of my Linux education project to focus on JavaScript-based development.  I now have both Cloud9 and Processing.js installing as submodules.  Under Angstrom, I'm able to easily run Chromium as one of my browser options and see the output from Processing.js, such as the picture here.  Now to see which environment gets me talking to my Trainer-xM board first.

Also, sorry about the delayed BeagleCast this week--resulting in some of the topics not being timely.  I've had a challenge getting a call scheduled with Khasim to discuss Rowboat.

8 comments:

  1. It would be great to share step by step instructions to get the Arduino IDE as well as processing IDE to get up and running on the XM!

    I am particularly interested in using this for projects like these
    http://prayas.in/projects:even_war_has_limits

    where in we ended up using a PC (Atom processor) When it was not even needed !

    Thanks,
    Ram
    Tenet Technetronics.

    ReplyDelete
  2. Jason,

    Sorry to post this here... but I don´t find your email address.

    I´ve been wanting to say this to you since I first heard of the Beagleboard:

    WHY CAN´T TI offer the Beagleboard on Amazon.com´s Electronics Store?.

    Some of us get additional income in the form of Amazon.com gift certificates. As a result, some of us have a lot of "disposable income" in the form of virtual amazon.com currency. With one caveat, credit on Amazon.com can only be spent on Amazon.com.

    So, back to the point... I´d like to use some of my current $500 in credit at the Amazon.com site to buy a Beagleboard. But I cant, because neither TI nor any other third party seller offers Beagleboards on Amazon.com

    WHY, OH, WHY?!?!.

    :)

    Hope I´ve made my point across...
    FC

    ReplyDelete
  3. I really really want to buy a board soon, I do not know about the demand for BB-xM, but waiting 100 days to get it suggests a small population of interested people.
    Considering BB-xM is a great choice for many applications I cannot believe such small attraction.
    And meanwhile (presumably like many others) I do not mind paying an extra 60$ if that makes production line faster.

    ReplyDelete
  4. I don't think your information is correct. I make purchases from Digi-Key frequently and I typically get the xM boards in about a week. You do have to place the order on back-order and they make you jump through a few hoops to make sure you realize the boards aren't in stock, but boards are shipping to Digi-Key and others every week, so if you are working through authorized distributors you should be getting boards within a couple of weeks.

    ReplyDelete
  5. Jason,

    I'm interested in a Beaglebone but Linux is not one of my languages of choice. I would rather program it in assembler or machine language because I'm "old school". I don't see a lot of support for those languages and I'm not sure which ARM tools to use.

    I find the 4500 page usermanual to be large but it is written for engineers by engineers who may know how it works anyway and not for hobbyists like me who already know how to program but who need more of an explanation on how the Beaglebone works. It definately isn't your Commodore 64 Reference manual.

    I'm sorry to be posting here but I don't know how else to contact someone at TI who will listen. They just tell me to join a forum and my other boards from them just sit in a box because I'm frustrated with them.

    Chuckz

    ReplyDelete
  6. Nerd Progre, I don't know if you noticed, but the BeagleBone is now on Amazon for $79. http://www.amazon.com/Specialcomp-BeagleBone-Rev-A5/dp/B007KW80M6/ref=sr_1_1?ie=UTF8&qid=1339116793&sr=8-1

    ReplyDelete
  7. how did you get this running on your bbb? I have speant the past week trying to get it up and running and got no where........

    ReplyDelete