Electronics development

Moderators: None (Apply to moderate this forum)
Number of threads: 512
Number of posts: 1020

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What exacly does it take to interface a device with the pc? Posted by someloser on 20 May 2002 at 7:54 PM
I would just like to know what is required to make a robot, for example, and make it animate by the computer. When I say robot I mean just a very basic device that would move an armature or turn a motor. What programming language would be best, and whats the pros and cons of using USB or Parallel ports. This is just something I would like to know a little about, I don't even think I will be able to do it any time soon, but maybe it would be interesting to know how.


MnM

Report
Must correct myself... Posted by someloser on 20 May 2002 at 7:57 PM
Umm, when I said USB or Parallel port I meant to say USB or serial port...
Report
Re: Must correct myself... Posted by Hylsan on 21 May 2002 at 2:59 AM
: Umm, when I said USB or Parallel port I meant to say USB or serial port...
:

hum..why not the parallel port??

/Hylsan

Report
Re: Must correct myself... Posted by Noddy_SA on 21 Sept 2002 at 3:12 PM
: Umm, when I said USB or Parallel port I meant to say USB or serial port...
:
Well I have used all three quite easily. The USB must have some quite complicated electronics. The serial allows you 3bit comms strait out, so you can control 3 servo-motors and a relay or solinoid.
The parallel port can give you 8 bit comms. So you will be able to control 4 servos without any fancy electronics. A simple current amplifier on each of the bits of H378 will do some wonders. and can drive a small current relay straight off. And H379 can be read to sense switches etc.
Cheers and fun
Noddy

Report
Re: What exacly does it take to interface a device with the pc? Posted by marktj000 on 17 Jul 2002 at 8:52 AM
: I would just like to know what is required to make a robot, for example, and make it animate by the computer. When I say robot I mean just a very basic device that would move an armature or turn a motor. What programming language would be best, and whats the pros and cons of using USB or Parallel ports. This is just something I would like to know a little about, I don't even think I will be able to do it any time soon, but maybe it would be interesting to know how.
:
:
: MnM
:
:
I was able to use a assembly language to do this, you can do the same with C++ with <asm> calls within your C++ program.
Report
Re: What exacly does it take to interface a device with the pc? Posted by marktj000 on 17 Jul 2002 at 8:52 AM
: I would just like to know what is required to make a robot, for example, and make it animate by the computer. When I say robot I mean just a very basic device that would move an armature or turn a motor. What programming language would be best, and whats the pros and cons of using USB or Parallel ports. This is just something I would like to know a little about, I don't even think I will be able to do it any time soon, but maybe it would be interesting to know how.
:
:
: MnM
:
:
I was able to use a assembly language to do this, you can do the same with C++ with <asm> calls within your C++ program.
Report
Re: What exacly does it take to interface a device with the pc? Posted by hexpartako on 7 Nov 2002 at 4:38 AM
If you want to connect it to the serial port you can use a PIC for converting the data from serial to parallel and can controll 8 bits or more, o use the parallel port and use the 8 bits. Any way y tou want to make a hardware to interface some circuir i recomend to use some transistor, 2n2222 for example or any other, so you if there is any failure in the circuit you made it will not cause any dammage to your PC.

I recommend you to use C++ to program your robot, for me it's the best...

: I would just like to know what is required to make a robot, for example, and make it animate by the computer. When I say robot I mean just a very basic device that would move an armature or turn a motor. What programming language would be best, and whats the pros and cons of using USB or Parallel ports. This is just something I would like to know a little about, I don't even think I will be able to do it any time soon, but maybe it would be interesting to know how.
:
:
: MnM
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.