freakydude / freakydude.github.io

My freakydu.de blog
https://blog.freakydu.de
2 stars 1 forks source link

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

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

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/

YakirOz commented 1 year ago

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

GertPerrestert commented 1 year ago

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 commented 1 year ago

Some Ideas:

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 commented 1 year ago

Good dayThank you for responding; I really appreciate that. It's a sidewinder x2 with Ruby1.2.I tried a lot of options (including jumper), but every time it ended up with the klipper firmware not flashing to the ruby. What worked for me eventually is downloading the klipper.bin from the MKS Pi to my laptop and then flash it with STM32CubeProgrammer (with jumper on ruby installed) I've use the STM32CubeProgrammer before if something went wrong with the flashing of previous marlin versions. Anyway, all the best with the new year!

On Friday, 30 December 2022 at 22:28:46 GMT+2, freakyDude ***@***.***> wrote:  

Some Ideas:

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

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

freakydude commented 1 year ago

@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.

Ricky1966 commented 1 year ago

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:

comishi commented 11 months ago

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 commented 11 months ago

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.

MarioL77 commented 9 months ago

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 commented 9 months ago

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