TMR0 stops working


Results 1 to 26 of 26

Threaded View

  1. #1
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136

    Angry TMR0 stops working

    I have made a Digital led clock using the following hardware :-
    PIC16F84A (used it as i have many lying around)...
    4X 9 volt led displays

    The time keeping is managed by TMR0 and Instant Interrupts.
    The problem is that the TMR0 suddenly (and randomly) stops incrementing while the chip is on. This may happen in a few hours or in a few days or even after a month.
    The oscillator still clocks at 4 Mhz , the chip still keeps the display running (multiplexing), the time set buttons still work.

    I have been trying to fix this problem from the past 1 and a half year, but nothing seems to work.
    I tried using a 16F628A, still no luck.
    Now i really need some help.
    I have attached the complete source code and schematic.
    Can someone please help me ? ? ?

    PSU.JPG = power supply with battery backup
    clock.gif = base circuit
    12Volt Driver.bmp = modification for large led displays
    clock.pbp.txt = main source code
    DT_INTS-14.pbp.txt = Instant Interrupts subsystem
    Attached Images Attached Images    
    Attached Files Attached Files

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  2. TMR0 interrupt and HSERIN
    By boban in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd September 2008, 11:48
  3. help: TMR0 interrupts disabling PORTAchange interrupts???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th August 2008, 15:10
  4. using TMR0 as a counter..
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th July 2007, 02:56
  5. Strange behaviour from PIC16F877 on TMR0
    By mikebar in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 19th August 2006, 01:31

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