Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/2022-10-01-klipper_with_artillery_sidewinder_x2/ #3

Open
utterances-bot opened this issue Nov 5, 2022 · 10 comments
Open

posts/2022-10-01-klipper_with_artillery_sidewinder_x2/ #3

utterances-bot opened this issue Nov 5, 2022 · 10 comments
Labels
utterance Is an issue assigned

Comments

@utterances-bot
Copy link

utterances-bot commented Nov 5, 2022

Klipper with Artillery Sidewinder X2 | freakyDude's Blog

Shows a way to use Klipper as a replacement for the Marlin firmware with your Sidewinder X2

https://blog.freakydu.de/posts/2022-10-01-klipper_with_artillery_sidewinder_x2/

Copy link

YakirOz commented Nov 5, 2022

Thanks so much! it is really hard to find information on the X2 + Klipper online. Definitely made my life easier :)

@freakydude freakydude added the utterance Is an issue assigned label Nov 6, 2022
@freakydude freakydude changed the title posts/2022-10-01-klipper_with_artillery_sidewinderx2/ posts/2022-10-01-klipper_with_artillery_sidewinder_x2/ Dec 24, 2022
Copy link

Dear sir
I have a MKS Pi + TFT touchscreen from AliExpress (due to shortage of Rasberry Pi)
With this, most (if not all) tutorials I'm able to follow to get SWX2 to Klipper firmware
But I get stuck at flashing the firmware with "dfu-util not detaching"
Do you have any advice?
My kindest regards

@freakydude
Copy link
Owner

Some Ideas:

  • What did you like to flash? The Sidewinder? So the Artillery Ruby V1.2 Controller? If so, did you set the jumper?
  • Are you using the MainsailOS image as suggested? If not, maybe not all needed packages are installed?
  • Maybe you have another hardware revision of the Sidewinder and the flash command is a bit different? Or the controller configuration?

Always a good Idea is to follow the official documentation, especially Building Firmware and Bootloaders

If nothing helps, maybe someone in the Klipper Discord Community can help you? Klipper Discord

@GertPerrestert
Copy link

GertPerrestert commented Dec 31, 2022 via email

@freakydude
Copy link
Owner

freakydude commented Jan 1, 2023

@GertPerrestert if it works with the stm32 programmer... It seems to me like you should search the problem within your Linux installation. Maybe an old or the wrong library or tool...

I have less experience with all these tools like dfu-utils.

What I can confirm is, the flashing the generated klipper.bin with stm32 programmer worked for me too (but for the second time only with set jumper)
and with the standard mainsailos Linux distribution it worked also (with jumper set) like described.

By the way, the klipper.bin must not be reflashed on every update. Only if some critical things are changed. Didn't happen the last 6month or longer for the artillery.

Greetings.

Copy link

Hi Dude, in this explication you mentioning to connecting the pin 3.3 and BOOT, for going in DFU Mode on Ruby.
It'is not needed if you have just flashed Ruby with a not stock Marlin.
Tye easy way to put in DFU Mode is this:

  • connecting via USB, the printer to Raspberry Pi;
  • ls /dev/ttyACM* to find the right serial port;
  • type echo "M997" > /dev/ttyACMX, where X means the right port.
  • retypr lsusb and verify if changed with STM32 DFU Mode.
    Easy and not needed any hardware!

Copy link

comishi commented Nov 2, 2023

Hi! I followed your guide and, despite that flashing the board give me an error at first try, I have my sidewinder fully working with klipper, thanks for that!
Now I'm tinkering the configs and I would like to ask you where do you get that rotation_distance value from? from hobbed bolt diameter * 3.14?

@freakydude
Copy link
Owner

freakydude commented Nov 3, 2023

In general you can calculate it - but it's even better to calibrate it exactly - I advice to follow the very good official klipper guide. Both aspects are explained there.

Copy link

Hi ,
I am preparing myself substantively and mentally to switch to Klipper in my sidewineder x2 based on Orange pi zero3 1GB.
I have questions for the file - printer-artillery-sidewinder-x2-2022.cfg:

According to which dependencies you have converted:

microsteps: 16
rotation_distance: 20.925
gear_ratio: 66:22

for the extruder?

I am currently using the latest version of Marlin and the hotend temperature control is implemented not via PID but MPCTEMP

Is there something similar to MPCTEMP in the clipper or just PID when it comes to hotend temperature control?

Greetings.

@freakydude
Copy link
Owner

Micro Steps are defined by your stock stepper drivers - 16.
Gear ratio - you can measure it, you have to recalibrate it anyways
GearRatio - count your gear teeth

Don't now what mpc temp ist, but pid temp is probably the best solution for regulation of things like temperatures.
No need to use another algorithm. But there is one - watermark.

See official klipper docu, all your questions made here are described very well there.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
utterance Is an issue assigned
Projects
None yet
Development

No branches or pull requests

7 participants