Upgrading CNC with Raspberry Pi and Dust Collection

I have to run multiple +10h CNC jobs. So, I decided to upgrade my Shapeoko 4 CNC machine. I equipped it with a Raspberry Pi and a new dust collection system.

CarbideMotion on RaspberryPi
Carbide Motion on Raspberry Pi

Outline

Over the past weekends, I’m running my biggest CNC projects and jobs so far. Working with hardwood, parts of the job are taking 10 hours and more.

CNC Job
CNC Job with hard wood

For this, I had to upgrade my small shop with a Raspberry Pi as a controller. Additionally I had to replace the dust collection system.

Carbide Motion on Raspberry Pi

Before, I used a laptop connected to the CNC. That’s works for smaller CNC jobs. But if I have to run +10h jobs, a new solution was needed.

By default, Carbide3D provides software for Windows and Mac. ‘Carbide Motion’ is the software which runs the CNC machine. There is an unofficial release for the Raspberry Pi (https://carbide3d.com/carbidemotion/pi/). Additionally, the user ‘fenrus75’ created a ready-to-use image for build 532 created with a script.

Linux Update

Because the image was based on an older ‘Buster’ release, I had to update the apt-list of servers in /etc/apt/sources.list with the following:

deb https://legacy.raspbian.org/raspbian/ buster main contrib non-free rpi
# deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
# deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

With this, I changed the update server to the ‘legacy’ one and can continue to update the OS. Otherwise it will not be possible to update Carbide Motion to a newer version (next step).

Carbide Motion Update

With buster updated, it was easy to update Carbide Motion to build 654:

$ sudo dpkg -i carbidemotion-654.deb
Carbide Motion for Raspberry Pi
Carbide Motion for Raspberry Pi

Startup

With that image, Carbide Motion gets automatically which I did not needed, as I want to start it with the shortcut:

Menu entry to start CarbideMotion on Raspberry Pi
Menu entry to start Carbide Motion on Raspberry Pi

So I added

Hidden=true

to the /etc/xdg/autostart/carbidemotion.desktop file.

disabled autostart for CarbideMotion
disabled autostart for Carbide Motion

Camera

The Raspberry Pi has a Pi camera attached to it. To have a good view to the CNC machine, I 3D-printed a camera holder.

RPi Camera Holder
RPi Camera Holder

Look and Feel

Below a screenshot how it looks. I use a network/remote desktop connection. Carbide Motion runs on the the Raspberry Pi. Additionally I installed a RPi Camera so I can see the machine working remotely.

CarbideMotion on Raspberry Pi
Carbide Motion on Raspberry Pi

Dust Collection

I have used a vacuum cleaner for dust removal so far. With running longer jobs, this was not an ideal solution. I installed a BOSCH PAS30-240PRS.

BOSCH Vacuum Cleaner
BOSCH Vacuum Cleaner

The machine includes an automatic start-stop feature which I have not used yet.

Additionally, I 3D printed a cyclone dust collector which removes most of the dust prior the BOSCH machine. Basically it removes most dust and chips prior the BOSCH vacuum cleaner.

3D printed Cyclone Dust Collector
3D printed Cyclone Dust Collector

With that combination, I can run the machine for 12 hours and more without interruption.

collected dust
collected dust

Fresh air is taken from the outside. The filtered output air from the vacuum cleaner is then routed to the outside. This reduces wood dust in the shop.

Air in- and outtake
Air in- and outtake

Fittings and connectors between the tubes have been 3D printed.

Summary

The upgraded machine has been running for +40h so far without any issues. I really like the thing that I can remotely connect and check running jobs with the Raspberry Pi. The camera on the Pi is a great addition. I was thinking to add a touch screen to the Raspberry Pi. But the remote desktop connection is more than what I need. Plus can use it from my laptop inside the shop too. I’m very happy with the dust collection and air management too: less wood chips and better air.

For the future, I plan to upgrade the tube from the machine to the cyclone dust collector too.

Happy cutting 🙂

Links

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.