Mysterious Reset Revived!


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    if disabling the BOR solve the problem... i would monitor the whole hardware first to know WHY. Once you know why, this also solve any other potential problem.

    Any extra I/O? use it to do a Hardware Reset once in a while

    EDIT: any real schematic, pcboard and installation picture would be nice.
    Last edited by mister_e; - 15th May 2007 at 04:52.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Lightbulb Filters

    Hi Joel,

    If the PIC is really reacting to a brownout, either the Vdd (+) is dropping too low in voltage (compared to Vss) or Vss (-) is rising too high in voltage (compared to Vdd.

    The PIC sees the voltage across it’s supply pins at a level below what the PIC16F88 considers to be a brownout condition.

    The capacitors that we always suggest to bridge these pins, are intended to hold the voltage on the pins even if the rest of the circuit dips. That’s why the capacitors should be very close to the chip.

    The large capacitor is like a battery that holds it’s charge, even if the charge sags for a short time.

    The lower value capacitor is to trap any fast moving “transients” that whip through the circuit, snapping the voltage at a rate so fast, that the large capacitor’s inductance makes it too slow to react. The small capacitor should be a fast acting low inductance, low ESR type. Not just any old type.

    There are measures that can help problem circuits.

    If we visualize that the slow dip in the circuit voltage also discharges the larger value capacitor, along with pulling the PIC voltage. It would make sense to guard against this discharge. See Filter 1 The resistor allows the capacitor to slowly drain while the voltage sags. However, if the resistor is too large in value the PIC may not like the power up sequence. The resist affects both directions.

    There are other ways to increase the effectiveness of the filters. Filter 2 has an inductor. Inductors slow high speed changes in voltage.
    Filter 3 has a little of each.

    Filter 4
    Diodes allow the voltage to charge the capacitor and prevent the circuit from pulling it back down during the slow glitch.
    <img SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1630&d=1179204818">
    These are really just some of the common ways to prevent voltage at the pins of a integrated circuit from being affected by power sags and transient glitches that bother all types of sensitive circuits.
    Look for decoupling, bypass and blocking with Google.
    See: http://www.designers-guide.org/Design/bypassing.pdf
    There are a lot of other circuit problems that can plague a beginner. Mister_e is correct, please show us, some of the technical side, of your setup.
    Attached Images Attached Images  
    Ohm it's not just a good idea... it's the LAW !

Similar Threads

  1. IC12F508 with Internal Oscillator and Software Reset
    By karan123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd October 2009, 16:13
  2. Mysterious Reset
    By JoelMurphy in forum General
    Replies: 24
    Last Post: - 24th February 2007, 23:37
  3. Software Driven Reset Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2005, 00:53
  4. reset and interrupt vectors
    By dtoohey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2005, 22:02
  5. Replies: 5
    Last Post: - 1st December 2004, 12:49

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