Sinking current from 9V into a PIC pin.


Results 1 to 17 of 17

Threaded View

  1. #9
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: Sinking current from 9V into a PIC pin.

    Quote Originally Posted by sayzer View Post
    ...
    You will see that LED will not fully turn OFF.
    ....
    Quote Originally Posted by HankMcSpank View Post
    The LED *does* turn off ! (ie the PNP tranny is working as I intended/required - real world, not simmed or theorized!) .....
    Quote Originally Posted by HankMcSpank View Post
    ... I've actually got 5V going to the PNP emitter (not the 9V I thought was on there).

    Just to prove the point...I put 9V on the emitter...the PIC lived, but the LEDS didn't turn off when the duty cycle went to 255.

    ....
    Hello there....

    I was going to ask you to measure the voltage on the emitter. But you already had it.

    And for the idea of yours, you have a pwm pin and also LED pins.
    And you are trying to show the voltage level, as much as I understood.
    So, as the voltage drops, you want to show it with the LEDs.
    Say, if the voltage is 8V, you have one LED off. Am I right? or something like it.
    But, why are you using PWM then?
    Can you explain more?
    How the pwm and the LEDs will work?
    Last edited by sayzer; - 23rd March 2011 at 07:34.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

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