My design is a remote controlled car. I took a play station controller gutted it and put my own momentary switches in there. When I click a button, the momentary switch connects ground to the circuit and that flags my microcontroller. My microcontroller reads the ground on portC and knows that means we have a button press (after debouncing program confirms). The microcontroller then sets port B to high which is about 5 volts with about 10-20 mA or so. My problem is I can't run a motor with a current that small. So I tried using a ULN2803A to increase the current from portB but that doesn't seem to be working. I did a little research and read that you need to have a relay connected to the output of the darlington pair. I have never used a relay and do not know what it does. Can anyone send me a diagram or a little info on how to get a 500mA output out of the ULN2803A. Ive been trying to figure this out forever by myself and now I'm submitting for help so pleassse do help. thanks and let me know if you need any more information to answer my question properly.
Peter
Peter