请求多个并行端口的帮助 [英] Requesting help for multiple parallel port

查看:110
本文介绍了请求多个并行端口的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

名称:Rakesh

从v.b向USB并行端口转换器请求多个并行端口(寻址)控制的帮助

您好,我正在做一个关于机器人技术的项目,我需要并行端口寻址方面的帮助.

我想访问 usb到并行端口转换器的并行端口,如果我直接使用并行端口,那么我就知道了寻址资金,但是我试图从Visual Basic到USB来控制我的机器人到并行端口. 什么是USB到并行后置转换器的地址?:((<
我可以在系统中使用多个并行端口吗?如果我想从系统中控制两个步进电机


或简单地如何找到我的USB到并行端口转换器的端口地址.?:confused :: confused :: confused:



在此先感谢

如果也给出一些新想法,我将不胜感激:) :) :) :)



罗萨雷纳. blogspot. com


[edit]不要大喊大叫!所有大写字母都被认为是在互联网上大喊大叫,无礼.受试者缩短并撤退,移至问题主体.标签. -OriginalGriff [/edit]

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]

推荐答案

您可以使用多个并行端口,并且它们的地址地址与安装在主板上的正常并行端口相同. LPT1通常在端口0x378上.

问题在于并行端口是驱动步进电机的一种重要方式.如果错误移动电机,否则卡纸,否则开始消耗过多电流,则将损坏并行端口,在您的情况下,可能还会损坏USB端口. USB端口只能提供500毫安的电流,因此您不能在任何合理尺寸或负载很大的情况下驱动电动机.

另一个问题是您的代码必须连续快速地将脉冲发送到电动机. Windows和PC并非为此设计的,将以最快的速度发送这些脉冲.同样,速度将不是恒定的. Windows是一个共享系统,有时线程会占用CPU,不允许一致地执行其他线程(如驱动程序代码).
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.


这篇关于请求多个并行端口的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆