Sending data from Isadora to Wiring

This tutorial introduces the basic interfacing between the Wiring hardware and Isadora http://www.troikatronix.com. The brief for the tutorial will be to send values from Isadora to Wiring to turn ON or OFF the WIring board LED. It assumes the Wiring software and Isadora are installed and the proper Wiring setup has been previously completed. For more Information on Wiring install check out the tutorials about Wiring installation and software setup.

Step 1

Copy and paste the following code on the Wiring editor: Verify your program is free of compiling errors by pressing the Compile/Verify button in the menu bar. Press the Upload button in the menu bar. In case of syntax errors the Wiring environment will print the error messages otherwise it will print the Upload was completed successfully, the uploading process triggers activity in the Rx/Tx LEDs on the Wiring hardware. The new program will start automatically after uploading. Use the Serial Monitor button to watch the data coming from the Wiring board, then close the Serial Monitor again.

Step 2

Next step is to setup things in Isadora. Start Isadora. In the "Search" box type Serial and find "Serial In Watcher - Text", select it and drop the object on the main Isadora work area:

Step 3

Double click on the first Send Serial Data object and a popup window will open, inside type the following small program:

"H"

"H" is used to as thecharacter we are sending to Wiring.

Step 4

Double click on the second Send Serial Data object, inside type the following small program:

"L"

"L" is used to as thecharacter we are sending to Wiring.

Step 5

Go to the "Output" menu and select "Serial Port Setup":

The Serial Port Setup popup Window opens, click on the Select menu and select the Wiring board serial port, on Windows it will appear as COMx, where x must be the number assigned to the Wiring board, on macosx it will appear as usbserial-xxxxxxxx. The other settings can be left as the default, the Speed parameter will be left to 9600 since this is the speed used previously in the Wiring program on step 1 (Serial.begin(9600);). Click OK to close the dialog box to continue.

Step 6

Go to the "Output" menu and select "Enable Serial Ports" this will activate the serial connection:

Note the "trigger" field in the Send Serial Data object will send an "H" or an "L"when clicking on it:

Interact with the Wiring board to turn ON and OFF the board LED by pressing the trigger field on each object. For more information about Isadora, check their forum at http://forum.troikatronix.com/.