- Setting up Development Environments
- Building an acrylic multi-touch pad based on the principles of FTIR
Using the computer vision library of OpenCV, the video feed from the webcam is captured and transformed with a threshold set such that only the contour of the red hue on the finger can be seen. By finding the center of the contour, touchpoints can be recorded.
- Introduction to Arduino Development Board
- Implementing a circuit using a Wifi-Capable Microcontroller that detects button press
- Get the pose data from the IMU sensor on the Microcontroller
- Integrating the user input from the motion controller into Unity FPS game
Initially, the circuit was assembled on a breadboard. By establishing a connection with a local network, the script controlling the player in Unity could read the data from the wireless controller. This facilitated triggering the gun and adjusting the player's aim based on the rotation data received from the sensor. For the final part of the project, parts were sketched on Fusion 360, laser cut, and assembled into a case for the controller. A trigger mechanism was also made by bending a plastic part into shape and attaching it to the case.