Thanks hereby the klipper log
klippy.log (145.1 KB)
Thanks hereby the klipper log
klippy.log (145.1 KB)
You set up PID - control for the bed
[heater_bed]
control = pid
heater_pin = PB4
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PK6
min_temp = 5
max_temp = 100
but there are no PID values as described here:
control:
# Control algorithm (either pid or watermark). This parameter must
# be provided.
pid_Kp:
pid_Ki:
pid_Kd:
# The proportional (pid_Kp), integral (pid_Ki), and derivative
# (pid_Kd) settings for the PID feedback control system. Klipper
# evaluates the PID settings with the following general formula:
# heater_pwm = (Kp*error + Ki*integral(error) - Kd*derivative(error)) / 255
# Where "error" is "requested_temperature - measured_temperature"
# and "heater_pwm" is the requested heating rate with 0.0 being full
# off and 1.0 being full on. Consider using the PID_CALIBRATE
# command to obtain these parameters. The pid_Kp, pid_Ki, and pid_Kd
# parameters must be provided for PID heaters.
After set up some initial values
pid_kp = 100
pid_ki = 2.0
pid_kd = 800
it is strongly recommended to run a PID-Tune.
Thanks I think I need to do alot more to do config file, as I used your initial settings. But now getting “endstop and dual carriage” message aswell
Be always specific here! Please post always the message of your screen “and” a fresh klippy.log!
klippy.log (709.0 KB)
printer.cfg (4.4 KB)
This is the link for the original Marlin firmware.
Leapfrog-Firmware/pins.h at master-boltpro · Leapfrog3DPrinters/Leapfrog-Firmware · GitHub
Klipper reports: SHUTDOWN
MCU 'mcu' shutdown: Not a valid ADC pin
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown
This is the report where I’am at the moment. Any help appreciated
You may call me Job, but I have bad news for you. This Leapfrog-Firmware/pins.h at master-boltpro · Leapfrog3DPrinters/Leapfrog-Firmware · GitHub is not your printer.
From your last klippy.log:
Line 10097: MCU 'mcu' config: ADC_MAX=1023 BUS_PINS_spi=PB3,PB2,PB1 BUS_PINS_twi=PD0,PD1 CLOCK_FREQ=16000000 MCU=atmega2560 PWM_MAX=255 RECEIVE_WINDOW=192 RESERVE_PINS_serial=PE0,PE1 SERIAL_BAUD=250000 STATS_SUMSQ_BASE=256 STEPPER_OPTIMIZED_UNSTEP=40 STEPPER_STEP_BOTH_EDGE=1
Line 10113: MCU 'mcu' shutdown: Not a valid ADC pin
Have a look here Configuration reference - Klipper documentation.
Have a look at the datasheet of your ATmega2560 https://ww1.microchip.com/downloads/en/devicedoc/atmel-2549-8-bit-avr-microcontroller-atmega640-1280-1281-2560-2561_datasheet.pdf
The package of your ATmega2560 is the TQFP 100. Your temperature sensors need pins with the AIO function (analog input/output).
I fear you need to reverese engineer your board and printer wiring. Sorry.
Have found the correct pinout finally. Now only need to figure out how to configure the Y axis as its using 2 steppermotors.
It is likely the 2 Y motors are wired in parallel and running off 1 driver.
Can you post a close up of this area?
No both motors have there own stepper driver.
But they do share an endstop. So only one endstop
I’m still trying to understand the stepper setup. I think you use 7 stepper driver. I don’t get how these are connected to the steppers. I count 9 steppers.
Steppers:
Y- Axis: stepper A and B
Z-Axis: stepper Z0
X-Axis: stepper Y0 + Y1
Extruders: stepper E0 + E1
The Z axis has only 1 steppermotor.
Mmmhhh. How are the 3 z-lead screws coupled? By a belt? I still count 8 steppers by your list and 7 drivers?
edit
Yes correct, one big belt
Not sure if this page will help, but it does have a pin out
To configure a single axis with two separate stepper motor drivers, one would configure both a [stepper_y] config section along with a [stepper_y1] config section. See Configuration reference - Klipper documentation .
Cheers,
-Kevin
I got klipper working finally. Now checked endstops, all working.
Checking temperature of the extruders.
They are heating up but the temperature on the display is showing that they are cooling down….
I’ve checked pinouts, they are correct.
In the original marlin firmware they have a thermistortable. I used Co-pilot to translate the table into a klipper format..
Now I am getting a “Internal error during connect: math domain error”
Printer.cfg and klippy.log attached.
printer.cfg (7.0 KB)
klippy (2).log (2.4 MB)
Hi @Miller ,
Could you please upload a new klippy.log showing this heater behavior?
Happy new year forum!
Ok, with your latest klippy.log I think I understood your stepper setup.
I’m sure you’ll get your leapfrog bolt pro perfectly running under Klipper with your current hardware.
First of all, I think you are currently using the wrong kinematics for your printer with Klipper.
You may have a look here about “generic_cartesian” kinematics, which is pretty new in Klipper. I don’t have any experience with CoreXY IDEX printers or similar!
https://klipper.discourse.group/t/new-generic-cartesian-kinematics-incl-corexyu-corexyuv-generic-idex-and-awd
Regarding your extruder temperatures. A good and quick way to convert a klippy.log into a graphical chart is Sineos excellent “Klipper Log Visualizer” https://sineos.github.io/.
I always use an editor and the Klipper Log Visualizer trying to understand a klippy.log!
Looks like this
I would take the easy way and buy new thermistors (cost almost nothing @ali). Exchange them in your extruders and configure them in Klipper. You’ll save a bunch of time Configuration reference - Klipper documentation.
If you go that way, there are other simple and inexpensive things you may change on your extruders.
I wouldn’t use Co-pilot anymore for this project. You have a rough construct from the 3rd part config and Co-pilot to run Klipper on your printer. Rest is “just” getting the printer finally running and of course tuning the thing to print as good as the hardware is able to ![]()