Hi, my robot car don´t obey me 😉
I don´y know what is happen, I have tested cables, solders, also change the code to read the digital output when I press forward o left from the web server. I have tested the motors, connecting the 5+ of the L298N to int1-4.
Everything seem right, but the wheels don´t spin
Any help is very wellcome
SALUD…Carlos
Hi.
Do your motors work without the ESP32?
But, nothing happens when you try to control them with the web server? Is that the issue?
Do you know if the motor controller is in good condition?
Regards,
Sara
Hi Sara,
Yes, the motors works without ESP32, I have tested connecting the output of 5V of the motor controller, to each direction pin input (1-4).
Best
SALUD…Carlos
Hi again.
Do you have an oscilloscope to see the output of the ESP32 pins? Or the output of the motor controller? To check if the motors are receiving the signal?
Does your motor controller have jumper caps as shown in the picture?
Does it have jumper caps on the EN1 and EN2 pins?
Regards,
Sara
Hi Sara
I found the error. I am using an external power to supply the esp32 and… the ground signal must be connected together ESP32 – L298N.
If ESP23 has to send a 5v signal, It has to used the ESP32 ground voltage. Well… six hours later it seem easy. I will never forget it.
Thanks Sara to make me think
SALUD…Carlos