quick question 12F683


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,605


    Did you find this post helpful? Yes | No

    Default Re: quick question 12F683

    Hi,
    Looking at page 121 in the datasheet it says that when Vdd is between 2.0V and 4.5V a TTL input is considered high when the voltage on the pin is 0.25*Vdd+0.8V. With a 3.3V supply this equals 1.625V so 1.2V is not guaranteed to be interpreted as a logic 1. For a schmitt trigger input the number is 0.8Vdd which for 3.3V is 2.64V so even "worse" in your case.

    /Henrik.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: quick question 12F683

    Thank you Henrik. I need to find another way to detect when the circuit is active.

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,605


    Did you find this post helpful? Yes | No

    Default Re: quick question 12F683

    Just use a simple transistor buffer.
    Pullup resistor on I/O-pin, NPN transistor pulling I/O-pin to GND when the 1.2V signal drives a small current into the transitors base.

    /Henrik.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: quick question 12F683

    Unfortunately the circuit board is already manufactured with a pull down resistor network. The switch that activates the circuit which I'm trying to detect goes to ground when pushed. True, I can use an inverter but it needs to be a very simple hook-up. Attach B+, B-, one wire output and one wire detect. I'll probe around more today to see if there's another way around this. Again thank you Henrik.

  5. #5
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: quick question 12F683

    Just use the ADC to measure the voltage on the pin and decide in software what is a high and what is a low.

Similar Threads

  1. quick question
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2016, 19:02
  2. Quick PIC16F874A question
    By ERMEGM in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th June 2014, 08:09
  3. A quick question.....
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2010, 14:25
  4. quick question
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd December 2004, 01:45

Members who have read this thread : 1

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