I need help on a circuit, it has to output +3 and -3 volts. I have a current regulates power supply that i adjusted to +3v. I realise I can get -3V by reversing the positive and negative leads.
I was hoping to use transistors instead of relays for this. So when pin 9 on the arduino is high, it outputs +3 and when pin 8 on the arduino is HIGH it outputs -3V. And when neither pin is high the power supply is not connected to the device.
I was thinking of using 4 NPN transistors in an H Bridge. Using the Arduino to trigger the bases of diagonal pairs using HIGH signals. Does that make sense?
The voltage you get at the emitter of the top NPN is always going to be 0.7V less than the base drive voltage. This creates a bigger voltage drop.
Also it is easier to arrange the base resistor values to prevent both transistors turning on at the same time.
Ah i got it, it was an error on my part, I had the current limiting too low on my power supply. Lowered the limiting resistor a bit and now its working perfect, thanks for the help.
@Crossroads When using multiple relays or switches to accomplish a polarity reversal, place mains power on the contacts and loads on the commons. This prevents hung relays or multiple relay activations from shorting the mains. Your circuit is a dead short if the Arduino does not have one relay picked up all the time.