Posts

Showing posts from November 15, 2014

Unity 3D Test with a Serial Port Ranging Sensor

I've trying my hands at working with Unity3D, and getting used to the workflow, including scripting and working with external input devices. In this video I successfully get Unity to receive input from a Ranging Sensor connected to the computer via a serial port. When I put my hand within range, the code triggers the small cubes to move up, and the larger cube to turn red and rotating. After removing my hand for about 4 seconds the cubes are programmed to fall back to their original positions. The ranging sensor chips were programmed by someone else before hand. In the future I want to look into programming these chips as well! :)