Wednesday, March 30, 2022

Anycubic Mega SE motor swap

 I was getting Y-axis shifting on my printer even seen an X-axis shift since changing to Klipper.  After swapping out the belts and adding tensioning knobs to both axes, I decided the issue must be the motors.  It wasn't but that is now hindsight.  

I purchased the motors from Amazon.  When I pulled the original motors from the printer, I noticed the cables were not the same as the provided cables I received in the order.  In the image, the wiring on the left are wired straight-through from the controlling board.  The wiring on the right is crossed at the motor (Red-Black-Blue-Green) but aligned straight at the board (Red-Blue-Green-Black).  I swapped the original cables with the new cables. 

 



For the motors, the original has the pulley fused to the post.  I purchased the pulleys (6mm with 20 teeth and 5mm bore) for the new motors.  In the photo below, the original motor is on the left.  The newer motors appear to have a little more power.


After I installed the motors, I did a quick homing process in Klipper and the motors turn in the opposite direction from the original motors.  Klipper makes that an easy fix.  In my printer.cfg file, I changed the dir_pin from !PC5 to PC5 for the x stepper and !PC7 to PC7 for the y stepper.  

I think the new motors look good.  To keep the belt nearest the center of the 2040 rail, I installed the pulley in the direction you see in the photo.  


As for the shifting, it remained after the motor shift.  As of this writing, my fix for the shifting was setting the speeds in Cura slicer to match.  That is, the first layer speed, fill speeds, etc. are each set to the exact same value of 50mm.  I'll probably adjust that number since the quality of the print is a bit rough.  

Hope this helps.

My Anycubic Mega SE Klipper config is here.


Update:
Setting the slicer to a common speed did not fix the shifting in my latest print.  I'm determined to figure this out.

Update:
I was still using the same Cura settings for slicing that I used with the original firmware.  I kept working on the Klipper firmware settings since that was my change.  I believe the shifting issue is attributed to both Klipper and Cura settings.  I've re-leveled the printer to a wider gap than I used before Klipper.  I'm using 1.5mm feeler gauge for leveling.  I've also reduced the flow rate in Cura to be 75%.  Prior to Klipper, the shipping firmware was yielding nice results at 100% flow.  Klipper looks to be yielding really nice results with the reduced flow and gap I have for the bed and nozzle.  My shifting issue seems to be attributed to the nozzle scraping the top of the print.  The wider gap and reduced flow fixed that too.  I'm hopeful this is the fix and Klipper is good to go.  I'm sure I'll keep tinkering with settings to balance the gap and the flow rate.

No comments:

Post a Comment