moggieuk / Happy-Hare

MMU software driver for Klipper (ERCF, Tradrack, Prusa)
GNU General Public License v3.0
472 stars 117 forks source link

Not able to MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH #169

Closed f1cs2000 closed 8 months ago

f1cs2000 commented 8 months ago

It goes in the wrong direction for MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH, but when I do the test MMU_TEST_MOVE MOVE=100 SPEED=50 it goes towards the extruder and MMU_TEST_MOVE MOVE=-100 SPEED=50 it goes away from the extruder. mmu.log

moggieuk commented 8 months ago

You need to change direction of you gear stepper. Read here: https://github.com/moggieuk/Happy-Hare/blob/main/doc/hardware_config.md

f1cs2000 commented 8 months ago

I already try that. If I change the direction of the gear stepper, It goes in the wrong direction when I do MMU_TEST_MOVE.

moggieuk commented 8 months ago

Ok. There are two ways to calibrate (depending on if you have encoder or not). Can you tell me what command you are running to do the calibration?

If you have encoder (like ERCF), you just need to run MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=xxx ..... HH will detect the end of the bowden based on configured sensors and endstop stop setting (like collision). It should load and move forward automatically for that.

If you don't have encoder then you must use the "manual" method. To use that you manually load the filament up to the extruder entrance, then run: MMU_CALIBRATE_BOWDEN MANUAL=1 BOWDEN_LENGTH=xxx ...

This will measure the bowden in the reverse direction.

f1cs2000 commented 8 months ago

It's a ERCF v1.1 mod to sb. Was running ok before the mod with the old Happy Hare version. I run MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=xxx I have the Binky encoder. I just try the manual method and it try to go towards the extruder Get this error :55 a.m. An issue with the MMU has been detected whilst out of a print Reason: Calibration of bowden length failed. Did not home to gate sensor after moving 530.0mm 8:55 a.m. Endstop 'mmu_gate' not found

moggieuk commented 8 months ago

Hmm. Let me triple check. But what is you setting for gate_homing_endstop:? And do you have a gate_endstop configured?

moggieuk commented 8 months ago

I tested and based on what you say I think you need to set:

gate_homing_endstop: encoder

Is the direction now fixed?

f1cs2000 commented 8 months ago

Gate homing If it's that what you mean ? it was there But I just see something. If before (MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=xxx ) , I home and insert some filament pass the ECAS then I run MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=xxx, The unload sequence is in good direction, but after the unload it start to go in the wrong direction, it doesn't go towards the extruder !! I have to go for today I will make more test later on or tomorrow.

f1cs2000 commented 8 months ago

Just found the problem. At the beginning when I had calibrated MMU_CALIBRATE_ENCODER I was in the wrong direction. I realize a was in the wrong direction after made a couple of try to calibrate MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=xxx, and change the direction. So maybe it saved the direction when I made the MMU_CALIBRATE_ENCODER. So this morning I remade the MMU_CALIBRATE_ENCODER in the good direction and when I went to MMU_CALIBRATE_BOWDEN BOWDEN_LENGTH=, everything was ok My mistake !!

moggieuk commented 8 months ago

Phew! Ok. glad you figure it out because I was confused as to how this would happen.

If you don't mind I'm going to close this issue..