i am working on a project with esp32 (arduino dev board) and four dc motors (12v) controlled with one lm298 motordriver, the connecting is like showed:
the different from this schematic that i have two dc motors in parallel instead of one that is in the picture.
when i was working around with this circuit the esp32 suddenly stoped working at all, and it stopped showing on the serial of arudino ide, So i was wondring what might went wrong so i can avoid it.
i am wondring could it be the back emf of the dc motors that toasted the board?
I don't know that anyone will be able to say much from just the Fritzing diagram.
If that's indeed how it was wired, nothing jumps out at me.
Maybe a faulty module? Have you measured voltages at the I/O connections to see if something got shorted to motor power?
What exactly were you doing when "the esp32 suddenly stopped working"? Could you have shorted something, or put power in a place that would have killed the ESP32?
i doubled checked every, even tried with an speare esp32 i have, but the other one got toasted too, with same connections and, both of them worked fine for a couple days of testing, then this happen
That two ESP32s died makes me lean towards either a bad module or a problem in the wiring feeding power supply to one or more of the I/O pins. Can we see a photo of your wiring?