Example - Speed Control of a DC Motor
This example assumes that you have a small DC motor that operates at 5VDC max and pulls less than 1 Amp:
1. Attach the motor, a 1K resistor, a
PN2222
NPN transistor, and the wiring to the protoboard as shown in
the diagram above.
2. Route the red wire to the 5VDC terminal (pin 10) on the Digital Output Block
3. Route the black wire to a ground terminal on the Extended Functions block (terminal 4 or 5)