Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Is the motor AC or DC? Do you want to be able to vary the direction of the
motor? How about the speed? What about braking the motor?
+12V ---------+---------+
| |
/ \ |
|M| motor --- 1N4001
\ / / \
| |
+---------+
|
|/
CTL -/\/\/--| 2N2222 NPN
1k |\>
|
---
-
The 1N4001 is a flywheeling diode. As the motor is an inductor, when you
turn it off the energy has to go somewhere. The diode provides a path for this;
otherwise, the transistor could be burnt out by switching the output off.
This "driver" allows you to run the motor forwards and coast it. With PWM,
you can vary the speed.
+12V --------+------------------------+
| |
1k / c c \ 1k
1 --/\/\/---| 2N2222 2N2222 |--/\/\/--- 3
\> e e </
| + - |
|-------- MOTOR ---------|
| |
1k / c c \ 1k
2 --/\/\/---| 2N2222 2N2222 |--/\/\/--- 4
\> e e </
| |
--- ---
- -
Making S1 = 1, S2 = 0, S3 = 0, S4 = 1 the motor would go forwards
You could also replace the 2N2222's with something else to allow it to drive
heavier loads. With heavier loads it's a good idea to use heatsinks on each
transistor.
shareimprove this answer edited Nov 28 '10 at 16:57 answered Nov 28 '10 at 10:01
Thomas O
17.8k34128264