August 4, 2014

A Key to the Floodgates of Awesome

Today I finally figured out how to run Python scripts from a Node.js server. Usually that would be unnecessary, but I find it useful. I will write BeagleBone Black programs in Python, Ruby, or Bonescript. The server will be able to run any of the above to allow browsers to interact with circuits.

Here is a video of the circuit and accompanying web page. The server gets a reading from the rotary encoder (the glowing cyan knob) and then controls the blue circle's position on the web page.

This demo is not very exciting, but it is key to learning about the BBB's web server. This is only the beginning. Imagine what can be done with electronic circuits and a full-featured web server? On top of this, imagine when I add in an Arduino Uno or two! The fun doesn't seem to want to end! Stay tuned for more!

No comments:

Post a Comment