i just recently made a battery backup for my panel.
its conected to my arduino
is there a way for when the power goes out(usb is plugged into mp3 wall charger) that the peizo on pin 11 will play C as used in the melody script every minute, and when the battery backup is low, it will play
Cfec
Cfe
Cfec
Cfe
To programmatically predict when battery is low is a daunting task. I think there was a thread on this a while ago.
Google it
You could make a ciruit that would automatically change powersource and that circuit could toggle an arduino pin to signal a source change. I do not know how to build a circuit like this, yet, but google automatic power detection, or something in the likes of that.
The Arduino 2009 automatic switches to use Vin when USB is unplugged, if you set Vin at a voltage that is 6V or less. Changing R10 will widen that scope.
By the way your web site is blocked from my location it says:-
Adult Content
Sites that display full or partial nudity in a sexual context, but not sexual activity; erotica; sexual paraphernalia; sex-oriented businesses as clubs, nightclubs, escort services; and sites supporting online purchase of such goods and services.