Unexpected Reset


Results 1 to 6 of 6

Threaded View

  1. #6


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I decided to modify the circuitry to make the reset more obvious. I removed 100Om MCLR series resistor. The resistor was put there to comply with “Microchip MCLR use warning”(see attachment).
    I’ve also gathered more information:
    PIC resets only if you use MCLR pin as an input. If you move the sense wire to any other pin (and change the code accordingly) there is no problem no matter how hard you try.
    If you remove capacitors than everything works fine. I attached MCLR voltage traces(Reset-NoReset).

    One 0.1uF capacitor (we use two make reset more frequent) is crucial for it filters the input line. 0.1uF capacitor ensures that there will be no false triggering.
    It looks like the decision is not to use MCLR as an input. But then we face unexpected reset problem. PIC will reset randomly when you are close to the interference source (ignition systems, welding, heavy contactors and many more) which is no good if you design hart pace makers.
    One solution is to place 5v TVS (RS p.n. 1017823) to earth right at the MCLR pin. If you place it at the button-capacitor unit(in my case it is 5 inches away) there will be no effect and PIC will reset. I attached the scope trace(TVS NoReset). Unfortunately I can’t see from the scope traces how TVS prevents PIC reset or why PIC resets in the first place. I think without such understanding no reliable projects can be built. I’ll carry on my research and post any results .
    Attached Images Attached Images    

Similar Threads

  1. unexpected reset 2
    By netstranger.nz in forum General
    Replies: 0
    Last Post: - 13th October 2009, 07:36
  2. IC12F508 with Internal Oscillator and Software Reset
    By karan123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd October 2009, 16:13
  3. pic reset sometimes
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd January 2008, 17:27
  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