Touchdesigner-WIAnode Sample: Ultrasonic Sensor
Sensor Features: Measures distance along a single axis.
Output Data: Distance value
Quick Example: The closer the detected distance, the smaller the diameter of the circle.
Step 1: Configure the Port
-
Connect the WIAnode to your computer.
-
Open the USB drive that appears and modify the
config.txtfile to input your Wi-Fi SSID and password. -
Save the file. (Do not save the file multiple times.) Power cycle the WIAnode to restart it.

Step 2: Connect the Sensor
- Use a 4-pin silicone cable to connect the Ultrasonic Sensor to the I2C port on the WIAnode.
Step 3: Connect TouchDesigner to WIAnode
-
Press the WKUP button on the side of the WIAnode to wake up the screen (it will turn off automatically after one minute of inactivity) and check the current device IP address.
-
Open the TouchDesigner example file, click on the WIAnode plugin, and enter the IP address shown on the WIAnode screen into the configuration panel. Enter
wianodeas the client name anddfrobotas the password. -
Once the plugin displays Connected, the connection to the WIAnode is successful.

Step 4: Control TouchDesigner with the WIAnode Ultrasonic Sensor
- Export the read distance data from the right side and map the values to the ‘transform’ node.
Was this article helpful?
