Tristated output to two common Base transistor issue


Closed Thread
Results 1 to 40 of 55

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Russ,

    The result for your circuit:



    Best regards,

    Luciano

  2. #2
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Beg pardon, my friend; not my circuit. It is a generic redrawing of Roger's original circuit. Which transistors did you use? And did you toast them?

    Thanks for the drawing! It illustrates the problem very nicely! (The red current path is through two diode junctions.)
    Last edited by RussMartin; - 8th September 2007 at 21:12.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Russ,

    The transistors are still working.

    With this circuit the LEDs are always ON.

    NPN BC546
    http://www.fairchildsemi.com/ds/BC/BC546.pdf

    PNP BC558
    http://www.fairchildsemi.com/ds/BC/BC558.pdf

    Best regards,

    Luciano

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Russ,

    My interest was to find a solution for the LEDs board that Roger has already made.

    If there is no solution for the original LED board, then a new board with I/O port
    expanders ICs + transistors is in my opinion the way to go.
    (One I/O + 1 transistor for each 50mA LED). That way all the LEDs can be
    ON at the same time and each LED can be individually controlled.

    Best regards,

    Luciano

  5. #5
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    The transistors are still working.
    Well, that's good news!

    If you have a few extra minutes, try the circuit this way:

    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1992&stc=1&d=118928211 2">

    Let us know how that comes out. You may want to tinker with the values for Rcl, maybe starting with something between 100 and 150 ohms.

    Do you have some small-signal P-channel and N-channel MOSFETs laying around?
    Attached Images Attached Images  
    Last edited by RussMartin; - 8th September 2007 at 21:33.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  6. #6
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Scratch this post.
    Last edited by RussMartin; - 8th September 2007 at 21:54.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  7. #7
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Russ,

    These are the test results. I have used the old transistors
    and also new transitors but the results are the same. The
    picture below is with the new transistors.

    The picture shows the two LEDs ON with about 25% luminous intensity.




    Best regards,

    Luciano

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    With the circuits we are exploring here, the two LEDs are turned OFF by setting
    the I/O of the PIC as input. (Input tristated). When the I/O is set as input,
    the voltage present on the I/O pin must be recognized as logic LOW or as a
    logic HIGH. Undefined voltage levels are dangerous for the input buffer of the I/O.
    Floating inputs on digital pins are a no-no.

    Best regards,

    Luciano

Similar Threads

  1. Help changing CCP3 output pin
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th July 2008, 02:30
  2. Bit Banging input to output on PIC16F876A
    By Bronurstomp in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th June 2008, 19:50
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. HSEROUT Newbie question/problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th July 2006, 14:44

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