Tristated output to two common Base transistor issue


Closed Thread
Results 1 to 40 of 55

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Just to throw a little confusion in the mix, .... how bout ....

    <table border=1><tr><td><img src="http://picbasic.co.uk/forum/attachment.php?attachmentid=1994&stc=1&d=118930280 7"></td><td>
    Or, it may need a normal NPN
    <img src="http://picbasic.co.uk/forum/attachment.php?attachmentid=1995&stc=1&d=118930343 1"></td></tr></table>
    Also just on paper
    <br>
    Attached Images Attached Images   
    Last edited by Darrel Taylor; - 9th September 2007 at 03:06. Reason: Normal NPN
    DT

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    How about something like this?
    Attached Images Attached Images  
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    Hi Bruce,

    Here are the results:


    When Tab is open the whole circuit uses 1mA.
    I have used 3 transistors BC558.

    Thank you!

    Best regards,

    Luciano

    P.S.

    Do not connect LEDs in parallel like that with just one series resistor!
    If you need to connect LEDs in parallel, use one resistor for each LED.

    This was just a quick test to see if 50mA were available.
    Last edited by Luciano; - 9th September 2007 at 21:34.

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


    Did you find this post helpful? Yes | No

    Default

    What a coincidence, Bruce! --Last night, I started sketching something that came out kind of similar to your approach, except I was using NPNs. Yours is better. (Did you set that up on a simulator?)

    And, Darrel, I think I was going in your direction. This was to be my next step:

    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1997&stc=1&d=118933392 4">

    . . . with D1 and D2 generic small-signal or switching diodes (e.g., 1N914). I had long-forgotten about using a zener diode in that manner!
    Attached Images Attached Images  
    Last edited by RussMartin; - 9th September 2007 at 12:06.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Russ,

    (Did you set that up on a simulator?)
    Yes. I ran it through Electronics Workbench. I would just go with some Alegro LED drivers,
    but it does work if you have the board space.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    Hi,

    This is the circuit posted by Bruce.

    This version was tested on a breadboard with a microcontroller.
    On the picture you can see the values of the resistors and the
    type of transistors I have used.

    Datasheet of the transistor BC558 (PNP)
    http://www.fairchildsemi.com/ds/BC/BC558.pdf



    Best regards,

    Luciano
    Attached Images Attached Images  

  7. #7
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Thumbs up Bravo!

    I think I now understand clearly the difference between an electrician (me) and you clever engineers

    There's only one word to say: BRAVO!

    ... et merci 1000 fois.

    NB: somebody talked about a "simulator". Is it really possible to simulate an electronic circuit that matches reality? Also with PICs?
    Roger

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