Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Timer IC that doesn't reset count because of power down and remembers last state

Status
Not open for further replies.

avihaio

Junior Member level 2
Joined
Jun 18, 2018
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Activity points
217
Hello,

I'm looking for a timer/RTC that will count how long the system power was up in total and will toggle a pin after a specific time that will be configured in advance.
Does a timer that "remembers" exists?

For example, on the first time that the system is powered up for 2 hours, after this it's down, and powered up for 1 more hour, so in total the timer will be already 3 hours, etc.
After 500 hours (for example) I'd like to toggle a pin that will notify this.

The time resolution can be even hours, but I don't want to use a microcontroller (except for initial values configuration) or a battery (or supercap because I don't know for how long it will be down).

My main purpose is small size and less components, Power consumption is not an issue.


Thanks
 

You are asking for a clock that keeps time and can toggle a pin without any power source at all. It doesn't exist.
The best you will manage is a system that records start-up time in NVRAM and rechecks it each time the power is applied.

Incidentally, a small super-cap (0.47F for example) will keep an RTC IC running for several months. I have used DS1302 RTCs with built in charger to keep a supercap topped up and it has still kept time 3 months after the power was removed.

Brian.
 
Hi,

what resolution do you need and what accuracy do you need? (Please values with units.)

Generally, every battery powered microcontroller should work. One input to detect the presence of system power, one output pin as desired.

Klaus
 
Hi,

what resolution do you need and what accuracy do you need? (Please values with units.)

Generally, every battery powered microcontroller should work. One input to detect the presence of system power, one output pin as desired.

Klaus

The accuracy is not very important to me, and a resolution of hours is also good (of course that minutes or seconds is even better).

You are asking for a clock that keeps time and can toggle a pin without any power source at all. It doesn't exist.
The best you will manage is a system that records start-up time in NVRAM and rechecks it each time the power is applied.

Incidentally, a small super-cap (0.47F for example) will keep an RTC IC running for several months. I have used DS1302 RTCs with built in charger to keep a supercap topped up and it has still kept time 3 months after the power was removed.

Brian.

Interesting

DS1682 Total-Elapsed-Time Recorder with Alarm might serve your purpose. https://www.maximintegrated.com/en/products/analog/real-time-clocks/DS1682.html

Looks very close to what I need.


Thanks you all for your answers, it gave me good hints for what I need to look for!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top