I am creating powering board for LED strips inside the cacti glass house. It consume 12V DC around 2 amps. I would like to power them up from battery (charged by solar, lead-acid battery 20Ah), but if there is no energy left, switch to DC power supply (12vdc).
I found the answers that it is possibly made by diodes here. But I do not fully understand, I am a programmer with no electro background, so I am a beginner (and I love it :)). I do not understand how to wire the diodes to do the job.
I understand that it will choose higher voltage, so when the battery drops down below some limit, it will take power from the power source. But how to do it, please?