LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2004, 08:00 AM   #1
tuxfood
Member
 
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
Run a motor from a computer


hi....

i was just thinking....

what if i could run a motor (small dc one for now) from a computer ...
i would prefer to use the usb port ....

where should i begin...
would the device drivers howto at tldp be a good place

what safety precautions should i take care off?

i guess i would be needing the folllowing things

1)breadboard
2)AND IC
3)dc motor

won't these be enough

the aim is to just run the motor at the press of a key in the keyboard

help anyone....


thnks

tuxfood
 
Old 06-16-2004, 08:17 AM   #2
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

i don't know where you're located, but here in the UK, Maplin electronics (http://www.maplin.co.uk )
used to market a number of computer interface kits, which might be suitable.

i personally would anticipate that using the parallel port might be easier - you could write a program to assert any of the data or control lines easily, and with some simple buffering electronics, control your motor that way.. it wouldn't be expensive (unless you blow the parallel port up on your computer - shouldn't happen if you design the external electronics correctly)

You could even add extra refinements, such as direction or speed control....

have fun
 
Old 06-16-2004, 09:54 AM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
Hi,

inspired by your question, i found this link which would appear to contain lots of useful information -

http://www.epanorama.net/circuits/parallel_output.html

cheers
 
Old 06-17-2004, 02:04 AM   #4
tuxfood
Member
 
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Original Poster
Rep: Reputation: 15
hi...

thnks for the links...
the second one was esp good...

will surely mention the results...

the link mentions abt an inexpensive i/o card for experimenting..

u know any such cards ?

by the way my location is kerala,india ... u been to india?

thnks

tuxfood
 
Old 06-17-2004, 04:41 AM   #5
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi tuxfood,

Quote:
the link mentions abt an inexpensive i/o card for experimenting..
Quote:
u know any such cards ?
i had another quick look at maplin's website, and it looks like they have discontinued their cheap interface cards - they still do one, but it's £99 - ridiculously expensive.

i think you'll probably have to do some googling, or perhaps have a go at making a suitable device yourself - i don't know how familiar you are with electronics or electonics construction techniques.

i've not been to india, but it's always seemed a very interesting country - the managing director at my last job was indian and he used to make fairly regular visits back to see family. perhaps some day i'll make a visit too.

good luck with an interesting project!
 
Old 06-17-2004, 05:49 AM   #6
rshinoy
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
It is very easy to do this project through relay drivers(a kind of IC).
You Just need to control the digital signal input to this relay driver chip through parallel port of PC

SHenoy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux in a motor H2O-linux General 22 01-16-2006 04:42 PM
Remove dvcamorder motor sound from video Fnurr Linux - Software 0 05-23-2005 05:44 AM
How to spin down a HD motor on a USB-STORAGE interface questionmark Linux - Hardware 0 02-08-2005 05:57 AM
Brilliant Geeks, need engine (as in motor) help MasterC General 1 05-19-2002 07:39 AM
Will Linux run on this computer??? system Linux - General 5 12-25-2001 12:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration