GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Lets say we want to control a basic DC motor (future goal would be a remote controlled car, and if we really went all out, the control signal would come in through a wireless network card), how does one do it with a PC or other?
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 1,246
Thanked: 60
Quote:
Originally Posted by SuperDude123
Lets say we want to control a basic DC motor (future goal would be a remote controlled car, and if we really went all out, the control signal would come in through a wireless network card), how does one do it with a PC or other?
buy an old 486 with a parellel port.
parellel port is easy to use.
Lets say we want to control a basic DC motor (future goal would be a remote controlled car, and if we really went all out, the control signal would come in through a wireless network card), how does one do it with a PC or other?
By 'control' do you mean something like proportional control, or is switching it on and off enough for you? And how much current and voltage to you have to control (and with a motor there is the inductive spike, too)? So you probably have to use something between, eg, the parallel port and the motor, or you'll blow the parallel card.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 1,246
Thanked: 60
Quote:
What would you use to control say a DC motor under 24 volts? Is there a circuit diagram available?
you will need transistors and relays or large transistors.
Quote:
By 'control' do you mean something like proportional control, or is switching it on and off enough for you? And how much current and voltage to you have to control (and with a motor there is the inductive spike, too)? So you probably have to use something between, eg, the parallel port and the motor, or you'll blow the parallel card.
proportional control can be simulated by quickly pulsing the parelell port on and off (pulse width modulation).
Check out the Basic Stamp or other microcontrollers.
The controller can do the real world I/O while the computer does the computing.
It will take some programming, but the Stamp can take commands from the computer and provide real world data when queried.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.