Go Down

Topic: Potentiometer to change speed of DC motor (Read 5 times) previous topic - next topic

TiboJ

#15
Mar 14, 2012, 05:01 pm Last Edit: Mar 14, 2012, 05:07 pm by TiboJ Reason: 1
The left red wire is going to ground, the center to the motor, and the right one also to the ground.

edit: I just checked the wiring again, and everything is right connected like the wiring diagram in the book.

Daanii

Well, AWOL's code confirmed that your pot is working correctly. So your using a 25k pot instead of a 10k pot is not a problem.

Your code looks fine. But it appears that your motor is getting full power, or nearly full power, most of the time. Somehow I think your transistor or motor wiring is wrong. I cannot see anything wrong from your picture. I'll keep looking.

TiboJ

Already thank you for help all!

I'm sure it's wired the right way, and I have checked it like 20 times now.
I will try another motor.

Daanii

I doubt that it is your motor.

Can you use your multimeter to check your power supply wiring? Make sure that what you think is positive is indeed positive. And what you think is ground is ground.

TiboJ

#19
Mar 14, 2012, 05:28 pm Last Edit: Mar 14, 2012, 05:38 pm by TiboJ Reason: 1
I tested another motor and no luck with that.

The wiring of the power source is also good, I tested the connections with my multimeter.

edit: I will try another power source now.

Go Up