motorTrial.ino
was created as a proof of concept that an Arduino can send the right signals to the ESC to keep a brushless motor running. (based on this
Using this code, the Arduino accepts potValue = 51
all the way up to potValue=255
. This corresponds to
motorGrav.ino
listens to a Unity environment for the letter ‘A’ and keeps the motor running at a constant speed when this happens, similar to the initial sections of GyroVR. In this case, the user should feel a resistive torque about the pitch axis as they rotate their head about the yaw axis.
Code to control servo motor for a potential braking mechanism:
https://maker.pro/arduino/tutorial/how-to-control-servo-motors-with-an-arduino-and-joystick