Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using a BJT Transistor as a DC switch

Status
Not open for further replies.

johnnyb7

Newbie level 3
Joined
Jul 1, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
38
Dear all,

I have two separate circuits which I want to connect using somewhat of a switch (most probably a BJT), which would either separate the two circuits or join them depending on whether the voltage on the first circuit is an active high (3.3 Volts) or an active low (0V).

ie. an active high should separate the two circuits (BJT in off) and an active low should join the two circuits (BJT in active).

I can not modify anything within the individual circuits, which is why I thought that this transistor should be placed in between the two circuits.

circuit.jpgcircuit.jpg

Attached you can find a Spice Layout of the two circuits and my idea of using a BJT. The first circuit (which can not be modified) is the scheme up to Resistor 'R1', the transistor Q2 was my idea to act as my switch, after Q2 comes the second circuit. The switch should switch depending on the values of V1 (either 3.3 or 0).

My idea was using an NPN and its emitter followed by the first circuit. In that case when active high is on V1, transistor Q1 is in active mode, which means less resistance to ground which ultimately means less base current, which should set Q1 in off. The vice-versa should happen when V1 is in active low. However, using this scheme I got a Vout of "2 and 0.6" instead of "roughly 3 and 0"

Does anyone have any ideas or could help me out with this problem. I may have also misunderstood the operation behind Q2.
 

I think you should try a mosfet e.g. 2N7000 with source at 'E' and drain at 'C' of Q2.

*are you sure R3 is connected to Ground?

Allen
 

Attachments

  • BJT as sw 1.GIF
    BJT as sw 1.GIF
    150.7 KB · Views: 69
  • BJT as sw 2.GIF
    BJT as sw 2.GIF
    125.5 KB · Views: 69
Last edited:

    V

    Points: 2
    Helpful Answer Positive Rating
Hey Allen,

thanks for the quick reply.

Oh I just understood what you meant, I did not see the attached images before. Thanks for your effort. Let me look at what you meant.

Cheers,
Jonathan
 
Last edited:

I tried your configuration, but somehow I did not get the 3 and 0 volts. I like the idea using your configuration and FET, but I still also have to maintain only modifying and touching pins after the 100Ohm Resistor (R1), so I would not be able to supply the 3 Volts with a pull-up to where you indicated.

To your previous questions, R3 is there.

Also, please ignore the point 'in', I dont know why it labelled it as such. But for your reference, using my previous configuration, and according to Spice, the point 'in' would read 2V and 0.6V for V1 values of 0 and 3.3 respectively
 

I had mistaken something on your circuit. It worked. Thanks for your help! :)
 

I am glad to hear that it finally worked as I was still trying to figure out what was the problem!?

Allen
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top