I am a hobbyist who is trying to build a DIY like car robot controlled via 2.4GHz radio and decided to use ULN2803A which was unused on my electronics equipment and has 8 outputs 4 for each motor and 2Ampers until 50Volts in DC if I'm not wrong. I'm good in programming so the problem is with electronics and understanding well the datasheets. I think ULNs are good for high voltages with DC and work with low current but they don't dissipate so much power (correct me if I'm wrong) so is a better option than L298N. The problem is that I can not change the polarity on monophasic motors (2-wire). Then I decided to use 4 relays to switch the poles of the motors with Arduino and digital pins. (LOW and HIGH, forward and backward).
The capacitor of the ULN2803A is an electrolytic one of 100 uF which I don't know if it's a problem. And the capacitor also electrolytic for the gyroscope is 1000 uF to prevent EMI of the motors. Also the motors have 100 nF ceramic capacitors 50V on each pole to the ground, to prevent EMI. (I read on Pololu's website).
I can draw the circuit for the relays but at the moment I'm showing you the circuit of the driver that is what I've drawn but it's easy to imagine what I've done with the relays (a typical board of 4 relays able for Arduino 3 holes with screws per relay): each wire of each motor is on the middle hole of the relay and as the relay switches between right and left connection the middle wire, in the left is positive and in the right negative. At first everything works fine until I start to switch, at first a motor stop to run and then after switching fast backward forward the ULN stop working completely.
So, the question is: Is possible to change polarities of the motors by this installation?
Sorry about my bad English and sorry about the complexity of the problem (I can imagine, I'm just a hobbyist).
Thanks in advance, I wish you a good day.