Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM port?

Status
Not open for further replies.

macksta

Programmer
Aug 13, 2002
27
NZ
Hi Folks,

A while back I wrote a piece of software to read barcode labels via a bar code reader through the COM port. And this has given me an idea of something that I would like to do. I saw a guy flying a plane around a while back and I thought wow that looks cool I wonder if i could make a plane and bring it to life? The misson "AI in real Life". I have found a GPS system that will allow me to link up to my computer and have figured out the code to dive turn left e.t.c thanks to a friend that is a pilot.

The bit that I cant figure out. I have several things that I need to acheive at one time on the plane move rudders flats apply acceleration e.t.c. So what I would like to do is create a device that connects to COM port 2 on the PC and the program will pass my device several parameters the say for example:

Flap: 10 degrees
Speed: 50%
Rudder: -10

Occording to the parameters that I pass the object I want to move several pieces of wire or move a motor. So to my Question has anyone had to make a device that hooks up via the COM port that will send a electrical current to a motor (in different polaritys depending on the variable sent) and/or does anyone know where there is some documentation on acheiving something like this?

Thank in advance
Jamie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top