Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)
From: Mark Jones (abuse_at_127.0.0.1)
Date: 01/17/05
- Next message: David Kastrup: "Re: What if the Nazis had kindness?"
- Previous message: mike: "Re: External alternator regulator for 56 VDC output."
- In reply to: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Next in thread: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Reply: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 Jan 2005 18:28:34 -0500
Kevin wrote:
> On Mon, 17 Jan 2005 04:00:31 -0800, mike <spamme0@netscape.net> wrote:
>
>>I'm too lazy to look up the spec. Don't all recent PICs have flash memory?
>>Does the thing have to log while the power is off? If not, might think
>>about using a super-cap.
>
>
> The problem is ensuring reliability - saving to internal EEPROM takes
> time (I think 10mS *per byte*) so if a power failure occurs I am not
> sure that I will have that much time to store data to EEPROM and shut
> down gracefully. In any case I'd wear out the on-chip EEPROM
> eventually by exceeding recommended write cycles - when that happens
> I'd have to replace the entire microcontroller. (The PIC16F628A can't
> write to its own flash, but even if it could the EEPROM has better
> reliability specs than the flash).
>
Hmmm... 10mS is not a long time at all... and the EEPROM has a
1-million write cycle life... is that not good enough? If not, cycle
through the EEPROM bytes as they are being written and it could last
for hundreds of millions of cycles.
> If power is off there's nothing worth logging ;-) so I'm just
> concerned about preserving logged data.
>
> Regarding the supercap, how do you know exactly how long you can run
> off one? (there is no mAH rating on most of them that I've seen).
>
Probably for quite awhile, but don't forget about internal
resistances. The cap would probably go dead on its own accord long
before a 99.2% sleeping PIC would kill it. You can try some supercaps
cheap from www.allelectronics.com though.
- Next message: David Kastrup: "Re: What if the Nazis had kindness?"
- Previous message: mike: "Re: External alternator regulator for 56 VDC output."
- In reply to: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Next in thread: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Reply: Kevin: "Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|