Transistor Arduino Loss of Voltage

arduinobatteriesmotortransistorsvoltage

schematic

simulate this circuit – Schematic created using CircuitLab

I have a wire connected to the base of the transistor that goes to the PWM pin 9 on the Arduino Uno.

On the collector of the transistor I have a 7.5v battery and the emmitter is connected to a motor which then connects to ground.

On the emitter of the transistor I am only seeing 2v, why is this? Is there anything I can do to change this?

Best Answer

You've set up the NPN transistor as a high-side driver, but you aren't feeding the base a high enough voltage for it to be effective. Move the motor to between the collector and the positive terminal of the battery in order to turn the transistor into a low-side driver.

Also, put a resistor between the base and the Arduino so that you don't try to pull the positive supply down to 0.7V (between 820 ohm and 1.2 kohm should do), as well as a diode across the motor so that you don't blow up the transistor.

schematic

simulate this circuit – Schematic created using CircuitLab