NOT gate

Thread Starter

Bluerocket

Joined Dec 10, 2013
10
Hello. I'm trying to use a NOT gate to power a LED and an Oscillator when the transistor's base doesn't recieve voltage. I attached an image with the circuit. The circle with T is a thermostat. The problems are:

1) The whole thing is powered at 12v. A NOT gate needs a resistance at the collector. The oscillator is made for 12v drawing 14mA. But because of the resistance the voltage drops and the oscillator doesn't recieve 12v. That means the resistance has to be small.
2) A small resistance means that a great amount of current will flow through the transistor in the saturation mode. But as I understood, in saturation mode common-emitter resistance is very small so why do my transistors heat up?

Please suggest me some type of transistor and the values of base and collector resistors to maximixe the oscillators voltage and to make the transistor stable. Or if there's another method to turn on the Oscillator and LED when the thermostat gets off then please suggest it.

Thank you :)

NOT gate.jpg
 

ErnieM

Joined Apr 24, 2011
8,377
Just make the transistor switch active when you need it:



Since I have no idea what your unspecified drive signal is I could not account for that; I imagine it needs to be inverted.
 

Attachments

Thread Starter

Bluerocket

Joined Dec 10, 2013
10
That's not OK! If the base is not powered then the oscillator won't work. I need the oscillator to work when the base doesn't recieve votlage.
 

MikeML

Joined Oct 2, 2009
5,444
Here is how I would do it: I cant see why the extra diode or the capacitor is there. The capacitor will damage the thermostat contacts.
 

Attachments

Thread Starter

Bluerocket

Joined Dec 10, 2013
10
Thank you very much for your effort. The oscillator makes a speaker to buzz when the thermo goes off but I want it to beep just for 5 seconds. The oscillator was at the relay's contacts which had an off delay when the thermostat went off (that's why the capacitor was there) and the other diode was to don't allow the capacitor to discharge trough the green LED.
What are the two circles in the top right corner?
 

MikeML

Joined Oct 2, 2009
5,444
One is the 12V power source; the other is a voltage source which open/closes the switch for the simulation. LTSpice uses a voltage-controlled switch, so to run a simulation where the switch opens and closes, you specify that by using a pulsed voltage source.
 

MikeML

Joined Oct 2, 2009
5,444
Thank you very much for your effort. The oscillator makes a speaker to buzz when the thermo goes off but I want it to beep just for 5 seconds. The oscillator was at the relay's contacts which had an off delay when the thermostat went off (that's why the capacitor was there) and the other diode was to don't allow the capacitor to discharge trough the green LED.
...
So the relay is there just to make a delay?
 

Thread Starter

Bluerocket

Joined Dec 10, 2013
10
Mister MikeML your circuit is surely good? I ask this becuase when the thermo is off I see that both LED's will light up.
 

MikeML

Joined Oct 2, 2009
5,444
Ok, here is a circuit that does what you asked for without using the relay. The delay is proportional to R4*C1. The red and green traces correspond to the red and green LEDs I placed on the schematic. The PFET is almost any power device rated at Vds < -20V
 

Attachments

Thread Starter

Bluerocket

Joined Dec 10, 2013
10
Ok, here is a circuit that does what you asked for without using the relay. The delay is proportional to R4*C1. The red and green traces correspond to the red and green LEDs I placed on the schematic. The PFET is almost any power device rated at Vds < -20V
Thank you but in your circuit the Oscillator will work together with the green LED. That's not what I want. The green works when thermo is on and the red and osc when the thermo is off but the osc has to work just 5 seconds after the thermo is off.
 
Top