battery secondary power

Hi,

I am new here. I have a very basic question, maybe bordering on Dumb.. but couldn't see the answer in previous questions.

My board will normally be working on AC power with an AC-DC converter. (i.e, not portable). When power fails, I want a battery backup ONLY to keep the RTC ticking. Planning for a Non-rechargable (2 x AA size battery). What would be the best way to conserve battery? I mean, battery should be drained only when there is no power. Should I just use two diodes ? (I'll try to upload a simple pic.. Thing is I just switched to Mac.. Yet learning to get around) Or is there some other ingenious way to do it?

Thank you for any suggestions you can provide.

-Raj

Related