Hello,
I'm building a high voltage power supply, and so far i had problems with high voltage "creeping" into my microcontroller, which causes it to restart.
What I'm building is essentially a l293d connected to a transformer and an MCU
, i know how bad this sounds, buuut i still want to try it.
My question is what is the best practice to isolate the rails of the MCU and the l293d, I'm looking mostly for advice for what to do, since i can't get any measurements on it. (I don't have an oscilloscope)
I think my problem is the common ground, or the common 5v between the logic part of l293d and MCU, or the crystal being close to pins connected to l293d.
I also have this feeling that the reverse diodes in the l293d might not be good for protecting from reverse voltage on a high voltage powersupply.