I currently have a project requiring the use of a battery. My project has to be able to run off the battery power, but when an outside source is connected, the battery should be able to charge off this source, but the source also has to power my project.
I am looking into using an SLA battery such as this one, because in my lack of experience, it seems to be easier to deal with charging than a battery such as a LiPo battery. Since this is the point in which a screw up could result in a destruction of my project, and I am inexperienced in the area of batteries and charging beyond the basics of electronics, I would like an outside opinion from someone knowledgeable in this area, to let me know if it would work or not.
I attached an image of what I think the layout of my charging system would be. The battery would have the ground connection for the project, and the 12V connection. The relay would go on the ground side of the battery, after the connection to the project. This way, the battery can charge/discharge according to the relay. The voltage monitor would determine when the relay needs to be on or off. The relay and voltage monitor would have connections to the Arduino Nano, acting as the controller for the charger. The Nano would supply 5 volts to the voltage monitor. Also, the Arduino Nano is powered from the same charger, via an inline voltage regulator.
Essentially my question is: Will this work before I go and do it and mess something up? Or is there possibly a better way of doing this?
Regulator to Power Nano