The Sidewinder X2 is quite a capable machine, but it can be even better with Klipper Firmware. In this guide I will show you how to install Klipper on Sidewinder X2 and take advantage of all the benefits it comes with.
What is Klipper?
Klipper is an open-source firmware for your 3D printer that combines the power of a Raspberry Pi and your printer main board for better printer control. By doing this, you are able to run your printer at higher speeds with better precision and control.
Why Install Klipper on Sidewinder X2?
By installing Klipper on the Sidewinder X2, you will be able to print a bit faster compared to a stock printer, and you will also be able to control your printer remotely, trough Wi-Fi. The main reason to install Klipper is to use Pressure Advance and Input Shaper, which will greatly improve your print quality and speed.
If you want to learn more about Klipper, check out Nero’s video
To install Klipper on Sidewinder X2, you need to have the following:
- Raspberry Pi (any Pi version will work)
- MainsailOS or FluiddPi – In this guide I will use MainsailOS and a Raspberry Pi 4.
- Sidewinder X2 3D Printer
- Quality Power Supply for your Raspberry Pi
Before you begin
Please note that installing Klipper on the Sidewinder X2 requires some experience with 3D printers and hardware. This is not a trivial task for beginners, and you may break your printer during the process. If you don’t feel comfortable doing this, then keep the stock firmware.
Read the full guide carefully and install Klipper on Sidewinder X2 only after you properly understood all the steps involved. If you have questions before starting, leave a comment and wait for a reply.
I am not responsible for any damage you may cause to your printer by following this guide. You are doing this on your own responsibility.
The configuration file shared in this article, is made for the stock Sidewinder X2. It’s also worth noting that the stock touchscreen will not work anymore, and you will need to use the WebUI for controlling the printer. If you still want a standalone touchscreen, then I recommend buying a BIQU PI TFT50 and install KlipperScreen.
Install Mainsail or Fluidd
Before we begin, we need to install the web interface for our Klipper setup. I recommend installing Mainsail because it is actively developed and it’s easy to use, but you can also install Fluidd.
The articles also cover the installation of KIAUH which is a handy tool to have when running Klipper.
Prepare and install Klipper firmware for Sidewinder X2
Configure Klipper for Sidewinder X2 with Artillery Ruby 1.2
Open Putty, enter the IP of your Raspberry Pi then click Open
In the Login prompt, you need to enter the credentials for FluiddPi. The default user is pi and the password is raspberry. Please note that the password will not be shown when typing.
Now you are in the SSH console of your FluiddPi install. Enter the Klipper folder:
Open the Klipper Firmware Configuration screen using the following command:
The Klipper Firmware Configuration screen will appear. Using your navigation keys, move through the menus and replicate the same settings I used.
When finished, press Q then Y to save your configuration. Now run the following command to start building the firmware:
The build process will start and when finished, the firmware will be ready to install.
Put the printer in DFU mode
The Ruby 1.2 board used by the newer Artillery printers need to be put into DFU mode in order to flash the firmware. This is done using the M997 command from a terminal window. I like to use Pronterface, but you can do it via OctoPrint or any other terminal of choice.
Connect your printer to to the computer via a USB Cable, and check the COM port in Device Manager. In my case, it’s COM3
Open Pronterface, and connect to the printer using the COM port and the 115200 Baud Rate, run the M997 command then proceed to the flashing step.
If this command fails, then you need to put the machine in DFU mode using the jumper pin on the board.
To do this, you need to remove the bottom cover of the printer in order to gain physical access to the Artillery Ruby board. Then, you need to install a jumper to connect the BOOT and the +3.3V pin. This connection will put the Ruby board in DFU mode and will allow you to flash the printer.
When the flashing process is complete, the jumper can be removed.
Flash Klipper firmware on Sidewinder X2
Back to the Pi terminal window, connect the USB cable from the X2 to the Pi and enter the following command to list all the USB devices:
A list of USB devices will be returned. Our printer will be listed under STMicroelectronics STM Device in DFU Mode. We need to know the ID of the USB device.
Start the flashing process with the following command:
make flash FLASH_DEVICE=0483:df11
The flashing process will start and in a few seconds, it will be completed.
Copy the printer.cfg file to Mainsail
To make things easier, I pre-configured a printer.cfg for the stock Sidewinder X2 which can be downloaded and copied in Mainsail.
Navigate to Machine, then click on the Upload button.
Select the printer.cfg file to upload it, then use the power button in the top right corner to perform a restart. If everything is configured correctly, the printer will be connected. If this doesn’t happen, then you probably need to update the serial port in the config file. KIAUH can help with that.
Feel free to home the printer first, to make sure everything is running correctly. Heat up the nozzle and heatbed and check if the temperature rises as expected. If everything looks good, then you are ready to start the calibration of your Z offset.
Please note that my config includes the calibrated values for my stock Sidewinder X2. These settings should work pretty well, but I recommend taking the time and doing your own calibrations for best results.
I also recommend using a small piece of tape to cover the 5V pin coming from your Raspberry Pi. This will fix the always on display from the printer.
If you want to improve the probing speed of your Sidewinder X2, I also recommend checking out this macro. It speeds up probing quite a lot, and it’s easy to setup.
How to revert to stock firmware on Sidewinder X2?
The flashing process for the stock Marlin firmware on Sidewinder X2 was described by Artillery in this PDF file, so I won’t go trough the whole setup again.
First, you need to download the latest stock firmware source and compile it. Then, you put the Ruby Board in DFU mode like shown previously, using the jumper pin. Finally, you flash the firmware using the tools mentioned in Artillery’s PDF.
I might do a more detailed guide in the future, if this proves to be an issue for people trying to revert to stock.
I hope this guide was helpful for you, and now you are running Klipper on your Sidewinder X2. The printer running Marlin is fine, but with Klipper the machine can be really good.
After you do some prints with the X2 running Klipper, you will probably see that one of the main limiting factors when printing fast is part cooling. I covered the most popular hardware upgrades for the X2 in the Artillery Sidewinder X2 Upgrades: Paid and Free article. Check it out, you might find something useful there.
If you encounter issues during your installation, feel free to leave a comment below and I will do my best to help you. Besides that, you can also join the 3DPrintBeginner Forum where there’s a dedicated thread for Klipper Firmware, with Klipper enthusiasts ready to help.