5. Electronics & Software (GC)

The electronic components to drive our mechanism were simply a 12V DC motor (which would drive a link), motor driver, Arduino, and power supply. The schematic below showcases the wiring for our device (credit to https://arduinogetstarted.com/tutorials/arduino-dc-motor):

The Arduino was utilized to set the speed of our motor. In our case, we wanted to prioritize torque over speed to ensure the linkage could successfully complete the figure 8 motion when pressed against the glasses. The code to run the motor is simple. The PWM signal is set to the lowest possible value to start the motor to increase the torque output of the motor.