Electronic – Simple transistor circuit not working

circuit-designdc motortransistors

I am very new to electronics as a whole and this is my first somewhat advanced circuit using transistors. (Also I am new to this community, so if I messed up somewhere in this post feel free to ask me to clarify). Here is my sketch:

The sketch

This is supposed to control a motor for an airsoft gun. The gun always needs to stay on a whole cycle. The end of the cycle is indicated by a short 5V signal that runs into a NOT gate. This is supposed to cut off the "feedback loop" from the 12V rail to the main transistor in order to stop the firing (if the signal below is still high, another cycle will be initiated.) The 5V is provided by a power supply connected to the 12V batteries.

Here are the issues I experience whentrying to build this circuit on a breadboard (with buttons as inputs for the signals):

  • The motor gets basically no current and the voltage at the motor is not the expected 12V but 1.2V. I thought that could be because the motor might split the voltage with the voltage going in the back of Q1, but that does not make sense at all since Q2 is not even on.
  • The NOT gate works, but the output cannot turn on the feedback line (into the base of Q1).
  • Q2 is off all the time.

I really don't know if I messed up with the components I selected or the basic laws of physics (or both.)

Help would really be appreciated.

Of course if you could explain your solution it would be great, but right now I just want it to work.

Best Answer

The motor gets basically no current and the voltage at the motor is not the expected 12V but 1.2V?

Your NPN transistor is acting as an emitter follower and, if the 100 kΩ resistor were more like 100 Ω then you might see 4 volts on the motor when it is activated. This is what happens when you use an emitter follower - the emitter follows the base voltage (with a slight voltage reduction). However, when using a 100 kΩ resistor, the current into the base multiplied by the transistors β (circa 100) doesn't produce much emitter current and it will appear that the motor is not powered.

If I were you I'd look into using a P channel common source MOSFET to switch the motor on and off. Or, use an N channel common source switching the negative supply to the motor. Get this bit working before adding any sophistication.