EEPROM writes


Closed Thread
Results 1 to 9 of 9

Thread: EEPROM writes

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    16


    Did you find this post helpful? Yes | No

    Default EEPROM Writes

    My Pic did die in less than 2 day.

    I only have 5VDC available to the board. I added a diode in between the 5V rail and the PIC. I put a 220uf cap across catode of the diode feeding the pic with 4.3V. I then monitor 5V rail for loss of power. When this pin goes low i write the necessary info to the EEPROM. This works fine except for the PWM out will only go up the the 4.3V now instead of the original 5V. I can put a shotkey diode in that should give me another .3V or .4V. Does anyone have a better option to monnitor loss of power and save a vairable?

    Thanks,

    Terry

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi,

    you can use a MC33064P5 ( TO92 Package ) as a voltage ref : its output will turn low if voltage goes under 4.65v ...

    enough time to save data to EEPROM, then ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts