Hi everyone,I have been working this lasts month on a little Arduino project about making a remote control car. I'm using 2 Arduino Uno boards, one for the car and the other for the remote controller. I'm also using the module ESP8266 12-f for sending and receiving orders (I use the AT COMMANDS). This project, it's not fully optimized. The first time you establish a connection, the code will run completely. But if you don't quit the uart-wifi passthrough mode, the code won't need to run (the ESP8266 12-f can do an automatic connection)
I will refer to each part as "controller" and "car". With these names, I also include their respective ESP8266 12-f.
I also want to sat that these two Arduinos are both connected at the beginning to transfer some essential data (SSID, password, and the server IP). The connections are between pins 2, 3, and GND. The car has Rx on pin 2 and Tx on pin 3, and the controller is the opposite (both have connected a GND between them).
Until here everything it's okay, but I was only testing with serial USB power supply (less the motors, that I used a voltage converter). The problem started when I tried to run this code powering the different parts with different power supply (with 2 different batteries for example). When I try it, the code seems to work well, but I'm only able to send one order before the wifi modules start doing nothing.
Car circuit
Controller circuit
Thanks in advance for your help
I will refer to each part as "controller" and "car". With these names, I also include their respective ESP8266 12-f.
I also want to sat that these two Arduinos are both connected at the beginning to transfer some essential data (SSID, password, and the server IP). The connections are between pins 2, 3, and GND. The car has Rx on pin 2 and Tx on pin 3, and the controller is the opposite (both have connected a GND between them).
Until here everything it's okay, but I was only testing with serial USB power supply (less the motors, that I used a voltage converter). The problem started when I tried to run this code powering the different parts with different power supply (with 2 different batteries for example). When I try it, the code seems to work well, but I'm only able to send one order before the wifi modules start doing nothing.
Car circuit
Controller circuit
Thanks in advance for your help