+ Reply to Thread
Page 1 of 3
1 2 3 Last
Results 1 to 15 of 38

Thread: how to control a robot conected to paralel port?

  1. #1
    kakatua Newbie
    Join Date
    Apr 2003
    Posts
    8

    Default how to control a robot conected to paralel port?

    i used some software called ws_logo, but i lost it
    can anyone help me?
    any software to control a robot conected to printer port?
    any visual basic files to make my own program?


  2. #2
    Electric Rain Newbie
    Join Date
    Jul 2003
    Location
    USA
    Posts
    460

    Default

    Umm... Sorry if I got you excited making you think you got an answer when you saw that there was a reply. But, I just wanted to say, I just came here to the Robotics Forums looking for this exact thing. And this was the first thread I came to. So, anyone, I need the same thing. Information on writing my own program to control my robot via the parallel port.
    When life gives you lemons... make a battery.

  3. #3
    arcom Newbie
    Join Date
    Jan 2003
    Location
    Milky way
    Posts
    103

    Default

    Hi there!

    Here's a link for programming parallel port.
    Go here --> http://www.aaroncake.net/electronics/index.html
    (There are a few links on the page and two of them are for programming parallel port via QBasic and Visual Basic). Have fun.

  4. #4
    nettron1000 Newbie
    Join Date
    Aug 2003
    Location
    Canada
    Posts
    300

    Default

    Heres a circuit i designed and built a couple years ago which is used to control 4 motors from the parallel port of my computer. I used QBASIC for programming but just about any language will do.

    Two roads diverged into a woods...i took the one less travelled by. R. Frost.

  5. #5
    nettron1000 Newbie
    Join Date
    Aug 2003
    Location
    Canada
    Posts
    300

    Default

    If you want QBASIC, you can download it here:

    http://www.hitmill.com/programming/qbasic.html#download
    Two roads diverged into a woods...i took the one less travelled by. R. Frost.

  6. #6
    division_6 Newbie
    Join Date
    Sep 2003
    Posts
    2

    Default

    Personally, my tip would be to use Linux and Perl.

    Linux treats every device like a file, so writing code to communicate with hardware (such as a parallel port) and send data to it is extremely easy. Also, your hardware requirements are extremely marginal with Linux. A 386 with 8 meg of ram will be more than suitable for console operation. If you decide to go this route, check into Debian Linux. It's the most complete distro I have seen so far. The full installation runs on 7 CD's. It goes without saying that you can install off one as well. Debian comes off the shelf with some very nice schematic design software as well, although I forget what it's called. Another plus to Linux is the fact that it's free. Debian can be downloaded free of charge from the website http://www.debian.org.

    The reason I suggest perl is it will simply make it easier. You open a filehandle (the port), pack the data and write it to the filehandle. It's all that simple. If you feel ambitious, using the Tk library, you can design a GUI interface to work with XWindows as well.

    I started with Qbasic something like 10 years ago. As one that has written in both languages as well as C and C++, I can honestly say that perl is the easiest language I have worked with while still retaining a lot of the power inherant in a C language.

    This is mearly the method I would choose for a similar project. In my opinion, this would be the most simple and easiest method while still allowing the designer the greatest flexability possible while keeping a low budget for hardware. Most of the time you can find someone willing to give you an out of date computer that will work just fine for this. However, it goes without saying to use what ever method you are most comfortable with.

    Rob

  7. #7
    Qema Newbie
    Join Date
    Sep 2003
    Posts
    8

    Default

    the most powerfull tool for controlling PC hardware is still Machine language. Unfortunatly its not worth learning if you only need it for one thing.

  8. #8
    Someone Electro Newbie
    Join Date
    Sep 2003
    Location
    A boring village in Europe (slovene)
    Posts
    2,601

    Default

    Controling thr paralel port with visual basic is easy!

    I made a simple aplication

    Download it here

  9. #9
    Electric Rain Newbie
    Join Date
    Jul 2003
    Location
    USA
    Posts
    460

    Default

    Quote Originally Posted by Someone Electro
    Controling thr paralel port with visual basic is easy!

    I made a simple aplication

    Download it here
    When I try to open that program, it gives me this error message: Run-time error '53': File not found: dlportio.dll. :?
    When life gives you lemons... make a battery.

  10. #10
    Someone Electro Newbie
    Join Date
    Sep 2003
    Location
    A boring village in Europe (slovene)
    Posts
    2,601

  11. #11
    Chubbs Newbie
    Join Date
    Oct 2003
    Location
    Miami,FL
    Posts
    4

    Default Problems downloading the file

    Someone Electro I tried to download the file clicking on the link you post but couldn't, it keep taking me to the messages page.

  12. #12
    digital0ne Newbie
    Join Date
    Oct 2003
    Posts
    4

    Default

    right click -> save as

  13. #13
    Chubbs Newbie
    Join Date
    Oct 2003
    Location
    Miami,FL
    Posts
    4

    Default

    Thanks Digi, but now I cant find the DLL in the page someone posted.
    Some one by any chance you can sen me the codes for that program??

  14. #14
    Chubbs Newbie
    Join Date
    Oct 2003
    Location
    Miami,FL
    Posts
    4

    Default

    Sorry to bother you so much , but I actually got the dll file but now dont know how the program works, some one could you explain me, if posible could you also send me the source code
    Brgds

  15. #15
    Sankt-Seibel Newbie
    Join Date
    Oct 2003
    Location
    Germany, Rheydt
    Posts
    19

    Default

    Quote Originally Posted by Electric Rain
    Umm... Sorry if I got you excited making you think you got an answer when you saw that there was a reply. But, I just wanted to say, I just came here to the Robotics Forums looking for this exact thing. And this was the first thread I came to. So, anyone, I need the same thing. Information on wrighting my own program to control my robot via the parallel port.
    #

    wanna know how transistors work?
    could help you if you want to...
    the emitter has to be fitted on the ground, while the basis is connected to the signal and the emitter goes to the part that needs to be amplified... but there is so much literature, specially in the internet you could've used, why didn't you do that??
    sankt-seibel

+ Reply to Thread
Page 1 of 3
1 2 3 Last

Tags for this Thread