Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Replacing a relay with a Transistor

Status
Not open for further replies.
That will work but move R1 and put it in series with Q1's collector and Q2's base, it should act as a current limiting resistor rather than a pull-up.
 
In this case, figure 2, the base of Q2 will never go low and Q2 would never conduct.
 

Attachments

  • PNP Relay.JPG
    PNP Relay.JPG
    46.2 KB · Views: 381
DON'T draw an ordinary transistor when you are talking about a Mosfet. I pasted this one with Microsoft Paint.
 

Attachments

  • Mosfet.GIF
    Mosfet.GIF
    10.4 KB · Views: 212
sazerac99us said:
In this case, I was meaning a PNP BJT.
Are you ever confusing!!

Do you understand that you drew a circuit with an NPN transistor driving a PNP transistor that will smoke because there is no current-limiting resistor between them?
Do you understand that you drew an NPN transistor driving a PNP transistor that will also smoke because the PNP transistor has its base shorted to its emitter, then the NPN transistor has no current-limiting resistor?
 
No, I did'nt understand, which is precisely why i am writing to this forum. Figure 1 was my idea for this....someone else suggested something, so I made figure 2, to clarify what he said, because it was'nt clear in my mind.

If you have a suggestion, im all ears, if not, and you only wish to state the obvious, that I don't understand all this, its not necessary. I'm trying to get a BJT as well as a MOSFET solution to this. I apologize for any confusion.
 
Last edited:
I fixed your circuits in my sketch:
 

Attachments

  • Transistor circuit.GIF
    Transistor circuit.GIF
    39.2 KB · Views: 216
I did'nt realize that current would flow from the emitter through the base of a transistor.

Now I have both solutions, the P-MOSFET and BJT. Thanks for your help!

If you ever need some help in any of my areas of knowledge (mechanical testing, motorcycles, women<smile> etc), I'd be glad to help.

Seriously, THANKS!!!
 
sazerac99us said:
No, I did'nt understand, which is precisely why i am writing to this forum. Figure 1 was my idea for this....someone else suggested something, so I made figure 2, to clarify what he said, because it was'nt clear in my mind.

If you have a suggestion, im all ears, if not, and you only wish to state the obvious, that I don't understand all this, its not necessary. I'm trying to get a BJT as well as a MOSFET solution to this. I apologize for any confusion.
TRy the circuit in my earlyer post!!:)
 
Tarsil said:
TRy the circuit in my earlyer post!!:)
Your circuit is exactly the same, except it is missing a resistor to turn off Q2 when it is hot, and to turn off Q2 quickly.
 

Attachments

  • Transistors.PNG
    Transistors.PNG
    3.8 KB · Views: 189
Tarsil,

Yes I saw your circuit and was wondering how the base of Q2 would ever be high and noticed it was essentially the same as the one we ended up with.

Thanks (both of you) for your posts!!!

Which is preferable, using an NPN driving the PNP or just driving a p-channel MOSFET directly?
 
audioguru said:
Your circuit is exactly the same, except it is missing a resistor to turn off Q2 when it is hot, and to turn off Q2 quickly.
Yup...my mistake:D . Th for pointing that out.
 

Attachments

  • SAE2.pdf
    18.7 KB · Views: 210
sazerac99us said:
Tarsil,

Yes I saw your circuit and was wondering how the base of Q2 would ever be high and noticed it was essentially the same as the one we ended up with.

Thanks (both of you) for your posts!!!

Which is preferable, using an NPN driving the PNP or just driving a p-channel MOSFET directly?
I would go with NPN/PNP because i allready have them :D. But i guess the mosfet wil disipate a bit less heat and the circuit is simpler.Your choice.
And....If is too complicated.....most of the thimes is the wrong way:p
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top