This is my first post in this forum and I have just started with arduino.
I have arduino UNO board and I am trying to change the speed of the motor with help of a PWM pin 9
I am using NPN BC547B transistor as a switch.
Following are the connections made on the breadboard.
Following steps are then carried out
->Connected a 2K resistor in series between pin 9 of arduino and base of the transistor.
->Grounded the emitter of bjt.
->Connected the motor between the 9v external source and the collector terminal.
->Connected a diode 140007 parallel with the motor (implemented as flyback diode).
->grounded the external 9v source negative on breadboard(connected to the same reference of emitter)
->Grounded the reference from arduino (from the power pins)
Loaded the sketch and nothing happened.
Hence I put a multimeter and saw that current was fluctuating correctly.
Then to check if my observations were correct, I replaced the motor with an LED(which had 1K resistor in series with it) and it worked.
Therefore I concluded that the current was not enough to drive the DC Motor.
For this I referred to Jermey Blum’s tutorials and his was working without any current amplification.
Just wanted to know if my component selection is correct and how to make a DC Motor run with arduino.