Arduino Relay?

I'm working on a UPS of sorts for an arduino project of mine. Basically if the pwoer goes out I want the arduino to switch to a 9v battery backup. I was wondering what sort of relay I should use and if a transformer would be needed. Ideally I'd like to use a simple power supply with a transformer built in and then have that feed into the relay, but I'm not sure if the 7-12v from a normal arduino power supply would then be enough to switch the relay (normally closed).

sort by: active | newest | oldest
iceng2 years ago

Here is your automatic and instant switch over schematic.

You could even add a resistor from the 12vDC supply to trickle charge the 9vDC Batteries.

iceng2 years ago

If the pwoer goes out so will any PS and most transformers.

Just use a diode from the 9v to take over when the higher voltage stops.

This will happen instantly compared to a relay.

kjsrocks2 years ago

I would have it on all the time in case the sump fails.

You will have to experiment a little to see if it will reboot.

It could probably send an email pretty quickly... Depending on how it is programed

kjsrocks2 years ago

Just a simple 5 pin relay. I will add a schematic as soon as i draw it

If its unclear just ask for clarification.