What is the difference between MCLR and switching VDD OFF-ON?


+ Reply to Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: What is the difference between MCLR and switching VDD OFF-ON?

    Quote Originally Posted by amgen View Post
    one thing that can happen is if you have any +5 volt on any of the peripheral pins, the input to the pins inside the PIC have diodes pointing to the supply voltage and then that 'could' keep the pic from resetting.....
    That is very possible.

    This reset issue has cost me several days easily, I remember many frantic hours since I'm testing ADC/Timer/HPWM logic, not understanding why the simplest code mods were not taking; slapping LATB.x diagnostic signals all over the place and watching the Saleae window. I'm just happy I wasn't a complete doorknob all that time.


    Quote Originally Posted by amgen View Post
    ..... maybe back to software instruction to reset....@RESET. Or if you take away/turn off power, would have to turn off the power for all external parts
    Nah, I like bulletproof solutions, even if they heavy-handed. Guess what band I got my online nickname from.


    I'm really liking this 555 timer, 7404 inverter, IRFZ44N mosfet idea (mostly cause I thought it up on my own, and I've never used 555 and 7404 ICs before).

    Unless you see a fault in my idea?
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: What is the difference between MCLR and switching VDD OFF-ON?

    If you have a case like what amgen described, you better have a power cycle. This could be a relay, power MosFet, or a simple enable/disable of the power supply chip, etc.

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default Re: What is the difference between MCLR and switching VDD OFF-ON?

    Got a complete system reset working with a 555 timer, 7404 inverter and IRFZ44N mosfet:

    https://www.picbasic.co.uk/forum/sho...426#post156426
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Display Vdd
    By davesatu in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th February 2010, 08:34
  2. ICSP with differents vdd level..
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th February 2008, 02:29
  3. PIC sinking voltages higher that Vdd???
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 27th February 2007, 19:39
  4. Vcc Vdd etc
    By bearpawz in forum Off Topic
    Replies: 11
    Last Post: - 2nd April 2005, 21:49
  5. switching external vref+ and vdd vref
    By alejandro_halon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th February 2005, 20:13

Members who have read this thread : 10

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