Pages: 1 [2]   Go Down
Author Topic: Controlling the speed of a dc motor?  (Read 1077 times)
0 Members and 1 Guest are viewing this topic.
United Kingdom
Offline Offline
Tesla Member
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Please do not ask for unpaid help via PM, use the forum.

Johannesburg. UTC+2
Offline Offline
Faraday Member
Karma: 91
Posts: 4257
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

.... 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....

Roy from ITCrowd: Have you tried turning it off an on again?
I'm on LinkedIn:

Pages: 1 [2]   Go Up
Jump to: