PIC reset with MCLR

Discussion in 'Embedded Systems and Microcontrollers' started by tracecom, Apr 21, 2014.

  1. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,869
    1,393
    I have 10k pullup on the MCLR pin. I want to add a reset switch. Is it just a matter of a momentary switch to take the MCLR pin to ground? Or is there more to it than that?

    Thanks.
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,548
    2,373
    That is all you need.
    Max.
     
    tracecom likes this.
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Yup, provided you set the configuration bits accordingly...
     
    tracecom likes this.
  4. ErnieHorning

    Member

    Apr 17, 2014
    67
    17
    Depending on how fast your controller starts doing anything external, you may need to a small capacitor in parallel with your switch. Switches aren’t an immediate on/off and with make noise at the switching point. This will make your processor reset several times. If you put a delay at the start of your program, you probably won’t need the cap.

    [​IMG]
     
    tracecom likes this.
Loading...