Shop OBEX P1 Docs P2 Docs Learn Events
Counter&power failure — Parallax Forums

Counter&power failure

ArchiverArchiver Posts: 46,084
edited 2003-05-06 00:36 in General Discussion
Hello,
Counter devices should keep the last product count at power failure.I think
that can be done by:
1- Monitoring the stamp power.
2- Keep the stamp power after power fails for a time enough to save the
last count by the stamp.

Any help performing this would be appreciated.

Thank You
Mohamed Refky


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-06 00:36
    Mohamed,

    There are several ways to go about this. If it is for a commercial type
    product, I would use an ADC (analog to digital converter) to monitor the
    power input. Depending on how long you want to maintain power to the Stamp
    after a power failure, you can use capcitors for a short time, or a battery
    backup for a longer time. If you want, you can use rechargable batteries and
    use the stamp to monitor thier condition and charge them when required, or
    even use them sometimes to maintain their capabilities.

    There are also some homebrew ways to do it. Assuming you are monitoring AC
    line voltage, you could use a transformer and a rectifier to bring the
    voltage down to 5VDC. Then you could directly check this on any pin of a
    Stamp. If you are monitoring DC voltage then use a voltage divider instead
    of a transformer as above. If the voltage varies, you can use the RCTIME or
    POT commands to get a rough idea of the voltage. It depends on exactly what
    you want to do, and how critical the application is.

    Hope this helps,

    Jonathan

    www.madlabs.info

    Original Message
    From: "Mohamed REFKY" <refky@h...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, May 05, 2003 11:56 AM
    Subject: [noparse][[/noparse]basicstamps] Counter&power failure


    > Hello,
    > Counter devices should keep the last product count at power failure.I
    think
    > that can be done by:
    > 1- Monitoring the stamp power.
    > 2- Keep the stamp power after power fails for a time enough to save the
    > last count by the stamp.
    >
    > Any help performing this would be appreciated.
    >
    > Thank You
    > Mohamed Refky
    >
    >
    > _________________________________________________________________
    > Tired of spam? Get advanced junk mail protection with MSN 8.
    > http://join.msn.com/?page=features/junkmail
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
Sign In or Register to comment.