Hi guys! I made this setup for a Valentine's day project: http://computersandcircuits.com/?q=vday_led_mixer
It currently runs off of 4 AA's in series and works just fine. M wife suggested I make it able to plug into the wall so the batteries don't drain as fast. My question is how can I set something up where it'll run off of a 2.5mm DC jack from the wall automatically, but when it's unplugged it'll switch to battery power? It doesn't need to be a seamless transition, I just want it to use the wall source as primary if it's available.
I could always just put a switch to select between wall or battery power, but if she forgets to switch it back to wall power after having it on battery power it'll kill out the batteries lol. Thanks in advance!
It currently runs off of 4 AA's in series and works just fine. M wife suggested I make it able to plug into the wall so the batteries don't drain as fast. My question is how can I set something up where it'll run off of a 2.5mm DC jack from the wall automatically, but when it's unplugged it'll switch to battery power? It doesn't need to be a seamless transition, I just want it to use the wall source as primary if it's available.
I could always just put a switch to select between wall or battery power, but if she forgets to switch it back to wall power after having it on battery power it'll kill out the batteries lol. Thanks in advance!