Pages: 1 [2]   Go Down
Author Topic: Controlling the speed of a dc motor?  (Read 1234 times)
0 Members and 1 Guest are viewing this topic.
United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6639
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 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.
Logged

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.

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 114
Posts: 4961
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....
Logged

The Elders of the Internet know who I am
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Pages: 1 [2]   Go Up
Jump to: