Shapeoko 3 dropping USB connection

I have an unusual issue but my setup is also somewhat unique.

Basically I am setting up an Shapeoko 3 for use in a community workshop. To keep our insurers happy I had to implement several extra safety systems.

The CNC is in an enclosure and when the doors are open all power is cut from the router. The way this works is opening the doors triggers a relay that cuts power going to the router. The relay is energised when the door is closed and powers down when the door is open. The relay coil is 12V and is powered from a separate 12V PSU.

The problem is the CNC has developed a habit that the USB connection drops out sometimes when the door is opened. It doesn’t happen every time but from my testing it seems to happen about 1 in 20.

During my troubleshooting I have disconnected everything from the switching side of the relay but the issue persists.

The CNC is connected to a Pi5 but I have also tried it connected to my laptop and the issue persisted.

When it drops connection sometimes I can just hit “Connect Cutter” to get it back online. Sometimes I have to power cycle the CNC control board to get it to connect, and sometimes Carbide Motion keeps crashing when I hit connect until I have power cycled the controller.

So with everything disconnected from the relay it seems that just having a relay triggering in the general vicinity is causing the control board to lockup.

I’m really struggling to think of what the problem is. I’m using the V2.4e control board.

Has anybody else had issues with the control board dropping its USB connection?

I would really appreciate any suggestions as to what I can try next.

Thanks.

Have you grounded the machine?

Most disconnects on 3s are caused by static from dust collection. The machines are not grounded from the factory.

Do you have a suppression/fly back diode across the relay coil? Shown as D1 below.

3 Likes

So not an electrician here but have an S3 and had the same problem I do not have the door relay but a full enclosure kept hearing about the static but was unsure on grounding so I put a dryer sheet hanging from a bungee cord and I havent had a static disconnect since. Other thing for you to look at is the wear of your router brushes this causes a lot of EMI issues. Also gives the enclosure a nice lavendar or whatever dryer sheet scent the wife has smell! Lol

2 Likes

Grounding, Grounding, grounding…

Make sure the frame is grounded.
Make sure the router is grounded.
Make sure the dust collection is grounded.

Since doing all 3 I have not had a disconnect on my XXL ever since. period.

1 Like