Project Summary

Languages: C/C++, C#
Tech: Blender, Unity
Timeline: Feb 2023
Role: Engineer
Team Size: 1

Situation

I want to make a photo taking game in VR. So a controller to mimic holding an actual camera would hopefully feel great for players!

What I did

I used a WeMos-D1R2 as the microcontroller for this device.

Creating the Chassis: I create the chassis for all the hardware using a mixture of 3d Printing and cardboard when I got lazy. Solder, Duct tape, drill holes and screw all the components and voila the hardware is done.

Initial Plan: Camera bodies are huge and bulky so I had a lot of space and freedom to layout the internals. I grabbed parts from previous projects already and bought a vibration module to add Haptic feed back when zooming in and out. One consideration was to ensure the product's center of mass was exactly at the center of the box. So i added weight around the chassis to make it balanced.

Link To Unity: Once everything was hooked up, I setup the initial code to enable wifi, buttons, LEDs, vibrations on the WeMos. Then I setup a TCP connection between the WeMos and my computer to send a bool and an int as a packet to Unity which has a thread for processing and updating internal values on packet receive. It is now complete!