Thanks Thanks:  0
Likes Likes:  0
Needs Pictures Needs Pictures:  0
Picture(s) thanks Picture(s) thanks:  0
Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2012
    Location
    nsw
    Posts
    26

    Default usb to parallel converters

    Hi,
    I have been using a 40 x 30 cnc router for a couple of years. At the time I was assured that I had to use a parallel port desk top and could not use a note book computer as they had interrupt issues. I scored and old XP machine with a multi IO port which has been working as required.
    Now, this is where I have a couple of questions considering the note books are up to 3 gig I7s.
    There are adverts for smooth steppers which cost about $180 from USA. Ebay has break out boards from China at about $30. They seem to say they are USB in and centronics out. Some of the Ardrino and Atmil sites have these converters but say they are not quick enough to run something like Mach 3.
    The reason I am lost in this is I also fly R/C planes. In just the last 3 years I have seen the sale of quad copters that have GPS and auto pilots and weigh 20 odd grams. Brushless motors and Lipoly batteries that compete on performance with glow engines. Items that 5 years ago we would have laughed at the suggestion of.
    I suppose what I want to know is do I need to spend 180 or 30 dollars and can I use my I7 notebook?
    Regards from Newcastle NSW

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many





     
  3. #2
    Join Date
    Sep 2012
    Location
    Coffs Harbour
    Posts
    1,805

    Default

    Any idea what sort of interrupt issues laptops have? I use my usb to rs232 parallel adapter using putty or minicom terminal emulation for years and haven't had issues with throughput. Once the correct baud rate has been set. I can use these on other embedded devices similar to the arduino etc also.

    Am I miss interpreting this possibly? Lol

  4. #3
    Join Date
    Feb 2012
    Location
    nsw
    Posts
    26

    Default I dont know

    Quote Originally Posted by delbs View Post
    Any idea what sort of interrupt issues laptops have? I use my usb to rs232 parallel adapter using putty or minicom terminal emulation for years and haven't had issues with throughput. Once the correct baud rate has been set. I can use these on other embedded devices similar to the arduino etc also.

    Am I miss interpreting this possibly? Lol
    I dont know what interupts or even if my information is from this century. From experience I have seen early notebooks that struggled to even run Windows 95 so I can imagine they would struggle to do anything on time.

    At the local monthly computer market there is a guy selling usb to rs232 cables and usb to centronics. Like you I bought the sr232 cable and use it on an Ardrino board and a Picaxe board. After reading your comment I think I will buy the centronics cable and try it. They are only about $10 at the market. The 232 cable drivers were very complicated to install and will only operate from one port.
    One other thought, does Mach 3 see the port as centronics or usb?

  5. #4
    Join Date
    Nov 2008
    Location
    somewhere
    Posts
    152

    Default

    I've got an iCore7 laptop which is a couple of years old now. I purchased a pccard (or whatever the hell they are called now) parallel port for it, which was supposedly usable, but I've not actually hooked it up to a gecko to test it. I understand a straight usb to parallel converter doesn't cut it.

    I was mucking around with the linuxcnc.org live cd and trying to get a halfway reasonable score when my wife (god love her) purchased a Tinyg cnc controller from synthetos for christmas for me. The cost is $130, but with that you don't require a gecko or other controller, and you also don't need mach3. The savings were worth it for what I was trying to do. Runs off usb and its worked pretty well.
    You hardly need any resources on the computer your running it with - just enough to send data down the usb port to the controller. The new GUI interface (tgFX) is very nice too.

    If your going to buy one then check out the specs on it carefully and make sure it will do what you want. For example my 6040 cnc machine has 3 amp stepper motors, but the TinyG can only drive to 2.5 amps (per coil). I've been running it at about 2amps and haven't had any trouble, but I'm only routing wood at this stage. No idea if that would be a problem for aluminium routing - you'd need to ask somebody with some experience.

    If you already have a gecko, or other parallel port controller I suspect you'd be better off going the pc card route.

    If you want to check it out the website is here: https://www.synthetos.com
    have a read of the forums too.

  6. #5
    Join Date
    Sep 2009
    Location
    Newcastle
    Posts
    549

    Default

    A usb to parallel port converter will not work. They designed for printers. The reason the parallel port is used in motion control is that it is a simple bunch of pins that can be run in real time. The converter will not carry all pins through, or work in real time, or at anywhere near the speed required.
    The problems that occur with laptops sometimes (not always) is due to timing and power saving systems.

    The smooth stepper is a motion controller. Mach 3 tells it where it should move and the smooth stepper works out the actual pulses for the motors. (Where as each pulse is sent over the parallel port).
    USB is not ideal for this even so, and you'd be better off with the Ethernet version of the smooth stepper.

    I use Linux cnc, and the Mesanet cards do hardware step generation and lots of inputs and outputs for a cheap price. Not sure what mach 3 support is like.

  7. #6
    Join Date
    Jul 2007
    Location
    Brisbane
    Posts
    71

  8. #7
    Join Date
    Nov 2006
    Location
    Darwin HowardSprings
    Age
    52
    Posts
    1,197

    Default

    with older laptops , the " bus " would be ran at 3.3volts compared to the 5 volts of a regular pc
    now days there using the same chips in laptops as they use in PC's , so this problem hs gone away ( with the parallel port )

    so with a 5 volt ttl logic any thing under 2.4 volts is off , any voltage higher than 2.4 volts is on ( the 1/2 way point )
    if the max voltage out of the laptops parallel port is 3.3volts , and a single transistor junction knocks off 0.6 volts , the 2.7volts is only just high enough to switch on , a longer cable might be the braking point , having more resistance and dropping the voltage a little bit more , this leads to " gremlins " creeping in and intermittent false logic , 1 missed pixel is hard to see in a photo , but a missed step in cnc every 20 sec will soon add up

    if the laptop has a " standard " pc chip in place ,it would be fine , if the chip is a "custom laptop chip " its more likely to run on a lower bus voltage so the battery lasts longer

    most are pc chips now days ,i5, i7, i9 ,dualcore pentium , i think it was the pentium4 when battery tec caught up to he needs of a PC chip and they no longer ran a 3.3volt buss like celerons ( getting old now )


    parallel ports can switch each wire at the speed of the " bus " , USB sends " packets " of information in bursts depending on chip usage , an interrupt signal coming back into the pc is almost instantly recognized with a parallel port , while with USB a flag is raised , and the computer will get around to looking for interrupts when its software tells it to look ,a big difference time between the 2

    simplifed
    i a parallel port wants to send the number 256 ,it would do so with 8 wires , in one " timing "

    11111111

    a usb is a serial communication and shakes hands first then transmits its data over eight " timings "
    1
    1
    1
    1
    1
    1
    1
    1
    and then hand shakes off
    another chip ( a shift converter )will assemble it into a 8bit binary , and then pass it to the break out board as 11111111

    parallel ports direct access the the bus ( chip / ram / rom highway ) is a lot faster and more accurate

    i was stuffing around writing a "dill " and the way mach3 uses the parallel port is amazing
    0000000 8 pins all off = 0
    0000001 pin1 on = 1
    0000010 pin2 on = 2
    0000011 pin 1 and 2 on at the same time = 3
    0000100 pin 3 on = 4
    0000101 pin 1 and 3 on = 5
    0000110 pin 2 and 3 on = 6
    0000111 pin 1 , 2 and 3 on = 7

    the visual basic dill just to decide on what number to send to the parallel port , with 2 ports with 8 pins each ,made my head hurt
    it ends up pretty easy
    if you use a value for each pin
    pin1 =1
    pin2 = 2
    pin3 = 4
    pin4 = 8
    pin5 = 16
    pin6 = 32

    so set each variable to only have those numbers or zero , if pin 1 is off it =0 , if pin 3 is off = 0
    then a simple ,pin1 add pin2 add pin3 add pin4 add pin5 add pin6 , will give you the variable to post on the parallel port
    how come a 10mm peg dont fit in a 10mm hole

  9. #8
    Join Date
    Feb 2012
    Location
    nsw
    Posts
    26

    Default Thanks

    Thanks for the info.
    Looks like I should just keep the old computer going while it is working.
    Regards

  10. #9
    Join Date
    Sep 2012
    Location
    ont Canada
    Posts
    401

    Default parallel port

    I have experience with the use of paralle ports.
    My cnc machine came with parallel port connection and you cannot use a notebook of any sort,the machine goes crazy and the manufacturer says definitely not
    In fact even with the desktop i had issues if the computer rebooted during a run the z axis was affected (drove 2.5 in down)
    So you need a standalone parallel port worth about 18.00 CAN ,disable the buit in paralell ports and configure the standalone ,mine was pci and it works fine.
    I also had trouble with another device (drawing tool) usb to serial adapter ,there you have to keep trying some work with xp some work with win7

Similar Threads

  1. Should all Fountain Pens come with converters?
    By BoomerangInfo in forum WOODTURNING - PEN TURNING
    Replies: 10
    Last Post: 31st January 2009, 09:15 PM
  2. Phase Changer Poiwer Converters
    By PhaseChangeConv in forum ANNOUNCEMENTS
    Replies: 0
    Last Post: 3rd September 2008, 02:19 PM
  3. Rotary phase converters
    By zelk in forum HAND TOOLS - POWERED
    Replies: 5
    Last Post: 12th August 2006, 10:59 AM
  4. Phase converters.
    By RETIRED in forum ANNOUNCEMENTS
    Replies: 1
    Last Post: 20th October 2004, 01:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •