After mounting the Arduino board, you can start to wire it with the motor driver and the ESP01.
Wiring them together
Connecting the Arduino with motor driver
You can wire each pin of the motor driver with Arduino as follows:
- Motor Driver AIN1 -> Arduino Digital Pin 2
- Motor Driver BIN1 -> Arduino Digital Pin 7
- Motor Driver AIN2 -> Arduino Digital Pin 4
- Motor Driver BIN2 -> Arduino Digital Pin 8
- Motor Driver PWMA -> Arduino Digital Pin (PWM) 5
- Motor Driver PWMB -> Arduino Digital Pin (PWM) 6
- Motor Driver STBY -> Arduino Digital Pin 9