![]() If the motor goes in the opposite direction that you expect, simply reverse the wiring. The wiring of which lead of the motor connects to which terminal is somewhat arbitrary and relative to what you consider forward vs reverse motor operation. The center terminal on the 5-pos terminal blocks are connected to ground. The motor connections are via two screw terminals for each motor and labeled M1 thru M4. +M = Motor Vcc which must be between 4.5 and 25V.Note: Do not apply power to the 2 terminal power connector with the jumper in place or it will short the two power supplies together! When the jumper is removed, that isolates the motor power from the Arduino and it must be supplied separately by connecting power to the 2 terminal power connector. Vin (marked 9V on the board) is brought up form the Arduino to power the motors. When this jumper is installed, the power from the Arduino DC power jack is also connected to the motors. To select this, there is a jumper near the 2 terminal power connector labeled PWR. This power can be shared with the Arduino or be separate. As another option, the traces to the 5V center pins on the servo headers can be easily cut and rewired to a separate 5V power source or the motor source if powered off of 5-6V. If using this feature, use only with small servos like the SG90 and keep an eye out for any issues. On the plus side, it does have a 100uF capacitor on these power pins which does help somewhat. Doing so can overheat the Arduino on-board 5V regulator as well as induce electrical noise into the Arduino 5V power causing intermittent problems that are difficult to troubleshoot. Unfortunately it powers the servo motors directly off the Arduino 5V which is usually not a great idea. The shield also technically supports 2 servo motors for which there are two 3-pin headers on the module. Each stepper motor takes the place of 2 of the DC motors, so you can run 2 stepper motors or 1 stepper motor and 2 DC motors or 4 DC motors. The module can also support up to 2 stepper motors. The L293D V1 Motor Shield can drive up to 4 DC motors at voltages from 4.5 – 25V and at currents of up to 1.2A peak (600mA continuous) per motor with speed and direction control. 1.2A peak current per channel (600mA continuous).Drive 4 DC motors with speed and direction control.It fits Arduino Uno, Mega 2560 or other Arduino style boards with compatible I/O pins. The L293D V1 Motor Driver Shield has 4 full-bridge motor driver channels and can drive up to 4 DC motors or 2 stepper motors and 2 servo motors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |