# Klipper en Ramps 1.4

**URL:** <https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444>\
**Category:** General Discussion\
**Created:** [December 4, 2024, 7:11am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444 "2024-12-04T07:11:16Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 4, 2024, 7:11am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/1 "2024-12-04T07:11:16Z")

</div>

### 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](https://klipper.discourse.group/uploads/short-url/g6hJM5zkCyopIgjWF9Qk7sPVlOk.zip) (101.7 KB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 4, 2024, 7:18am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/2 "2024-12-04T07:18:16Z")

</div>

Hello @Zosky !

Have you already swapped the driver for test?

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 4, 2024, 7:24am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/3 "2024-12-04T07:24:54Z")

</div>

Yes but without effect.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 4, 2024, 7:28am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/4 "2024-12-04T07:28:46Z")

</div>

You might invert the `enable_pin` in `[extruder]`

```auto
[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

```

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 4, 2024, 7:38am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/5 "2024-12-04T07:38:36Z")

</div>

> [@Zosky](#):
>
> I’ve tried switching the PA2 on and off with no success.

Yes I’ve try this way too

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [December 4, 2024, 8:04am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/6 "2024-12-04T08:04:08Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 4, 2024, 8:16am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/7 "2024-12-04T08:16:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [December 4, 2024, 8:20am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/8 "2024-12-04T08:20:47Z")

</div>

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”?

---

<div class="post-metadata">

**Author:** ![CrooksUSA](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@CrooksUSA](https://klipper.discourse.group/u/CrooksUSA)\
**Post date:** [December 8, 2024, 11:20pm UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/9 "2024-12-08T23:20:33Z")

</div>

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 (^).

```auto
[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.

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 10, 2024, 6:04am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/10 "2024-12-10T06:04:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [December 10, 2024, 6:08am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/11 "2024-12-10T06:08:15Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 10, 2024, 6:35am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/12 "2024-12-10T06:35:29Z")

</div>

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

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.

---

<div class="post-metadata">

**Author:** ![CrooksUSA](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@CrooksUSA](https://klipper.discourse.group/u/CrooksUSA)\
**Post date:** [December 11, 2024, 4:06am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/13 "2024-12-11T04:06:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 11, 2024, 6:00am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/14 "2024-12-11T06:00:16Z")

</div>

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](https://klipper.discourse.group/uploads/short-url/77tljTCvepZDCg6fb6oxENROLm4.cfg) (5.0 KB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 11, 2024, 7:11am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/15 "2024-12-11T07:11:31Z")

</div>

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](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/d/2/d2f569306c1aacc25f5c36d74a848c8f9093989f.png)

---

<div class="post-metadata">

**Author:** ![Zosky](https://avatars.discourse-cdn.com/v4/letter/z/f17d59/32.png) [@Zosky](https://klipper.discourse.group/u/Zosky)\
**Post date:** [December 11, 2024, 7:25am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/16 "2024-12-11T07:25:35Z")

</div>

I correct, sorry 🙇‍♂️

---

<div class="post-metadata">

**Author:** ![CrooksUSA](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@CrooksUSA](https://klipper.discourse.group/u/CrooksUSA)\
**Post date:** [December 12, 2024, 12:45am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/17 "2024-12-12T00:45:22Z")

</div>

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](https://www.klipper3d.org/Rotation_Distance.html):

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](https://www.reddit.com/r/voroncorexy/comments/oermfb/quick_question_m4_rotation_distance/) 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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [February 10, 2025, 12:45am UTC](https://klipper.discourse.group/t/klipper-en-ramps-1-4/20444/18 "2025-02-10T00:45:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
