Hi there!
I am facing a weird issue with my circuit currently, where even though the inbuilt ESP-32s LED lights up, the ESP does not work the components connected to it. More explanation on this is described as follows: The cytron mdd3a driver that I am using is a buck convertor type driver which can also supply upto 5v. I am using that to power up my ESP-32s, but that is somehow not working, meaning the ESP does not run any code even though the LEDs on the ESP turn on. When I try to power the ESP by the buck convertor(LM2596S) that I am using to power the ESP, using just the 5V output from the convertor, I face the same issue. I am also using DC 12V encoded motors (Encoders powered by 5v supply from the buck convertor, the ground being common between the encoders and the ESP) and 3S battery, MPU6050 for the IMU, and I could not find the cytron mdd3a driver on fritzing anywhere, hence am using the mdd10a, but the wiring is mostly the same. Just the cytron mdd3a having a 5V output as well.
Now, when I do not connect either of them to the ESP and just power the ESP via USB from my laptop, the code "lags" or the ESP just stops responding. The circuit diagram that I am using is here:

if you'd like to get a closer look, there's also a fritzing file at this link: https://drive.google.com/file/d/1At_DHDWQc6BU1TPhMWUa1kaSGdjD0Wp2/view?usp=sharing
I am sure that there is a small thing I might be missing, but any help will be much appreciated. Also, I am not from an Electrical background and am still learning hence why my questions are mostly on the circuit. Can anyone please look into this and let me know what might be the problem?
Thanks in advance!
I am facing a weird issue with my circuit currently, where even though the inbuilt ESP-32s LED lights up, the ESP does not work the components connected to it. More explanation on this is described as follows: The cytron mdd3a driver that I am using is a buck convertor type driver which can also supply upto 5v. I am using that to power up my ESP-32s, but that is somehow not working, meaning the ESP does not run any code even though the LEDs on the ESP turn on. When I try to power the ESP by the buck convertor(LM2596S) that I am using to power the ESP, using just the 5V output from the convertor, I face the same issue. I am also using DC 12V encoded motors (Encoders powered by 5v supply from the buck convertor, the ground being common between the encoders and the ESP) and 3S battery, MPU6050 for the IMU, and I could not find the cytron mdd3a driver on fritzing anywhere, hence am using the mdd10a, but the wiring is mostly the same. Just the cytron mdd3a having a 5V output as well.
Now, when I do not connect either of them to the ESP and just power the ESP via USB from my laptop, the code "lags" or the ESP just stops responding. The circuit diagram that I am using is here:

if you'd like to get a closer look, there's also a fritzing file at this link: https://drive.google.com/file/d/1At_DHDWQc6BU1TPhMWUa1kaSGdjD0Wp2/view?usp=sharing
I am sure that there is a small thing I might be missing, but any help will be much appreciated. Also, I am not from an Electrical background and am still learning hence why my questions are mostly on the circuit. Can anyone please look into this and let me know what might be the problem?
Thanks in advance!





