This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to remember the number of power switch

How to remember the number of power switch,
Note:the power is main power,if the power off time is too long,MCU was stop working. sod ,off time less then 400ms,and MCU have a big cap to save power.
question:
if on/off power switch 1 times MCU output 500Hz on/off power switch 2 times MCU output 1000Hz ....................................
anyone have a method?
thx you .

Parents
  • I have read your post many times and still can not make head or tail of it.
    do you mean that you want to record how many times the power has been off long enough for the capacitot to discharge.

    anyhow to help you the followibng will be needed
    a) which micro (ALL that letters and numbers)
    b) do you have (or can you) have a serial EEPROM attached

    Erik

    PS when "MCU have a big cap to save power" it is essential that you have a supervisor chip on the reset.

Reply
  • I have read your post many times and still can not make head or tail of it.
    do you mean that you want to record how many times the power has been off long enough for the capacitot to discharge.

    anyhow to help you the followibng will be needed
    a) which micro (ALL that letters and numbers)
    b) do you have (or can you) have a serial EEPROM attached

    Erik

    PS when "MCU have a big cap to save power" it is essential that you have a supervisor chip on the reset.

Children