Maixium voltage on a input pin


Closed Thread
Results 1 to 20 of 20

Hybrid View

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


    Did you find this post helpful? Yes | No

    Wink

    Hi, Robert

    I think we mixed DIGITAL and ANALOG inputs ...

    here you want 0 > 12 v to be 0 > 5 v !!!

    so, you need a voltage DIVIDER ...

    see Darrel's site for such an application :

    http://www.pbpgroup.com/modules/wfse...p?articleid=25

    Everything explained ...

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Robert

    I think we mixed DIGITAL and ANALOG inputs ...

    here you want 0 > 12 v to be 0 > 5 v !!!

    so, you need a voltage DIVIDER ...

    see Darrel's site for such an application :

    http://www.pbpgroup.com/modules/wfse...p?articleid=25

    Everything explained ...

    Alain

    Yup, the signals from the sensors will be analog. Interesting tool, I added it to my favourites. There is a comment at the bottom of that page that puzzles me though:

    "Do not use the Zener diode (D1) for analog circuits. It will adversely affect the readings.
    It can be useful for protection of Digital Inputs though."

    So, since I've lowered the voltage to an acceptable level for the PIC, then there should not be any need for extra clamping diodes, no?
    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!

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


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by Demon View Post

    So, since I've lowered the voltage to an acceptable level for the PIC, then there should not be any need for extra clamping diodes, no?
    It's an automotive environment ( remember the 45v ??? ) ... use clamping diodes instead of the Zener ... they won't disturb the divider.

    Alain
    Last edited by Demon; - 4th October 2016 at 16:54.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    In post #19 and #28 of this thread http://www.picbasic.co.uk/forum/show...ighlight=zener
    Melanie talks about the zener.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. make a low voltage output from a PIC pin
    By emptyset in forum General
    Replies: 1
    Last Post: - 8th February 2008, 19:20
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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