Debugging pwm motor control circuit

Thread Starter

IvarsOzolsDB

Joined Aug 24, 2012
40
I designed this schematic to control a small DC motor witch draws 250mA@4.5V. Made PCB, soldered all in place but it doesn't work. When I disconnect the motor, the LED lights up and reacts like it is supposed to. I'm electronics hobbyist so I'm asking you where is the error in design?
 

Attachments

bertus

Joined Apr 5, 2008
22,278
Hello,

What is value of the power supply of the circuit?
For 4.5 Volts at the output of the regulator, you will need at least 6.5 Volts.

Bertus
 

Thread Starter

IvarsOzolsDB

Joined Aug 24, 2012
40
Circuit is powered from 9V battery or adapter. If I hook up motor to regulator directly, motor runs as expected. Voltage measured in LM317T regulator output is 4.5V (adjusted by R4 1k trimpot), voltage measured connecting multimeter to motor outputs and with speed pot to max is also 4.5V
 

Audioguru

Joined Dec 20, 2007
11,248
You want the transistor to saturate. Then with a load of 250mA its base current should be 25mA.
But your 1k series base resistor limits the base current to only 8.3mA which is not enough. Try 330 ohms.

You also might have the collector and emitter pins of the transistor swapped.
 

tubeguy

Joined Nov 3, 2012
1,157
Another concern. If you are running a 250ma motor at 4.5v then you are running the 2n2222 at .25a x 4.5 volts = 1.125 watts. Too much wattage for a 2n2222. Is the transistor HOT?
A TIP31 would be an option and is readily available.
 

Thread Starter

IvarsOzolsDB

Joined Aug 24, 2012
40
Thank you Audioguru, You were exactly right! I had collector and emitter pins of the transistor swapped. Did the 1k to 330R change too and circuit works like charm! :)
 
Top