Pages: [1]   Go Down
Author Topic: led and motor circuit help  (Read 925 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I have a motor on pin3 controlled by pwm and transistor, id like to wire in an led that also works off the same pin 3 pwm. I understand i need to wire in parallel with the transistor and have tried this but the led only works when the transistor base pin is not connected. Any suggestions why this is happening? Image of board below. I have added a resistor between pin 3 and the transistor since taking the image below.




http://www.uploadgeek.com/share-F5DD_4DB92217.html
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34118
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I understand i need to wire in parallel with the transistor
No you need to wire it up in parallel with the motor. There also needs to be a current limiting resistor in series with the LED.

We need to see a schematic not a photo of a heap of wires.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, job done smiley
Logged

Pages: [1]   Go Up
Jump to: