Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:afmotorv1 [2023/09/29 11:56] – darron | interfaces:afmotorv1 [2023/09/30 00:09] (current) – [Shift register] darron | ||
---|---|---|---|
Line 9: | Line 9: | ||
drive two 5V servos and up to 4 motors attached to two L293D driver ICs. | drive two 5V servos and up to 4 motors attached to two L293D driver ICs. | ||
- | A shift register is used to provide the direction inputs to the ICs and PWM outputs from the CPU connect to the driver enable inputs. | + | A shift register is used to provide the direction inputs to the ICs and PWM outputs from the CPU connect to the driver enable inputs |
===PWM==== | ===PWM==== | ||
Line 49: | Line 49: | ||
^74HCT595^Function^Arduino^UNO^MEGA2560^ | ^74HCT595^Function^Arduino^UNO^MEGA2560^ | ||
- | |STCP |STROBE | + | |STCP |STORAGE CLOCK |D12 |PB4| PB6| |
- | |SHCP |SHIFT | + | |SHCP |SHIFT |
- | |!OE |ENABLE |D7 |PD7| PH4| | + | |!OE |O/P ENABLE |
- | |DS | + | |DS |
^Q^Input^Motor #^ | ^Q^Input^Motor #^ | ||
Line 70: | Line 70: | ||
[[https:// | [[https:// | ||
- | |||
- | [[https:// | ||
[[https:// | [[https:// | ||
Line 81: | Line 79: | ||
[[https:// | [[https:// | ||
- | [[https:// | ||