Touchdesigner-WIAnode Sample: Button

Sensor Features: Enables interaction by pressing the button.

Output Data: 0 or 1

Quick Example: Press the button to toggle the output data between 0 and 1.

Program Address:https://github.com/DFRobot/WIAnode-examples/tree/master/WIAnode_Touchdesigner_samples/01.WIAnode-TD-button


Step 1: Configure the Port

  • Connect the WIAnode to your computer.

  • Open the USB drive that appears and modify the config.txt file by setting the P2 port to input. Ensure that the Wi-Fi SSID and password are filled in.

  • Save the file. (Do not save the file multiple times.) Power cycle the WIAnode to restart it.


Step 2: Connect the Sensor

  • Use a 3-pin silicone cable to connect the button to the P2 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 wianode as the client name and dfrobot as the password.

  • Once the plugin displays Connected, the connection to the WIAnode is successful.


Step 4: Control TouchDesigner with the WIAnode Button

  • Export the read button data from the right side and map the values to the switch node.

Was this article helpful?

ON THIS PAGE

TOP