Circuit Design Question


Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Aug 2008
    Posts
    13

    Default Circuit Design Question

    I'm working on building a circuit to keep tracking of machine online time (An electronic hour meter). I'd like to do this with 2 wires, a 12 volt power while running and ground.

    My thought of the circuit is to use an IOC pin to detect when power is removed from the circuit. To keep power to the chip I want to use a large cap, the cap size will need to be determined once I get power consumption and time needed to shut down safely, but I'm thinking as long as I keep 90% of the charge on the cap for at least 50ms, that should be plenty of time.

    Basically when power is removed from the circuit, the IOC will interrupt instantly. I'll write my counter vairables from Timer 1 into eeprom using a DT Interupt routine, then set the chip into nap mode. As long as my cap is big enough I should have plenty of time to write my vars to the EEPROM (Green circled cap).

    When the circuit is powered up, I'll read my eeprom vars and then continue counting. Does anyone want to throw $.02 in on the design? Thoughts?

    I'll have no issue writing the code, I'm just wondering about using the large cap to store enough power to write the vars to eeprom.

    Thanks
    Brad

    Last edited by bradb; - 8th August 2009 at 06:01. Reason: readablility

Similar Threads

  1. Sine wave power inverter
    By sougata in forum mel PIC BASIC Pro
    Replies: 244
    Last Post: - 23rd February 2017, 05:16
  2. Replies: 6
    Last Post: - 18th September 2009, 19:30
  3. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  4. PCB Design Partnership Enquiry;
    By arbel in forum Adverts
    Replies: 0
    Last Post: - 15th February 2007, 08:07
  5. Replies: 3
    Last Post: - 29th October 2006, 09:16

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