Shop OBEX P1 Docs P2 Docs Learn Events
Counter With Memory — Parallax Forums

Counter With Memory

ArchiverArchiver Posts: 46,084
edited 2004-01-16 19:43 in General Discussion
Mohamed,

By using the command WRITE which will write data onto the EEPROM where
is a non volatil memory.

Rene

Mohamed REFKY a

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-01-14 17:38
    Hello,
    In my liquid filler machine I'm going to add a container counter in the
    program.So how can I save the last number of the container in case of power
    failure.Is there any idea without using rechargeable battery.

    Thank You
    Mohamed Refky

    _________________________________________________________________
    The new MSN 8: advanced junk mail protection and 2 months FREE*
    http://join.msn.com/?page=features/junkmail
  • ArchiverArchiver Posts: 46,084
    edited 2004-01-16 19:43
    Hello,
    I found such idea in circuit based on AVR microcontroller ( LCD counter with
    memory backup )
    http://www.serasidis.gr/
    The idea is :
    1- Monitoring the power supply voltage by arranging a voltage divider.
    2- The processor will use a stored charge in a capacitor to save the counter
    number if power is
    failed.
    A diode is used to charge the capacitor so that no current will go back
    to the supply line.

    Basic stamp require 7 mA running current,so can the capacitor keep the
    charge enough time for the stamp to save the number ?


    >From: "Mohamed REFKY" <refky@h...>
    >Reply-To: basicstamps@yahoogroups.com
    >To: basicstamps@yahoogroups.com
    >Subject: [noparse][[/noparse]basicstamps] Counter With Memory
    >Date: Wed, 14 Jan 2004 19:38:15 +0200
    >
    >Hello,
    >In my liquid filler machine I'm going to add a container counter in the
    >program.So how can I save the last number of the container in case of power
    >failure.Is there any idea without using rechargeable battery.
    >
    >Thank You
    >Mohamed Refky
    >
    >_________________________________________________________________
    >The new MSN 8: advanced junk mail protection and 2 months FREE*
    >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.
    >
    >
    >Yahoo! Groups Links
    >
    >To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    >To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    >Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >

    _________________________________________________________________
    Add photos to your messages with MSN 8. Get 2 months FREE*.
    http://join.msn.com/?page=features/featuredemail
Sign In or Register to comment.