[Unity + Arduino] Analog input from Arduino

This is the second blog about how to connect Arduino and Unity with Serial communication. If you want to see how to set up Unity setting for Serial port use in Mac, Please go and check The first blog. 

Unity version : 2018.3.1f 1 / Mac OS

Materials : Arduino, a potentiometer, a led

Software : Arduino IDE, Unity 3D

In this blog, I will show how to connect Arduino to Unity with serial communication and without any dependency or external libraries.

Generally, using serial data from Arduino in Unity seems okay but I could see there are a long lag and timing issues in sync between Arduino Serial and Unity Serial Port. I just did a few variations of delay(n) function in Arduino and serial port timeout(n) in Unity side.

Still updating contents…

One Comment

Leave a Reply to Luka Cancel reply

Your email address will not be published.