So I have a nand gate using DTL (diode transistor Logic) but i don't know how to connect my DC motor to nand gate logic , I tried to put my DC motor to the output of DTL but it isn't working, may you recommend or advice something?
-
You'll need something that can provide the current that motor is going to require--definitely a lot more than you can give it through that 1kΩ resistor! – Hearth Apr 29 '18 at 15:34
-
3I suggest you first tell us what you want to achieve. Please explain in detail what you want the motor (and please specify details of the motor, voltage, what it should drive etc) to do under which circumstances. – Oldfart Apr 29 '18 at 15:36
2 Answers
- Remove the ground connection on the output.
- Connect the motor between ++ and output.
See how to use an npn as a switch between battery and motor?.
How it works:
- With A and B disconnected or high the left 1k resistor (you should number your components) feeds current into the base of the transistor. This turns it on and connects the collector (output) to GND.
- If either A or B is pulled low (to GND or 0 V) the base current is diverted away from the transistor base and the motor will turn off.
You don't need the resistor on the right if you connect the motor. It's resistance will do the same thing.

- 168,990
- 12
- 186
- 385
Firstly, there are a couple of ambiguities with how you have drawn your circuit. I will assume that you are connecting your motor between the Vcc(Power) and Output pins and that the output pin isn't actually connected to GND. The 1k resistor connected to the collector of the BJT isn't necessary but, it shouldn't be the problem.
The most likely reason that your motor doesn't seem to work correctly is probably because you aren't providing enough power to it (voltage and current). Therefore, after reading the specs of the motor to figure out its operating point. Check the following:
Ensure that the supply voltage is high enough to overcome the bandgaps of the didoe & base-emitter junction; in this case, at-least 1.4V (0.7V for diode and 0.7V for BE junction of BJT) would be needed at the node after the left 1k resistor (annotate your diagrams) to ensure that the BJT is in the active region.
After ensuring that the BJT can in fact operate in the active region, ensure that the voltage drop across the motor (voltage division between motor and VCE of BJT) will provide the voltage and current necessary for operating the motor as specified in its datasheet.

- 111
- 2