Translate

Xi Update Report

The next version of Xi for Arduino is almost ready for release. Releases for BeagleBone Black and Raspberry Pi will follow on.

All features shown in the screen shot below are currently functional with the exception of stepper motor support. I am awaiting delivery of a bipolar stepper motor and Big Easy controller board, and hopefully this will be incorporated into the release in about a week or so. It will probably take me another week to update the documentation.




Here is an expanded view of the "Set Pin Mode" block. I have added hints for the pin type needed for the new features. For example, If you wish to add a SONAR device, you would connect the device to a digital input pin.


The command block to move a continuous or standard servo contains an "Inverted" field selector. In the case of the continuous servo, if the orientation of the motor provides movement in a direction opposite of what you expect, you can invert the movement. This allows the Direction field to reflect the correct direction of the motor no matter what the orientation. For standard servos, depending upon motor orientation, the angle might be the reverse of what you expected, so here too, the invert field comes in handy.


For distance sensors, both SONAR and Infrared, the reported distance reported can be configured to be either centimeters or inches.



That sums up the current status. If there is a device you really would like to see incorporated in a future release, please let me know. If you have ideas of how to improve the current device support, let me know those as well.

Wish me luck with the steppers!

s2a_fm Taiwanese Translation Available on Github


Thanks to Hsu Jen-Chieh, s2a_fm blocks have been translated to Taiwanese.

s2a_fm is now contains block translations for 9 different languages supporting both Scratch and Snap!

Xi For Snap! Has Been Released










A JavaScript client for Snap! is now included with the Xi distribution. It is available at https://github.com/MrYsLab/xi.

What's next for Xi? More device support. The next mini-goal is to add stepper motor support for Arduino, BeagleBone Black and Raspberry Pi.

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.

Stay tuned.

Anders Berggren Just Sent Us 

A Video of Xi Controlling a Raspberry Pi with an Arduino


Thank you Anders!!!!



Xi  Has Been Released!

Simultaneously connect Arduino, BeagleBone Black and Raspberry Pi boards to Scratch 2.0.

Download the software here: https://github.com/MrYsLab/xi


Xi Status Update 2

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

  1. Support for additional devices. (Servo, Sonar, Piezo, Steppers, etc.)
  2. Support for Snap!
  3. A simplified block language translation scheme.
  4. A one-click install script.


Stay tuned - there is more to come!