Hi,
I am building my own alarm system based on Arduino UNO and some reed switches , and some PIR Sensors.
The main power will be 12VDC, for Arduino Uno 5VDC
I am thinking of an DIY UPS for this alarm
I plan to plug a 220V AC => 14VDC adapter connected to that module
The module will be connected to the adapter, connected to a battery, and connected to my alarm system
So my alarm system should be secure for a short period of time if the main power is cut.
What do you think of my solution ?
What kind of battery can i use ? (in term of battery technology and power)
Finally, i would like to plug a relay of something on the output of the adapter (220VAC to 14VDC) and plug it to my arduino and thus be able to receive an alert if the main power fail !
Please advise me ? how can i do that kind of relay or device ?
great where did you buy this ups ?
where did you buy the case?
One important, thing, when your pi is running , and suddenly the main power is cut
normaly the pi go on working on the battery ?
it is diruptive to move from main power to battery ?
thx
The setup I explained above, the RPi is always running off the battery.
The Charger, feels the battery volts. If the battery is at, in this case, 13.8V or more, the charger shuts off charging mode. When charging mode is shut off the RPi is being supplied by the battery. As the charge on the battery drops, the charger, at a set point, starts charging the battery again. This cycle continues.
All those components came from Amazon.
It is not disruptive to move from main power to battery.
Most of the smaller alarm systems just use a small sealed lead acid battery which is supplied with a regulated ( float ) voltage from the mains to keep it charged .
The battery then feeds the alarm - simple and cheap .
Transformer >diode bridge and capacitor > 7805 with zener in ground connection to get 13volts for the battery