Klipper en Ramps 1.4

Basic Information:

Printer Model: RepRap
MCU / Printerboard: Arduino atmega 2560 + Ramps 1.4
Host / SBC
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

While waiting for my MKS nano card to go on my new Voron style printer, I tried installing klipper on my old RepRap with Aduino and Ramps 1.4. After a lot of trouble, I succeeded in installing and configuring my printer.cfg. Everything seems to work except the extruder, which remains silent.
G92 E0
G1 E10 F100
has absolutely no effect in the console

I used the generic ramps.cfg file to configure my printer.cfg but I don’t understand why the extruder doesn’t work.
My motor works perfectly if I connect it to another axis though.
I’ve tried switching the PA2 on and off with no success.
I can’t figure out what’s wrong, it’s silly because this is the last rampart to get my printer working with Klipper.
Oh and I installed Klipper on my Linux Mint.

klippy.log.zip (101.7 KB)

Hello @Zosky !

Have you already swapped the driver for test?

Yes but without effect.

You might invert the enable_pin in [extruder]

[extruder]
step_pin = PA4
dir_pin = PA6
enable_pin = PA2   # <====
microsteps = 32
rotation_distance = 1359.933
nozzle_diameter = 0.400
filament_diameter = 1.750
heater_pin = PB4
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PK5
control = pid
pid_kp = 53.93
pid_ki = 8.19
pid_kd = 88.79
min_temp = 0
max_temp = 250
max_extrude_only_distance = 100.0

Yes I’ve try this way too

Did you heat up the extruder before trying to turn it?

If you don’t heat the extruder up to the default temperature of 170C, all commands to have the extruder stepper motor will be ignored:

https://www.klipper3d.org/Config_Reference.html#extruder

This catches me all the time - especially when I’m setting up a printer and I want to test things.

It’s true that it’s a stupid mistake, but no, I think about heating up first. And anyway, Klipper says it’s best to cold extrude.

Sorry, I don’t understand what you’re saying - did you heat up the hot end before sending the extruder commands?

Where does “Klipper says it’s best to cold extrude”?

Here is my extruder info from when I had klipper installed on the Mega/Ramps 1.4 board, although it was for a delta printer, the extruder info should the same for any printer. you might have to change stepper direction (!) or enable/disasble the pull-up (^).

[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 8.0040
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: ATC Semitec 104GT-2
sensor_pin: PK5
#control: pid
#pid_Kp: 44.61
#pid_Ki: 4.69
#pid_Kd: 105.97
min_temp: 0
max_temp: 285
pressure_advance: 0.720

Let me know if this helps.

Tanks but this is exactly what I have in my printer.cfg but the extruder motor still refuse to start. I try everything possible on step_pin, dir_pin and enable_pin with no success. However, the motor works perfectly because I’ve connected it to the X axis and it turns. I spent two days looking in all directions but nothing to do. I guess I wasn’t supposed to turn klipper on my ramps. So I put Marlin back on and everything works, it’s crazy.

I’m going to wait until I get my Makerbase MKS nano and finish assembling my new printer to run klipper. I just hope I won’t have to fight again to get it to work. :sweat_smile:

I guess it’s a language thing but I don’t know if you tried to heat up the extruder before commanding the extruder stepper motor to turn.

Could you answer “Yes” or “No” to heating up the extruder before trying to get the extruder stepper motor to turn?

Also, I am still curious about your statement "Klipper says it’s best to cold extrude” - can you explain?

Yes of course I always heat up nozzle before trying to extrude.
Also, I am still curious about your statement "Klipper says it’s best to cold extrude” - can you explain?
I’ve just reread what I wrote above and I don’t understand it myself. :sweat_smile:

What I meant was that if you try to cold extrude, klipper doesn’t react and you get an error message saying that the cold extrusion protection is activated. It’s therefore impossible to launch the extuder without first heating it.

1 Like

Hi,

Ok, are any of your other step directions reversed (X or Y)?

Can you share your complete printer.cfg info?

You did heat the hot-end to at least 172 degrees? Home the printer before trying to extrude?

Try changing your micro-steps and rotation distance to what mine are above; the rotation distance of 1359.933 seems really high.

Hi,
Yes, from memory I had to reverse all my axes with respect to the basic printer.cfg taken from the github.

When I start heating the hot-end, it’s at 207°, the extrusion temperature of my pla.

My micro-steps are at 32 because I have DRV8825 drivers, the x, y and z axis not being a problem in klipper, I imagine that for the extruder motor it should be the same. As for distance rotation, I have a bowden belted extruder, which is why the value is so high.
printer.cfg (5.0 KB)

Please either upload your config as a file or at least use the Preformatted Text feature of the forum editor, else things get badly messed up.

Format

1 Like

I correct, sorry :bowing_man:

1 Like

It all looks ok; I did notice that you have the Y and Z direction pins reversed, but not the X… could be a cartesian thing (I only have klipper on my two delta printers).

Also, I am not familiar with the “belted” bowden extruder. I am running E3D Titan extruders, which have gear reduction, and have my rotation distance set at 8.0040

From the Klipper Rotation Distance page:

rotation_distance = <full_steps_per_rotation> * / <steps_per_mm>

Is your rotation distance of 1359.933 in steps/mm??
I would suggest lowering it to say 20, just to see if you can get the extruder to rotate, then calibrate extrusion later.

Have you tried swapping drivers from, say the X or Y motors over to the extruder slot to verify the driver is working?

A quick google search for your belted extruder showed a rotation distance of 22.925… Again, much much lower than what you have set.

Try it out and see what happens.