LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 11-03-2009, 11:10 PM   #1
SuperDude123
Member
 
Registered: Nov 2008
Posts: 157

Rep: Reputation: 30
Robotics with Linux


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?
 
Old 11-03-2009, 11:34 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by SuperDude123 View Post
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.
 
Old 11-03-2009, 11:39 PM   #3
SuperDude123
Member
 
Registered: Nov 2008
Posts: 157

Original Poster
Rep: Reputation: 30
I have a 386, and a Pentium 200 Mhz. What do I do next with them?
 
Old 11-04-2009, 12:46 AM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
do ether have a parelell port? how much ram?
 
Old 11-04-2009, 08:49 AM   #5
SuperDude123
Member
 
Registered: Nov 2008
Posts: 157

Original Poster
Rep: Reputation: 30
64 mb on the 200mhz, 8 i think on the 386, and yes both do have parallel ports
 
Old 11-04-2009, 12:18 PM   #6
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
there are actually 2 robotic's distros out there
one is Python based
http://pyrorobotics.org/?page=PyroLiveCD

the other is Java based
and made from Knoppix
I cant remember its name....
oh, robohobby
http://www.robohobby.com/robohobby_linux_live_cd.jsp

maybe that helps?
 
Old 11-04-2009, 12:31 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
you can load a small linux distro on the 200mhz one, and control you robotics from there.
http://www.faqs.org/docs/Linux-mini/...ogramming.html
http://logix4u.net/Legacy_Ports/Para...terfacing.html
 
Old 11-04-2009, 02:23 PM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,447

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by SuperDude123 View Post
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.
 
Old 11-04-2009, 03:26 PM   #9
SuperDude123
Member
 
Registered: Nov 2008
Posts: 157

Original Poster
Rep: Reputation: 30
What would you use to control say a DC motor under 24 volts? Is there a circuit diagram available?
 
Old 11-04-2009, 07:33 PM   #10
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
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).
 
Old 11-04-2009, 07:37 PM   #11
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
http://en.wikibooks.org/wiki/Robotic...face/Computers
that may help
 
Old 11-10-2009, 10:11 AM   #12
jefm
LQ Newbie
 
Registered: Oct 2009
Location: Missouri
Distribution: Debian Lenny, Android
Posts: 25

Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Linux Distro for Robotics Enthusiasts? linus72 Linux - Newbie 1 02-06-2009 09:25 PM
Internal US Robotics modem and Linux RodWC Linux - General 3 01-24-2006 01:57 PM
Linux and Robotics l00pdigga Linux - General 2 09-08-2005 10:08 AM
U.S. Robotics 56k modem with linux gr3ygh0s1 Linux - Networking 2 07-25-2005 10:50 PM
56K US Robotics modem config on RH Linux 8.0 PC joe pac bro Linux - Distributions 3 04-30-2003 04:10 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration