I have an mbed project with firmware that controls some PwmOut
switches. All works fine firmware opens and closes switches as expected. I tested this with a LED (and resistor).
Now my goal is that instead of a light coming on, a electric brush motor (with a simple +/-) 3v-5v should run. I understand that the PwmOut
from the mbed will not provide enough current to run the motor.
Will I need a transistor that connects the PwmOut
port with the motor?
If yes:
- how do I know what type I need?
- these three legged guys - how are they hooked up?