585,728 active members*
4,240 visitors online*
Register for free
Login

Thread: serial port

Results 1 to 18 of 18
  1. #1
    Join Date
    Dec 2011
    Posts
    0

    Question serial port

    Will the USB to serial port work with the G540 and Mach3?
    I cant think of any other way to work with the G540 other than the USB to serial port....
    Any help would be greatly appreciated.

  2. #2
    Join Date
    Oct 2010
    Posts
    317
    If you want to run Linux, you can use an arduino for the usb to serial conversion.

    Check out question 5 here - FAQ « Emc2Arduino

    I have no idea how it would work, may play around with it a bit once I get my stepper motors. It would be a lot cheaper to run EMC(Linux Controller)(free!) and use an arduino to send the programs than to buy mach3 and a parallel port.

  3. #3
    Join Date
    Dec 2011
    Posts
    0
    This is true but i haven't really wanted to build a Linux system... although that is a good idea to save 175 + serial conversion....


    Quote Originally Posted by tjb1 View Post
    If you want to run Linux, you can use an arduino for the usb to serial conversion.

    Check out question 5 here - FAQ « Emc2Arduino

    I have no idea how it would work, may play around with it a bit once I get my stepper motors. It would be a lot cheaper to run EMC(Linux Controller)(free!) and use an arduino to send the programs than to buy mach3 and a parallel port.

  4. #4
    Join Date
    Jan 2006
    Posts
    2985
    A G540 does not have a SERIAL port.
    A G540 does have a PARALLEL port.
    A G540 will not work with a USB to PARALLEL converter.
    A G540 will work with a smoothstepper which uses USB but its more money still.

  5. #5
    Join Date
    Dec 2011
    Posts
    0
    Quote Originally Posted by keebler303 View Post
    A G540 does not have a SERIAL port.
    A G540 does have a PARALLEL port.
    A G540 will not work with a USB to PARALLEL converter.
    A G540 will work with a smoothstepper which uses USB but its more money still.
    So how is one suppose to use a laptop with the g540 without the smoothstepper. I have seen them on youtube working... My laptop only has usb ports

  6. #6
    Join Date
    Jan 2006
    Posts
    2985
    I have seen someone walk on water on youtube. Does that mean I can do it?

    If you don't believe me, do your own research.

    If your laptop has a parallel port, it might work with mach3 (doubtful).
    If your laptop has a pentium "m" processor, its probably not going to work even if you have a parallel port.

    YOU CAN'T CONNECT THE G540 TO ANYTHING USB WITHOUT FIRST GOING THROUGH A SMOOTHSTEPPER OR SOME SIMILAR DEVICE.

    DO YOU KNOW WHAT A SMOOTHSTEPPER IS?
    DO YOU KNOW THAT THEY AREN'T USING ONE ON YOUTUBE?

  7. #7
    Join Date
    Dec 2011
    Posts
    0
    HAHAHA someone has had their crack for the day! Ease up on the CAPS! I did not have any attitude when I asked the simple question.

    Moving on... Thank you for the info on the Pentium M processor.
    The only reason I wanted to use a laptop is to keep a cleaner space.
    So.... I was trying to find out what laptops would work with it. I know there are laptops out there that WILL run it. However I do not know the brands/components that are compatible.
    Where is a good trustworthy place to purchase a smooth stepper?


    Quote Originally Posted by keebler303 View Post
    I have seen someone walk on water on youtube. Does that mean I can do it?

    If you don't believe me, do your own research.

    If your laptop has a parallel port, it might work with mach3 (doubtful).
    If your laptop has a pentium "m" processor, its probably not going to work even if you have a parallel port.

    YOU CAN'T CONNECT THE G540 TO ANYTHING USB WITHOUT FIRST GOING THROUGH A SMOOTHSTEPPER OR SOME SIMILAR DEVICE.

    DO YOU KNOW WHAT A SMOOTHSTEPPER IS?
    DO YOU KNOW THAT THEY AREN'T USING ONE ON YOUTUBE?

  8. #8
    Join Date
    Jan 2006
    Posts
    2985
    Yep, I smoke it every day.

    The dialog is something like this:

    You: I wanna do it.
    Me: You can't without this.
    You: But they did it on youtube.
    Me: NO, no they didn't.

    I was hoping caps would get the point across. Just because one guy on youtube has a computer that works does not mean yours will. In fact it cannot work without some type of smoothstepperesque device.

    If I hadn't been smoking so much crack I would be able to provide you with the link to the maker of the smoothstepper, but since I am completely blown, you'll have to spend 5 seconds to google it.

    Peace
    Matt

  9. #9
    Join Date
    Jan 2006
    Posts
    156
    DynoMotion probably has a better solution for running mach3 with USB. They also have

    a Yahoo group with more information. You can also get USB cards compatible with

    mach3 on ebay, there are hundreds of them.

  10. #10
    Join Date
    Dec 2011
    Posts
    0
    Thank you for your helpful post. I appreciate your help. I will check them out.

    Quote Originally Posted by salzburg View Post
    DynoMotion probably has a better solution for running mach3 with USB. They also have

    a Yahoo group with more information. You can also get USB cards compatible with

    mach3 on ebay, there are hundreds of them.

  11. #11
    Join Date
    Feb 2010
    Posts
    371
    I have used the G540 with an older Dell D530 laptop without problem. I started out using the smooth stepper with it, but wanted to be able to home all three axis at once which the smooth stepper driver does not support. I plugged it directly into the parallel port and it worked fine.

  12. #12
    Join Date
    Oct 2011
    Posts
    12
    The basic general problem here is that on a scale of microseconds, usb is not real time. It will not only have lag, but the lag is not predictible. This is why Mach has to use smoothstepper (or some sort of similar gadget) to buffer the usb data stream and feed it to the steppers with the time jitter filtered out.

    It might well be possible to set up a linux box using a real time kernel, very very carefully control what is using the usb bus, and manage to make it work. Given that, it should be fairly simple to write a module that EMC could use for IO that would use the usb port to run a breakout board that would run the steppers. But, you probably couldn't use a usb mouse or keyboard.

    It would almost certainly be possible to use an arduino and build a 'smooth stepper', then an output from there on a parallel cable to the g540. Might even be worthwhile. But you're gonna have a 'smooth stepper', just spelled different, between your usb port and the g540.

    Again, the basic problem is that on a small time scale, usb is not time determinant on how long it will take a signal to get from the motherboard to the steppers. You can get lots and lots of data there fairly quickly, but you can't depend on the timing when you are talking a few hundred microseconds.

    I did some serious research on this one time when I was looking at trying to build an engine with electronic controlled valves 50 microseconds was way beyond reach for a two way data exchange.

    Jim

  13. #13
    Join Date
    Dec 2011
    Posts
    0
    Air gunner: thank you I will see if I can't find one. I am sure there are some used d530's out there.

    Jim: thank you for the great explanation. Now I understand why you can't use USB to parallel.

    So I'm thinking it will be cheaper to find a desktop with a parallel port.....

  14. #14
    Join Date
    Dec 2011
    Posts
    0
    Ok so will all desktop computers that meet or exceed the requirements work with mach3 as long as they have a printer port?

  15. #15
    Join Date
    Oct 2010
    Posts
    317
    Not sure but I bought a parallel port off ebay last night for $4, not much to lose and with the month shipping I might be ready when it gets here.

    PCI IEEE 1284 Parallel Printer LPT Port I/O Card ECP EPP SP C

    http://bit.ly/ITg1R0

  16. #16
    I'm in no way an expert on stepper drivers yet, but I will say that I tried at first to use an older Dell C500 that DOES have a hardware parallel port and I had many problems with missed steps and timing delays. I had read this was a likely problem, but I gave it a try.

    I eventually picked up a refurbed HP workstation with XP Pro and a hardware parallel port. So far, for my testing, it's working great! I am even looking into adding in a PCI parallel port to add on limit switches, ect.
    Jason
    RPC Electronics, LLC - www.rpc-electronics.com

  17. #17
    Join Date
    Dec 2011
    Posts
    0
    So its still hit or miss with the desktops...

    Quote Originally Posted by RPCElectronics View Post
    I'm in no way an expert on stepper drivers yet, but I will say that I tried at first to use an older Dell C500 that DOES have a hardware parallel port and I had many problems with missed steps and timing delays. I had read this was a likely problem, but I gave it a try.

    I eventually picked up a refurbed HP workstation with XP Pro and a hardware parallel port. So far, for my testing, it's working great! I am even looking into adding in a PCI parallel port to add on limit switches, ect.

  18. #18
    Quote Originally Posted by willfly4food View Post
    So its still hit or miss with the desktops...
    Actually, the Dell C500 is a laptop, so I can only speak for THAT particular laptop not playing nicely with Mach3. The HP desktop I picked up is working very well.
    Jason
    RPC Electronics, LLC - www.rpc-electronics.com

Similar Threads

  1. USB TO SERIAL PORT HELP
    By jeffm in forum Controller & Computer Solutions
    Replies: 0
    Last Post: 01-28-2012, 01:57 AM
  2. Serial port Help
    By machine_nut in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 06-11-2009, 12:18 AM
  3. Serial port to USB in VB.NET
    By DennisCNC in forum Visual Basic
    Replies: 1
    Last Post: 12-07-2008, 07:02 PM
  4. serial port
    By lamicron in forum Computers / Desktops / Networking
    Replies: 9
    Last Post: 12-18-2007, 05:42 PM
  5. USB to serial port
    By stampman in forum DNC Problems and Solutions
    Replies: 7
    Last Post: 12-30-2006, 08:17 PM

Posting Permissions

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