Skip to main content

Receive data from Arduino in Isadora


Isadora settings

Communications:> Serial port setup
Port 1
Device: select -> usbmodem

Communications>
Enable serial ports

Screenshot 2025-01-14 at 10.52.26.png Screenshot 2025-01-14 at 10.51.58.png

NB! If you have this on, close the serial monitor in Arduino,
If the serial monitor is on, Isadora cannot connect to the Arduino.
This also works the other way around. If you want to adjust your code in Arduino and you want to test the code, you must turn off the serial monitor in Isadora.

Open serial monitor in isadora:
windows > show monitor
Here you can see that the data is coming in from the Arduino. On the far right you can see that the value changes from 0 to 400(or more depending on the sensor). The serial monitor is for monitoring purposes only. You can turn it off when you see that the connection works.

In the Serial in watcher actor you see that the value changing. You can use that output for your patch.

Example with 3 LDR light sensors + code

A sensor usually outputs a range of data. In that case use the Serial in watcher - Text

Screenshot 2026-06-02 at 12.18.15.png

open the actor by double klikking it and fill in this code : value:int=eol
in actor put eom char on 10

Double click on the actor and fill in : value1:integer=3 digits "," value2:integer=3 digits "," value3:integer=3 digits

Screenshot 2026-06-02 at 14.33.42.png

you could folow this tutorial for connecting the LDR sensor

I used this arduino code for 3 LDR light sensors:

void setup() {
Serial.begin(9600); // Start seriële communicatie
}
void loop() {
int ldr1 = analogRead(A0);
int ldr2 = analogRead(A1);
int ldr3 = analogRead(A2);

Serial.print("value1=");
Serial.print(ldr1);
Serial.print(" value2=");
Serial.print(ldr2);
Serial.print(" value3=");
Serial.println(ldr3);

delay(100);
}

Example file:

download Isadora example file:
Touchdesigner tutorial: https://www.youtube.com/watch?v=4dO7Q5oQbRg