Problem with PIC 16F628A resetting intermittently


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Problem with PIC 16F628A resetting intermittently

    Quote Originally Posted by ardhuru View Post
    Hi,

    . . . Your heating coil draws a lot of current, and I suspect the spurious resets would be happening when the relay releases.

    A snubber circuit accross the load might help.

    Anand
    Wow, it did not occur to me it was an electric resistive heater, I was thinking it was gas . . . Good call.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Sep 2011
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Problem with PIC 16F628A resetting intermittently

    Thanks to all for sending suggestions to solve my problem.

    I do have a commercial opto isolation module in the circuit and this sends a voltage to the remote contactor coil at the heater.

    I have added command to my code to display on a LCD so I could follow the program flow and monitor where the problem occurs.

    I have now had more fun for the last 11 hours simulating and watching the program do its work with the actual heater disconnected. (more fun than watching paint dry) Ha Ha.
    The program did fail twice in that time and it appears that it goes to the temperature read subroutine and then suddenly resets. The point when this happened was when the temperature just got to the minimum trigger setpoint. My LCD display did not indicate that it left the subroutine and went to the comparison section.

    I am going to try battery power but I do not suspect that is the problem as I have a 2A 5V supply that is fed off a different circuit than what the heater is on.

    I will keep plugging along.

    Harold

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Problem with PIC 16F628A resetting intermittently

    Hi Harold,
    What kind of lighting is in the area you are working? Sometimes Fluorescent lights make unshielded PICs behave badly.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Problem with PIC 16F628A resetting intermittently

    Quote Originally Posted by Archangel View Post
    Hi Harold,
    What kind of lighting is in the area you are working? Sometimes Fluorescent lights make unshielded PICs behave badly.
    I didn't know that. What kind of shielding? A metal enclosure?

    Robert

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Problem with PIC 16F628A resetting intermittently

    Hi Robert,
    I scrapped out a TV a Magnavox that had metal shields around it's CPU chips, they fit under and over them, only the pins were not shielded. Some forum members here have reported this problem in the past. I think breadboards would be esp. susceptible . . Remember RF crawls around on the surface whereas DC goes through a conductor.
    Last edited by Archangel; - 25th October 2013 at 17:34.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Without resetting....Switching PIC over to Backup Battery
    By financecatalyst in forum Schematics
    Replies: 5
    Last Post: - 29th December 2010, 15:23
  2. PIC keeps resetting when executing subroutine
    By jbirnsch in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th August 2009, 08:03
  3. 16F628A fuse problem
    By AndrewC in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 26th July 2008, 08:51
  4. PIC chip resetting. Very weird
    By The Master in forum Off Topic
    Replies: 0
    Last Post: - 28th October 2007, 18:07
  5. Pic resetting
    By malc-c in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2007, 22:00

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