KREMEN Реклама
KREMEN Реклама

skr 1.1 +klipper + Octoprint

AnatolyD
Идет загрузка
Загрузка
11.04.2022
1378
4
Вопросы и ответы

Всем привет! В общем суть истории такова, что на самодельном принтере сгорела orang pi на которой все это безумие вертелось, и руководство попросило разобраться.

У меня плата skr 1.1 LPC1768, в этой плате была флешка, благо в ней остался конфиг но данный конфиг под более старую версию клиппера как я понимаю, так как при просмотре сайта с информацией, нашел ряд изменений с обновлением версии.

Моя пошаговость действий -

  • Я испрробовал роднеую прошивку Smootwave залив ее на карту памяти и принтер двигался, печать я не ставил и кареткой двигал в по всем осям вручную.
  • загрузил образ octopi через офф загрузчик для raspberry pi
  • установил связь по ssh и скачал и установил klipper 0.10.0 ( я так понял это последняя актуальная версия и выбрать версию не получится)
  • Сделал конфиг для прошивки платы управления и собрал прошивку
  • прошивал плату методом копирования на карту памяти переименованного klipper.bin в firmware.bin
  • Зашел в вебморду октопринт и настроил подключение с платой (подключение настроено)

А вот дальше пошли косяки. Я открываю старый конфиг который остался на карте памяти, и начинаю сверку с новыми настройками (конфиг с новыми настройками я брал с сайта klipper, там есть конфиги под каждую плату отдельно.

Но у меня странным образом началась отображаться температура экструдер у меня 700 - 1000 градусов при старте, стол в порядке нормы 23 вначале. 

Я игрался с типами термопары которые возможны для данной платы ( игрался именно в файле конфигурации), но у меня ничего не получилось. 

При попытке управления вручную я получил ошибку что out ADC range и принтер отключался.  

Когда я в файле конфигурации ставил температуру максимума больше нынешней температуры экструдера у меня выбивало ошибку OctoKlipper: Error: Must home axis first: 10.000 0.000 0.000 [0.000]

и это как то прошло. и принтер вроде как завелся и начала греться база и отображаться на ней нормально температура но экструдер так и показывал при холостом ходе 700 грдс а при якобы печати температура скидывалась до 450. Но печать не шла, все как стояло на месте так и стояло.

Помогите пожалуйста разобраться если есть возможность! Заранее спасибо. Файл конфига старой версии и новый скину ниже.

# This file contains common pin mappings for the BIGTREETECH SKR V1.1

# board. To use this config, the firmware should be compiled for the

# LPC176x.

# The "make flash" command does not work on the SKR. Instead, after

# running "make", copy the generated "out/klipper.bin" file to a file

# named "firmware.bin" on an SD card and then restart the BIGTREETECH

# SKR V1.1 with that SD card.

# See the example.cfg file for a description of available parameters.

[stepper_y]

step_pin: P0.4

dir_pin: !P0.5

enable_pin: !P4.28

step_distance: .00622872

endstop_pin: !P1.29

position_endstop: 200

position_max: 200

homing_speed: 25

[stepper_x]

step_pin: P2.1

dir_pin: !P2.2

enable_pin: !P2.0

step_distance: .00622872

endstop_pin: !P1.27

position_endstop: 0

position_max: 200

homing_speed: 25

[stepper_z]

step_pin: P0.20

dir_pin: P0.21

enable_pin: !P0.19

step_distance: .00166556

endstop_pin: !P1.25

position_endstop: 0.0

position_max: 200

#[stepper_z1]

#step_pin: P0.1

#dir_pin: P0.0

#enable_pin: !P0.10

#position_endstop: 0.5

#position_max: 200

[extruder]

step_pin: P0.11

dir_pin: P2.13

enable_pin: !P2.12

step_distance: .002715

nozzle_diameter: 0.400

filament_diameter: 1.750

heater_pin: P2.7

sensor_type: EPCOS 100K B57560G104F

sensor_pin: P0.24

control: pid

pid_Kp: 22.474

pid_Ki: 1.303

pid_Kd: 96.92

min_temp: 0

max_temp: 255

max_extrude_only_distance: 200

max_extrude_only_accel:80

max_extrude_only_velocity:50

pressure_advance: 0.04

pressure_advance_lookahead_time: 0.010

[verify_heater extruder]

max_error: 200

check_gain_time:40

hysteresis: 8

# Idle timeout. An idle timeout is automatically enabled - add an

# explicit idle_timeout config section to change the default settings.

[idle_timeout]

#gcode:

# A list of G-Code commands (one per line; subsequent lines

# indented) to execute on an idle timeout. The default is to run

# "TURN_OFF_HEATERS" and "M84".

timeout: 3600

# Idle time (in seconds) to wait before running the above G-Code

# commands. The default is 600 seconds.

[heater_bed]

heater_pin: P2.5

sensor_type: NTC 100K beta 3950

sensor_pin: P0.23

control: pid

pid_Kp: 40.2

pid_Ki: 7.08

pid_Kd: 100

min_temp: 0

max_temp: 120

[fan]

pin: P2.4

[mcu]

serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00

[printer]

kinematics: corexy

max_velocity: 150

max_accel: 3000

max_z_velocity: 5

max_z_accel: 20

Это был старый тот что остался на карте памяти

Вот новый 

# This file contains common pin mappings for the BIGTREETECH SKR V1.1

# board. To use this config, the firmware should be compiled for the

# LPC1768.

# See docs/Config_Reference.md for a description of parameters.

[stepper_x]

step_pin: P0.4

dir_pin: !P0.5

enable_pin: !P4.28

microsteps: 16

rotation_distance: 8

endstop_pin: P1.29

position_endstop: 0

position_max: 200

homing_speed: 50

[stepper_y]

step_pin: P2.1

dir_pin: P2.2

enable_pin: !P2.0

microsteps: 16

rotation_distance: 8

endstop_pin: P1.27

position_endstop: 0

position_max: 200

homing_speed: 50

[stepper_z]

step_pin: P0.20

dir_pin: P0.21

enable_pin: !P0.19

microsteps: 16

rotation_distance: 40

endstop_pin: !P1.25

position_endstop: 0.5

position_max: 200

#[stepper_z1]

#step_pin: P0.1

#dir_pin: P0.0

#enable_pin: !P0.10

#position_endstop: 0.5

#position_max: 200

[extruder]

step_pin: P0.11

dir_pin: P2.13

enable_pin: !P2.12

microsteps: 16

rotation_distance: 33.500

nozzle_diameter: 0.400

filament_diameter: 1.750

heater_pin: P2.7

sensor_type: EPCOS 100K B57560G104F

sensor_pin: P0.24

control: pid

pid_Kp: 22.2

pid_Ki: 1.08

pid_Kd: 114

min_temp: 0

max_temp: 900

[heater_bed]

heater_pin: P2.5

sensor_type: NTC 100K beta 3950

sensor_pin: P0.23

control: pid

pid_Kp: 40.2

pid_Ki: 7.08

pid_Kd: 100

min_temp: 0

max_temp: 120

[fan]

pin: P2.4

[mcu]

serial: /dev/serial/by-id/usb-Klipper_lpc1768_12345-if00

[printer]

kinematics: corexy

max_velocity: 150

max_accel: 3000

max_z_velocity: 5

max_z_accel: 20

[board_pins]

aliases:

    # EXP1 header

    EXP1_1=P1.30, EXP1_3=P0.18, EXP1_5=P0.15, EXP1_7=, EXP1_9=,

    EXP1_2=P2.11, EXP1_4=P0.16, EXP1_6=, EXP1_8=, EXP1_10=,

    # EXP2 header

    EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=,

    EXP2_2=P0.15, EXP2_4=P1.23, EXP2_6=P0.18, EXP2_8=, EXP2_10=

    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"

# See the sample-lcd.cfg file for definitions of common LCD displays.

Ответы на вопросы