Updated To Version 7

French block translations have been updated for both Scratch and Snap!.

A bug was fixed for Snap!

Digital input data was not being reported correctly when using Snap!.


Version 1.3 Released

This release includes a tkinter based graphical board configuration editor. Documentation for the editor may be found on the wiki here.

If you are using an older version of the program, you will need to create a new routing map using the editor.

Simultaneously Control, Monitor and Interconnect Up to 10 Arduinos With s2aiomulti

I have just released a new package called s2aiomulti, that allows you to control and monitor multiple Arduino boards from a single instance of Scratch 2.0 off-line.

Not only can you monitor and control multiple boards individually, you can also pass data from one Arduino to another!

The package contains 2 main software components, the s2aiomulti router and the s2aiomulti Arduino Server. The router interacts with Scratch and dispatches commands to the appropriate s2aiomulti Arduino server. When data updates are reported by an active Arduino board to its associated s2aiomult Arduino server, the data update is dispatched to the router.  The router then forwards the information to the appropriate reporter block.

s2aiomulti uses Python 3.5 and Python asyncio. 

Arduinos can be connected via USB cable or via WiFi (WiFi was tested using a Sparkfun RedBot with WiFly module).

Build your own personal Arduino IoT network!

pymata-aio v2.8

Has Been Released

This is a bug fix release for a Windows specific issue. The timer resolution for Windows is larger than that for Linux or Mac and in some cases causes a lag in data reporting for analog data. Thank you Guido van Rossum for pointing out the timer differences.

There was bug I discovered in testing out the Latch Data feature and this was repaired as well. What is the Latch Data feature? You can check out an explanation on the Wiki page.

In addition, the code has been refactored for better efficiency.

Thanks go to Dave Fisher and Leigh Mathews for help in verifying this release.

To install:

pip install pymata-aio

To upgrade:

pip install pymata-aio --upgrade

  • Linux/Mac users may need to use sudo to install or upgrade. 
  • Use the "pip3" command if you have that installed on your computer instead of "pip".