Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
name:Rakesh

Requesting help for multiple parallel port (addressing )control from usb-parellel port converter, from v.b

hello every one i am making a project on robotics, i need some help with parallel port addressing.

i want to access the parallel port of a usb to parallel port converter , if i am directly using the parallel port then i know the addressing funds, but i am trying to control my robot from visual basic through usb to parallel port. what will be the addressing for a usb to parallel post converter ? :((

Can i use more then one parallel port in my system? if i want to control two stepper motor from my system


or in simple how to find the port address of my usb to parallel port converter.?:confused::confused::confused:



thanks in advance

i will appreciate more if some new idea is also given :) :) :) :)



ronsarena . blogspot . com


[edit]DON'T SHOUT! All uppercase is considered shouting on the internet, and rude. Subject shortened and de-shouted, moved to question body. Tags. - OriginalGriff[/edit]
Posted
Updated 11-Nov-10 4:50am
v2

1 solution

You can use multiple parallel ports and they would be address no differently than if they were normal, motherboard mounted parallel ports. LPT1 is usually at port 0x378.

The problem is that the parallel port is a LOUSY way to drive stepper motors. ONe false move of it the motor jams, or otherwise starts to draw too much current, you'll destroy the parallel port, and in your case, probably the USB port also. USB ports can only supply 500 milliamps, so you can't drive a motor of any resonable size or under much of a load.

The other problem is that your code has to send the pulses to the motor in rapid succession. Windows and PC's were not designed for this and will have a top speed at which these pulses can be sent. Also, the speed will not be constant. Windows is a shared system and sometimes a thread will hog the CPU, not allowing other threads, like your driver code, to execute on a consistant basis.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900