Partical.grt
Published in

Partical.grt

Arduino Send Data to TouchDesigner— Tutorial in TouchDesigner

TouchDesigner connect Arduino : TouchDesigner Receive Data from Arduino sending

Arduino Side

Full Code

void setup() {
Serial.begin(9600);
}

void loop() {
int dir = 0;

Serial.print(dir);

delay(100);
}

Explain

First, setup up the Serial Baud Rate. I setup this with “9600” here.

void setup() {
Serial.begin(9600);
}

In the loop function, just using “Serial.print()”. And you can send the data out through Serial repeatedly.

Also, adding the delay 100ms to prevent it sends too many data.

void loop() {
int dir = 0;

Serial.print(dir);

delay(100);
}

TouchDesigner Side

Let’s get a Serial (DAT)

Input the you Baud Rate, that’s what we just set above with “9600”.

And select the Port which your Arduino is. If you plug correctly, you can tap the little triangle to open a dropdown list to choose.

How to find you Arduino Port?

I just put an official helping resource below. Go check it out!

https://support.arduino.cc/hc/en-us/articles/4406856349970-Find-the-port-your-board-is-connected-to

After you done that and active Arduino code, you should get some data in Serial DAT. And now you can do whatever you want in TouchDesigner.

--

--

--

Just some the tips and tutorials on my creating journey. I think you will find something useful. 😉 Instagram: https://www.instagram.com/partical.grt/. TouchDesigner Snippet & Works: https://partical.notion.site

Recommended from Medium

Adding CodePen oEmbeds to your Drupal site

Nvidia GeForce experience error code 0x0003: Solutions to fix this Issue Today

Using Bollinger Bands to Trade Cryptocurrency with Python

How to setup Deep Learning environment on AWS GPU instance

Integrating Open Policy Agent with Terraform

manmatha8855 is Inviting you to join MContent, Use the referral code manmatha8855 and earn MContent…

Learning how to code HTML with Codecademy

Exploring View Binding on Android

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Partical Weng

Partical Weng

A person love new things and extremely futurism.

More from Medium

New TouchOSC Tutorial #4: Receive Data from TouchDesigner with OSC (CHOP)

Whatsapp wordcloud

First Project: Terminal Wordle.py

width of widgets in tkinter

tkinter code creating an Entry and a Button and setting the width of each to 35