Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: Adapter USB to DB25.

  1. #1
    Junior Member
    Join Date
    Aug 2020
    Location
    Great Belgium
    Posts
    5

    Adapter USB to DB25.

    Hello,

    i will like to know if anyone has ever built a usb - db25 adapter, i would like to connect an old cnc control board to pc which has no parallel port.
    I know it is possible to replace the CNC board with another one with USB, or install a DB25 IDE board, but if anyone knew about it, please share it.

    Here is the CNC card in question: https://www.mechapro.de/shop/Stepper...-2-8::239.html damn, when i see the price i pay that!

    Thank you

  2. #2
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    294
    Never built such an adapter, but would this kind of cable do the trick?

    Paul

  3. #3
    Junior Member
    Join Date
    Aug 2020
    Location
    Great Belgium
    Posts
    5
    Hello,

    yes, it is true that I have been looking for +/- 10 days and I came across a few sites that sell these cables, but according to some forums, the transfer speed is not at the top and the 25 pins are not all connected, or reversed.

    In fact, the adapter must make the transition of the signals from the software, for example, bCNC, or Candle, ... to the machine via the control board.

    Here is pretty much ready what it looks like, https: //www.aliexpress.com/item/4000592475565.html , but around 40 Euros.

    I came across a site that showed the interior and there was stupidly an ATMEGA32A4, and a few other sites, with an Arduino NANO, so I thought maybe a Teensy would do the trick, but I have to I program it, then there !, I did not leave the hostel as they say in Belgium.

    Thank you.

  4. #4
    Senior Member
    Join Date
    Jan 2020
    Location
    Toscana
    Posts
    130
    So this board uses a LPT interface, right?
    An off-the-shelf USB to DB25 adapter cable adds LPT to the OS. I'd give it a try before re-inventing the wheel.
    What does transfer speed matter in this case? A few bytes being sent every now an then.

  5. #5
    Junior Member
    Join Date
    Aug 2020
    Location
    Great Belgium
    Posts
    5
    Quote Originally Posted by flashburn View Post
    So this board uses a LPT interface, right?
    An off-the-shelf USB to DB25 adapter cable adds LPT to the OS. I'd give it a try before re-inventing the wheel.
    What does transfer speed matter in this case? A few bytes being sent every now an then.

    yes, but all pins are not connected and / or not configured for a CNC, from what I understand.

    And precisely, it is in order not to reinvent the wheel that I questioned the forum to find out if someone has made a montage as is or has a link on the subject.

    Thanks

  6. #6
    Senior Member
    Join Date
    Mar 2016
    Posts
    211
    Sometimes old tech is better left to the e-cyclers. I would switch to a modern motion control system that has support - I'm guessing you want to use Mach 3. There are lots of inexpensive USB choices out there including GRBL, grblHAL and a number of other GRBL derivatives. My grblHAL BoB for Teensy 4.1 works pretty well.

  7. #7
    Junior Member
    Join Date
    Aug 2020
    Location
    Great Belgium
    Posts
    5
    Hello,

    thank you PhilB for your constructive response, yes, I think I will do this, I saw the work you did, Congratulations.

    I was actually using LinuxCNC, and then I kinda let this machine down.

    Indeed for the 40 Euros of the adapter, I have a new GRBL card.

    Thanks and have a good day.

Posting Permissions

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