PIC sinking voltages higher that Vdd???


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Exclamation

    Hmmm, well I guess it depends on which PIC you are looking at.
    manumenzella never specified. And the original post regarding RA4 as much as assumed they are ALL like that.

    Paul was referencing the 16F628, which according to the most recent datasheet, Has the diode.

    If you look at a 16F628A, then it doesn't.

    If you look at the 18F452 datasheet from a couple years ago, it says it does, but the most recent one doesn't.
    Was it a change in the datasheet, or the silicon?

    Like my original comment,
    "Which one are we supposed to believe?"

    Personally, I'd go with the transistor.
    <br>
    DT

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Post

    Hi, Picmen

    Pic Inputs clamp Diodes are rated @ 500µA ...

    So, applications that limit the input current @, say 50µA ( good safety margin !!! ) can be done.

    That includes sensing Mains through a 4.7 MOhm 1/2 W or 2 x 2.2 MOhms 1/4W in series ( care to the max voltage across the 1/4W resistors : 250 v PEAK )

    I have built lots of 8 Pïns Pics working on mains as zero voltage switches or dimmers ...

    BUT Remember TOCKI or MCLR pins DO NOT HAVE the VCC Clamp diode : an external diode has to be added then ...
    and it's no pain if a clamp diode is already built in the package !!!

    Alain
    Last edited by Acetronics2; - 26th February 2007 at 10:29.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Personally, I'd go with the transistor.
    <br>
    I double that Darrel. That's what I always do and keep my headaches far away...!

    As for the datasheets, they may have errors. Some are found, some not. What about the errata? I have not time to look right now.

    Ioannis

  4. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default I agree with Darrel too

    Hi,

    Spending on a single NPN transistor and a couple of resistor do give you the flexibility to use any pin without the need for painkillers.
    Regards

    Sougata

Similar Threads

  1. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  2. 12 bit or higher ADC on a PIC that works with PBP?
    By Brandon in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 11th November 2007, 17:19
  3. Replies: 3
    Last Post: - 29th October 2006, 09:16
  4. Replies: 2
    Last Post: - 10th February 2006, 01:04
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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