steppernxt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
steppernxt [2017/08/04 18:42] – [Final Words] rebeccacao | steppernxt [2017/08/15 20:11] (current) – [Circuit Schematics] rebeccacao | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How To Control an Unipolar Stepper Motor with LEGO NXT Using Only Transistors | + | ====== How To Control an Unipolar Stepper Motor with LEGO NXT Using ULN2003A |
**Author:** Xinke (Rebecca) Cao | **Author:** Xinke (Rebecca) Cao | ||
Line 28: | Line 28: | ||
* (1) NXT Brick | * (1) NXT Brick | ||
* (various quantities) gauge wires | * (various quantities) gauge wires | ||
- | Here is the [[https:// | + | Here is the [[https:// |
\\ | \\ | ||
+ | All the codes can be found [[https:// | ||
\\ | \\ | ||
Line 50: | Line 50: | ||
D3 controls orange. | D3 controls orange. | ||
\\ | \\ | ||
+ | The integrated circuit that is connected to the PCF8574A is the ULN2003A. The ULN2003A is an array of seven Darlington transistors that amplifies current from the PCF8574A and outputs the voltage supplied to its common port to drive the stepper motor. This is similar to how the IRF510 amplifies the current and acts as a switch to allow specific wires on the stepper motor to obtain enough voltage and current. However, when you input a LOW signal to the ULN2003A, it will output a HIGH signal. Therefore, in the code, we need to adjust the bit values output by the PCF8574A to account for this change. | ||
\\ | \\ | ||
\\ | \\ |
steppernxt.1501897353.txt.gz · Last modified: 2017/08/04 18:42 by rebeccacao