My project is using the following components:
- Arduino UNO R3
- L298N Dual Motor Controller
- 2 - DC 130 motors
- ESP8266-12E Wifi Module
- 6V battery pack
My objective is to be able to control this robot via WiFi through the ESP 8266. I have successfully connected the UNO and the L298N to a 6V battery pack. I have connected the UNO's D6, D7, D8 and D9 to the L298N's IN1, IN2, IN3 and IN4 pins respectively. The D5 and D10 pins on the UNO are connected to the DC motor jumper pins. The positive power from the battery pack is connected to the L298N power pin. Both the ground for the battery pack and the ground for the UNO are connected to the L298N ground pin. The 5V pin on the UNO is connected to the 5V output on the L298N. This configuration works fine for autonomously programming the robot.
I will be connecting the ESP8266 to the UNO via serial communication. What is the best way to power the ESP8266 with the other modules. Should I increase the size of the battery pack or use a separate
pack?