When i finished coding and wiring, for some days of testing it worked fine (driving motors, servo doing its job), but suddenly, one of the MX1508 just burned and it take out the esp32 too, i changed the wiring, checked for short circuits, and nothing, i tested it again with replacements but now when its on, if doing nothing the esp32 is fine, but soon as i get the servo or the mx1508 running, the esp32 now reboots and any control is lost.
Missing input and output capacitors for the LM7805
The MX1508 does not have GND. Do you mean -VE?
The 3.3V GPIOs of the ESP can't drive the MX1508 inputs.
Yes, i mean -VE, and you’re right is an TC1508
Lol, that has me wondering why in another projects it works with MX1508 inputs, anyway i am looking for other options of dc drivers, maybe DRV8833
The TC and MX are different. The TC will work with 3.3V control signals, the MX may or may not. The input threshold for the MX is 3.0V which iv very close to 3.3V and will be prone to noise and voltage drops.
That has VIN voltage range of 4.5-12V. You could power it directly from battery, so if LM7805 trips under heavy load, it doesn't boot your board.
Also, LM might misbehave if your battery is on low charge or under heavy load and the voltage goes below 7V.
I did that when i was starting to make the dc motors work with esp32, but i guess the current “load” was too much and the esp got reset, so thats why i put the lm7805