␡
- Overview of the L293D Chip
- Example Circuit
- Programming Code for the Motor
- Summary
Like this article? We recommend
Example Circuit
Grab the following parts:
- Arduino UNO: Adafruit P/N 50 or SparkFun P/N 11021
- USB cable: Adafruit P/N 900
- L293D motor driver: Adafruit P/N 807
- DC motor: SparkFun P/N 11696
- Half-sized breadboard: Adafruit P/N 64
- Jumpers: SparkFun P/N 11026
Okay, now connect the jumpers as shown in Figure 2.
Figure 2 Wire up your breadboard as shown here.
Use these settings:
- Pin 1 on the L293D connects to pin 11 on the Arduino.
- Pin 2 on the chip connects to pin 10 on the Arduino.
- Pin 3 on the chip goes to one of the leads on the motor.
- Pin 4 on the chip goes to ground.
- Pun 6 on the L293D connects to the other lead on the motor.
- Pin 7 on the chip connects to pin 9 on the Arduino.
- Pin 8 on the chip goes to 5V.
- Pin 16 powers the chip’s logic, and this pin can plug into 5V.