I want to record total pulses that will come in at approximately 20hz. If I write to the eemem every pulse, then maximum writes wil be exceeded pretty quickly. (100,100writes/20per sec)/3600sec/hr = less than two hours.
I'm thinking of recording the pulses to eemem at power down, by using a resistor and a large capacitor in the power line, monitor the voltage, and record to the eemem when the supply voltage drops. Quickly, of course, before the the capacitor discharges.
Has anybody done this? Any other ideas? --Karl