This is a basic example on how to integrate a Unity character, Watson Speech to Text Service and Arduino.
How to replicate:
- Clone the repository
- Open the Unity Project "UnityArduinoSTT" in Unity (use Unity Hub)
- Add the Watson Speech to Text Instance credentilas (API Key and URL)
- Upload the "Traffic-Light.ino" Script to your Arduino
- Update the Serial Port with your Arduino Port in the "Example Streaming" Script as shown in step 3.3 . Just replace "/dev/tty.usbmodemxxxxxx" with your serial port of your Arduino.
- PLAY!
You are good to go!
Blog: Complete Instruction "Unity Character powered by Speech to Text & Arduino"
Author: Erika Agostinelli