ProtoLeap's DC Motor Control Sample Project
In this sample project, we are using an op-amp circuit with a gain of one to provide current to the motor. In the GUI we provided, you can select a voltage from 0-5V which translates to 0-max speed of the 5V motor. The PC input will go into a DAC which will output a voltage to our op-amp circuit. This voltage will determine the speed of the motor.