Maixium voltage on a input pin


Results 1 to 20 of 20

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    I'm reading the app note again and the part about alternating voltage bugs me. It says that "a 115 VAC 60 cycle sine wave will traverse from 0 to 2V in 32ms", what about 12VDC? Wouldn't that be on instantly so to speak? The car alternator may work with AC but it distributes DC to the car electrical system.

    The other thing is the clamping diodes, they shut off over VDD and below VSS. That's fine to protect the PIC but that would interfere with my application. The car sensor works on 12V, I can't just stop measuring at 5V, I need "see" the remaining 7 volts or else I will get only a partial reading?

    Let's use the fuel gauge as an example, the fuel tank would read from empty up to 40% full or so and then the meter would top out, no?

    The only thing I can think of it to divide the car voltage by 4 and do the same thing with the signal voltage. That way I won't be comparing apples and oranges and I will be able to use the PIC ADC properly. My car battery is about 12.? charged and 14.? with the alternator charging. Let's use 16V as a maximum in case of a surge, divide by 4, that brings it down to 4V, well within the 5V limit of the PIC. I can still place a safety diode on top of that to protect at 5V too.

    EDIT: Oh, and that spare 1V translates into another 4V buffer, that means it would be safe up to an absolute maximum 20VDC.
    Last edited by Demon; - 21st April 2008 at 09:45.
    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. 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