Hi!
I'm quite ignorant with transistors so I'd need help to make this transistor to work (as a switch) because myself I'm hitting my head into the wall since friday.
I have a 12V power supply and a square wave 0-5V as a input on the base.
The bjt is of course in common emitter configuration. How can i calculate
the resistor between the input and the base and the resistor between supply and collector?
My input signal is anyway particular: it's not always guaranteeing 5V. It's the voltage given from the pins of a PC parallel port and this voltage changes depending on the load it's driving, so i guess the right question for the base should be: how much current i should shoot into the base? (then i will find the right resistor for it)
I've tried with both 4.7K but the transistor doesn't turn on.
In the end.. another circuit i should drive with this bjt is a 12V relay (with ofc a diode not to bias the collector) in this case how much current should go into the base? (or what resistor i should use with this 0-5V input?)
Ty for your attention
I'm quite ignorant with transistors so I'd need help to make this transistor to work (as a switch) because myself I'm hitting my head into the wall since friday.
I have a 12V power supply and a square wave 0-5V as a input on the base.
The bjt is of course in common emitter configuration. How can i calculate
the resistor between the input and the base and the resistor between supply and collector?
My input signal is anyway particular: it's not always guaranteeing 5V. It's the voltage given from the pins of a PC parallel port and this voltage changes depending on the load it's driving, so i guess the right question for the base should be: how much current i should shoot into the base? (then i will find the right resistor for it)
I've tried with both 4.7K but the transistor doesn't turn on.
In the end.. another circuit i should drive with this bjt is a 12V relay (with ofc a diode not to bias the collector) in this case how much current should go into the base? (or what resistor i should use with this 0-5V input?)
Ty for your attention