Shop OBEX P1 Docs P2 Docs Learn Events
Running BS2 on both adapter and battery for backup upon power failure? — Parallax Forums

Running BS2 on both adapter and battery for backup upon power failure?

IceFireProIceFirePro Posts: 86
edited 2010-06-09 16:48 in BASIC Stamp
Is this possible in case I want to program a clock/alarm?

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2010-06-09 12:42
    Anything is possible, it's just a matter of time and money.
  • allanlane5allanlane5 Posts: 3,815
    edited 2010-06-09 13:38
    Yes. You'll need a couple of diodes, one to isolate the battery when the wall-power is on, one to isolate the dead wall-power when the battery is supplying current.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2010-06-09 16:48
    As a note the BASIC Stamp won't make a good clock itself unless that is its sole purpose. Usually you'll have an RTC chip connected such as the DS1302 and in these cases those chips have their own battery backup for the time/date/RAM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    ·
Sign In or Register to comment.