Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: EEPROM write and power failure

2008-04-28 by Bruno

The comparator is a good choice..
I my last design i was using the comparator pins, so i use a lm311 
connected to INT pin...
You should use an osciloscope to confirm if you'll have enough time 
to do what you want before the uC goes off... In my case i'm using a 
1000uF cap. and i have 120ms to save the variables in eeprom... This 
time depends on your cap. size and your circuit...

Bruno...

--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote:
>
> At 12:01 PM 28/04/2008, you wrote:
> >Use the ADC to measure the primary source voltage.
> 
> I would use the comparator set at an appropriate
> level so there isn't the need for software intervention
> until the comparator's IRQ fires.
> 
> Regards
> 
> John Samperi
> 
> ********************************************************
> Ampertronics Pty. Ltd.
> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
> Tel. (02) 9674-6495       Fax (02) 9674-8745
> Email: john@...
> Website  http://www.ampertronics.com.au
> *Electronic Design * Custom Products * Contract Assembly
> ********************************************************
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.