Author Topic: toggling leds using usb to parallel converter  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

Offline neo01124Topic starter

  • Jr. Member
  • **
  • Posts: 46
  • Helpful? 0
toggling leds using usb to parallel converter
« on: May 28, 2008, 06:55:28 AM »
i want to control around 4-5 digital pins using a laptop(without a native parallel port) so i thought i'd plug in a usb to parallel port converter and then it appeared like a generic parallel port on my machine (lpt1) so i used ouportb command to give it a byte of data but it wont just work. Either all the data pins are on at once or off at once.
Apparently it seems the converter is only meant for connecting a printer.

any help to toggle individual data pins(pins 2 - 9) of the parallel port will be appreciated

Offline RobD

  • Full Member
  • ***
  • Posts: 64
  • Helpful? 0
Re: toggling leds using usb to parallel converter
« Reply #1 on: June 05, 2008, 05:33:58 PM »
usb sends data in packets of 1uS or 125 uS and there are probably latency issues with your toggling individual bits.  Most generic usb to lpt converters dont offer work-arounds.  They are designed to drive printers. 

Try looking here for some info


I'm sure there may be a softwre driver/solution out there somewhere on the web...it seems like the real trick is on the windows side of things.  Thats about all I can offer.   

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: toggling leds using usb to parallel converter
« Reply #2 on: June 05, 2008, 06:28:44 PM »
*cough* use linux *cough*

if you use windows then download roborealm , it allows easy control of the parallel port

Check out the Roboduino, Arduino-compatible board!

Link: http://curiousinventor.com/kits/roboduino



Get Your Ad Here