Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 30th January 2004, 12:06 PM   (permalink)
Default Help needed with a transistor

I want to switch a transistor (as below) that will supply current via the 100R resistor when power is applied. However, I would like to be able to turn the transistor OFF and ON using a micro. Any ideas?

Code:
 _______________  +5V
 |            |
 |            |
_|_           |
| |           |
| |         |/
| |         /¯
¯|¯       |/
 |________|
 |        |\
_|_         \
| |          \
| |           |
| |          _|_
¯|¯         | |
 |           | | 100R
 |           | |
 |           ¯|¯
 |            |____________ rest of cct
 |
_|___________________ GND
Thanks
fxdif is offline  
Old 30th January 2004, 01:10 PM   (permalink)
Default

Simply disconnect the bottom end of the lower base resistor, and connect it to the micro pin - when it's low the transistor will turn on, when it's high the transistor will turn off.
Nigel Goodwin is online now  
Old 30th January 2004, 01:11 PM   (permalink)
Default

Hello!

I've just been drawn for you draft with 3 versions of coupling CPU output for your application.
For sketch no. A) your CPU have to be capable to drive min. 10 mA of output current. Output is inverted.
On the sketch B) is 2 stage transistor amplifier. CPU port output current is appr. 1mA. Output is non-inverted.
And finally on C) is drawn a solution with MOSFET. CPU's output current is negligible. Output is inverted.

Best wishes
Axr
Attached Images
File Type: png Switrans.png (23.3 KB, 352 views)
axr is offline  
Old 30th January 2004, 02:02 PM   (permalink)
Default

Hi,

thanks for the diagrams. I don't think I explained myself very well.

The problem with this is that the micro will ultimately control the 100R load. What I need is when power is applied, the PNP transistor is on, regardless of the micro. Then I need to turn the PNP transistor OFF with a micro.
fxdif is offline  
Old 30th January 2004, 02:36 PM   (permalink)
Default

Quote:
Originally Posted by fxdif
Hi,

thanks for the diagrams. I don't think I explained myself very well.

The problem with this is that the micro will ultimately control the 100R load. What I need is when power is applied, the PNP transistor is on, regardless of the micro. Then I need to turn the PNP transistor OFF with a micro.
No problem!. Simply have the micro pull the I/O pin low as soon as it powers up - is there any reason (and if so, what?) why you can't simply do that?.

If there is a plug and socket between the micro and the transistor, where it might not be plugged together - you could simply use two resistors in the lower base circuit - like this:
Attached Images
File Type: gif transistor.gif (2.0 KB, 333 views)
Nigel Goodwin is online now  
Old 2nd February 2004, 06:32 AM   (permalink)
Default

Yes, this is the right solution for your problem !

73 Axr
axr is offline  
Old 2nd February 2004, 09:30 AM   (permalink)
Default Thanks

Works great, many thanks Nigel.

Regards.
fxdif is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 09:55 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker