L293D Motor Driver Shield

From Wiki
Revision as of 05:40, 23 March 2016 by Root (Talk | contribs) (Created page with "='''Introduction'''= File:71v-3jELGrL. SL1000 .jpg SunFounder L293D is a monolithic integrated, high voltage, high current, 4-channel driver. Basically this means using th...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

71v-3jELGrL. SL1000 .jpg SunFounder L293D is a monolithic integrated, high voltage, high current, 4-channel driver. Basically this means using this chip you can use DC motors and power supplies of up to 25 Volts, thats some pretty big motors and the chip can supply a maximum current of 600mA per channel, the L293D chip is also what's known as a type of H-Bridge. The H-Bridge is typically an electrical circuit that enables a voltage to be applied across a load in either direction to an output, e.g. motor. The schematic diagram is as follows : L293D schematic.png

L293D

1.jpg The L293D is quadruple high-current half-H drivers.It is designed to provide bidirectional drive currents of up to 600-mA at voltages from 4.5 V to 36 V. Both devices are designed to drive inductive loads such as relays, solenoids, dc and bipolar stepping motors, as well as other high-current/high-voltage loads in positive-supply applications. All inputs are TTL compatible. Each output is a complete totem-pole drive circuit, with a Darlington transistor sink and a pseudo- Darlington source. Drivers are enabled in pairs, with drivers 1 and 2 enabled by 1,2EN and drivers 3 and 4 enabled by 3,4EN. When an enable input is high, the associated drivers are enabled, and their outputs are active and in phase with their inputs. When the enable input is low, those drivers are disabled, and their outputs are off and in the high-impedance state. With the proper data inputs, each pair of drivers forms a full-H (or bridge) reversible drive suitable for solenoid or motor applications.
Logic.png

Pin Function

L293d pin.png

Pin Name Function
1 Enable1,2 Enable pin to control 1,2 driver
2 Input 1A Input to control 1Y
3 Output 1Y Output,connect to motor
4 GND Ground and heat sink
5 GND Ground and heat sink
6 Output 2Y Output,connect to motor
7 Input 2A Input to control 2Y
8 Vcc2 Output supply voltage
9 Enable3,4 Enable pin to control 3,4 driver
10 Input 3A Input to control 3Y
11 Output 3Y Output,connect to motor
12 GND Ground and heat sink
13 GND Ground and heat sink
14 Output 4Y Output,connect to motor
15 Input 4A Input to control 4Y
16 Vcc1 Supply voltage(7 max)

74HC595

The 74HC595 consists of an 8−bit shift register and a storage register with three−state parallel outputs. It converts serial input into parallel output so that you can save IO ports of an MCU. The 74HC595 is widely used to indicate multipath LEDs and drive multi-bit segment displays. "Three-state" refers to the fact that you can set the output pins as either high, low or "high impedance." With data latching, the instant output will not be affected during the shifting; with data output, you can cascade 74HC595s more easily.

Pin Function

No Name Function
1 Q0-Q7 8-bit parallel data output pins, able to control 8 LEDs or 8 pins of 7-segment display directly.
2 Q7’ Series output pin, connected to DS of another 74HC595 to connect multiple 74HC595s in series
3 MR Reset pin, active at low level; here it is directly connected to 5V.
4 SHcp Time sequence input of shift register. On the rising edge, the data in shift register moves successively one bit, i.e. data in Q1 moves to Q2, and so forth. While on the falling edge, the data in shift register remain unchanged.
5 STcp Time sequence input of storage register. On the rising edge, data in the shift register moves into memory register.
6 OE Output enable pin, active at low level
7 DS Serial data input pin
8 VCC Positive supply voltage
9 GND Ground

Resource

L293D_datasheet PDF.jpg