Go Down

Topic: Controlling the speed of a dc motor? (Read 1 time) previous topic - next topic

dc42

As JimboZA says, you meed to clarify whether you have a DC motor or a servo. If it's a motor, you shouldn't be driving it as if it's a servo. If it's a servo, you probably don't even need a transistor to drive it.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

JimboZA


.... you meed (sic) to clarify whether you have a DC motor or a servo.


And if it's a dc motor and you have code for a dc motor, you can't reasonably expect help when you post servo code. Anyone trying to help is really pissing in the dark if you don't provide enough info.

It seems that you have posted servo code for a dc motor and have given a link to a schematic that you believe you followed correctly, but with a few differences. Post the actual code and the actual schematic, maybe with photos or Fritzings, then you'll probably get some help....
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

Go Up