Hi try as I may I cannot get my CNC XPRO 3 controller to connect to my Raspberry Pi in UGS. It comes up with 2 available ports. ttyUSB0 and ttyAMA0. It connects everytime to my MacBook. Anyone got any ideas on what to try?
1) TTYUSB0 should be it (AMA0 is the UART on the GPIO pins) 2) Check that you have the correct baud rate selected (115200 for Grbl 1.1x)
Hi I checked by typing dmesg into terminal and it said FTDI USB Serial Device now attached to ttyUSB0. I loaded UGS and it still would not connect so I reflashed the Raspbian operating system and reinstalled UGS. It now appears to work so who knows what was wrong with it. Anyway thank you for your help.
Still got problems with this setup. Although the Pi connects to the port ok now, it disconnects randomly when running a job. I thought it was the controller so i tried connecting with my MacBook and it ran perfectly on 3 different jobs of about 10 - 15 minutes each.
Possible reasons: 1) Power supply to the Pi: Make sure you are using the official Pi Power supply, power dips will cause all kinds of issues. The official PSU has thicker cables, and 5.1v output to help 2) EMI: As the Pi as a bare board, without enclosure, its more susceptible to interference
Hi thank you. I am using the official pi power supply. Its the latest version. 5.1V / 3.0A DC output EMI: The pi is fixed to the back of an official 7" touch screen, all of which is in a case. I'm not sure how i can screen it.
Distance does wonders for stopping EMI travelling through the air (spacing it away from any high power cables, motor cables, mains etc) and for EMI coming down the wire, a couple cheap clip-on Ferrite Cores (easpecially if you loop the wire then clip it on to the loop) does miracles too: See