I've begun working on the BeagleBone Black Bridge. I will be using the Debian 7.9 2015-11-12 image. I wanted to use the 8.3 image, but there are some device tree overlay issues when using PWM.
There is a new branch on Github where I will be checking in code from time to time until the work is complete. This is a very volatile branch, so use it at your own risk.
I have some notes on installing Python 3.5.1 on the clean 7.9 image, and I will be updating this wiki page as I make progress. You can check that page to see the current status and read my notes. The page will be cleaned up before the branch is merged into the master branch.
I will be using the Adafruit_BBIO library as a board interface. One caveat - it must be run as root or with sudo. Stay tuned!
Xi4Snap! Is Almost Complete
Just a little more testing, and a quick update of the user guide and the release will be ready.
Once that is complete, servo support is next in the pipeline.
The first set of block definitions has been finalized (pictured below) and all client/server code has been completed. Testing for Arduino, and Raspberry Pi is complete on Linux. I just need to complete the BeagleBone Black testing, then retest all micro-controllers on Windows. When the documentation is completed, release v.001 will become available.
Additional Features That Will Be Included With v.001 All the features described in this section have been tested in Linux and are ready to be included in the first release. 1. As you probably know, Xi makes use of the Johnny-Five library. This powerful library provides a consistent, hardware independent micro-controller API. As result, a single server file supports all 3 micro-controllers. Less code, means less maintenance.
2. Speaking of launching, when the XiDuino server is launched, it will automatically launch your default web browser and set the page to http://scratch.mit.edu/. If your browser is already open, it will open a new tab to Scratch. Place the XiDuino launch command in a .bat file or shell script, create a shortcut, and you have "One Button Launching". 3. Another feature that was added is automatic Pin/PWM compatibility checking. If a pin is selected for PWM operation, but does not actually support PWM, an error message is displayed. Below, is a screen shot of the alert message generated when pin 7 on a Leonardo was attempted to be set to PWM mode. The feature works for the Raspberry Pi and BeagleBone Black as well.
Future Release Plans
Support for additional devices. (Servo, Sonar, Piezo, Steppers, etc.)
Support for Snap!
A simplified block language translation scheme.
A one-click install script.
Stay tuned - there is more to come!
Xi
The Next GenerationScratch 2.0 Hardware Interface For Arduino, Raspberry Pi, and BeagleBone Black
Click here to see the proof of concept results and video demos.
Learn How To Wirelessly Control an Arduino Using the BeagleBone Black or Raspberry Pi