Touchdesigner-WIAnode kit Sample: Accelerometer Sensor
Sensor Features: Enables interaction by changing the magnitude of motion.
Output Data: gyr_x, gyr_y, gyr_z, acc_x, acc_y, acc_z
Quick Example: The x-axis of the accelerometer controls the x-axis rotation of a cube in the virtual environment, creating a real-to-virtual mapping.
Program Download::https://github.com/DFRobot/WIAnode-examples/tree/master/WIAnode_Touchdesigner_samples/07.WIAnode-TD-accelerometer
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 Accelerometer 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 Accelerometer Sensor
- Export the read gyr/acc data from the right side and map the values to the ’transform‘ node.
Was this article helpful?
