Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, two DC motors, two SparkFun Motor Driver TB6612FNG modules, and a 12V battery. The ESP32 controls the motor drivers, which in turn drive the DC motors. The 12V battery supplies power to the motor drivers.
Component List
ESP32 38 PINS
- Description: A versatile microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: GND, G23, G22, TXD, RXD, G21, G19, G18, G5, G17, G16, G4, G0, G2, G15, SDI, SD0, CLK, 3V3, EN, SP, SN, G34, G35, G32, 33, G25, G26, G27, G14, G12, G13, SD2, SD3, 5V
DC Motor
- Description: A simple DC motor.
- Pins: pin 1, pin 2
SparkFun Motor Driver TB6612FNG (v11)
- Description: A motor driver capable of driving two DC motors.
- Pins: GND, B01, B02, A02, A01, VCC, VM, PWMA, AIN2, AIN1, STBY, BIN1, BIN2, PWMB
12V Battery
- Description: A 12V power source.
- Pins: -, +
Wiring Details
ESP32 38 PINS
3V3 is connected to:
- VCC of SparkFun Motor Driver TB6612FNG (v11)
- STBY of SparkFun Motor Driver TB6612FNG (v11)
G25 is connected to:
- PWMA of SparkFun Motor Driver TB6612FNG (v11)
G26 is connected to:
- AIN2 of SparkFun Motor Driver TB6612FNG (v11)
G27 is connected to:
- AIN1 of SparkFun Motor Driver TB6612FNG (v11)
G14 is connected to:
- BIN1 of SparkFun Motor Driver TB6612FNG (v11)
G12 is connected to:
- BIN2 of SparkFun Motor Driver TB6612FNG (v11)
G13 is connected to:
- PWMB of SparkFun Motor Driver TB6612FNG (v11)
GND is connected to:
- GND of SparkFun Motor Driver TB6612FNG (v11)
DC Motor 1
pin 1 is connected to:
- B01 of SparkFun Motor Driver TB6612FNG (v11)
pin 2 is connected to:
- B02 of SparkFun Motor Driver TB6612FNG (v11)
DC Motor 2
pin 1 is connected to:
- A02 of SparkFun Motor Driver TB6612FNG (v11)
pin 2 is connected to:
- A01 of SparkFun Motor Driver TB6612FNG (v11)
SparkFun Motor Driver TB6612FNG (v11)
VCC is connected to:
- 3V3 of ESP32 38 PINS
STBY is connected to:
- 3V3 of ESP32 38 PINS
PWMA is connected to:
- G25 of ESP32 38 PINS
AIN2 is connected to:
- G26 of ESP32 38 PINS
AIN1 is connected to:
- G27 of ESP32 38 PINS
BIN1 is connected to:
- G14 of ESP32 38 PINS
BIN2 is connected to:
- G12 of ESP32 38 PINS
PWMB is connected to:
- G13 of ESP32 38 PINS
GND is connected to:
- GND of ESP32 38 PINS
- - of 12V Battery
VM is connected to:
- + of 12V Battery
B01 is connected to:
- pin 1 of DC Motor 1
B02 is connected to:
- pin 2 of DC Motor 1
A02 is connected to:
- pin 1 of DC Motor 2
A01 is connected to:
- pin 2 of DC Motor 2
12V Battery
- is connected to:
- GND of SparkFun Motor Driver TB6612FNG (v11)
+ is connected to:
- VM of SparkFun Motor Driver TB6612FNG (v11)
Code
No code is provided for this circuit.
