3D打印 · 2022年3月31日

MKS3D打印主板使用klipper固件-主板外接屏幕配置文件及主板klipper配置文件

MKS Lcd Config 将下面的配置文件保存在klipper的配置文件同目录下 在printer.cfg文件里面添加

[include mks_oled_096_130.cfg] #文件名自行更换

mks_lcd_12864.cfg

######################################################################
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
######################################################################

[display]
lcd_type: st7920
cs_pin: EXP1_4
sclk_pin: EXP1_5
sid_pin: EXP1_3
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
#kill_pin: ^!EXP2_8

[output_pin beeper]
pin: EXP1_1

mks_lcd_2004.cfg

######################################################################
# "RepRapDiscount 2004 Smart Controller" type displays
######################################################################

[display]
lcd_type: hd44780
rs_pin: EXP1_4
e_pin: EXP1_3
d4_pin: EXP1_5
d5_pin: EXP1_6
d6_pin: EXP1_7
d7_pin: EXP1_8
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
#kill_pin: ^!EXP2_8

[output_pin beeper]
pin: EXP1_1

mks_mini_12864_v1x_v2x.cfg

######################################################################
# MKS Mini 12864 LCD
######################################################################

# Make sure that the EXP1 and EXP2 are rotated correctly on the
# display board. The cutouts on the connectors should be towards the
# center of the PCB. See:
#   https://reprap.org/wiki/MKS_MINI_12864#Physical_Interface
# If they are wrong, the connector housing can be pried off carefully
# with a small screwdriver and relocated the correct way.

[display]
lcd_type: uc1701
cs_pin: EXP1_6
a0_pin: EXP1_7
contrast: 40
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2

[output_pin beeper]
pin: EXP1_1

mks_mini_12864_v3.cfg

######################################################################
# MKS Mini 12864Panel v3.x (with neopixel backlight leds)
######################################################################

[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2

[output_pin beeper]
pin: EXP1_1

[neopixel mks_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0

mks_oled_096_130.cfg

######################################################################
# MKS OLED 0.96
######################################################################

[display]
lcd_type: sh1106
cs_pin: EXP1_4
dc_pin: EXP1_6
reset_pin: EXP1_7
contrast: 255
vcomh:63
invert: False
x_offset: 0
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP1_8
spi_software_mosi_pin: EXP1_3
spi_software_sclk_pin: EXP1_5

[output_pin beeper]
pin: EXP1_1

mks_robin_lite_lcd_12864.cfg

######################################################################
# MKS Robin Lite LCD12864
######################################################################

[display]
lcd_type: st7920
cs_pin: EXP1_1  #LCD_RS
sclk_pin: EXP1_7  #LCD_D4
sid_pin: EXP1_3  #LCD_EN
encoder_pins: ^EXP1_6, ^EXP1_8
click_pin: ^!EXP1_5
#kill_pin: ^!EXP1_4

[output_pin beeper]
pin: EXP1_14

mks_robin_lite_mini_12864.cfg

######################################################################
# MKS Robin Lite Mini 12864
######################################################################

[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_7
contrast: 50
encoder_pins: ^EXP1_6, ^EXP1_8
click_pin: ^!EXP1_5
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: PB14
spi_software_mosi_pin: EXP1_10
spi_software_sclk_pin: EXP1_9

[output_pin beeper]
pin: EXP1_14

mks_v0_display.cfg

[mcu displayEncoder]
serial: /dev/serial/by-id/usb-Klipper_stm32f042x6_0E0007000D43534E30333220-if00
restart_method: command

[display]
lcd_type: sh1106
i2c_mcu: displayEncoder
i2c_bus: i2c1a
encoder_pins: ^!displayEncoder:PA3, ^displayEncoder:PA4
click_pin: ^!displayEncoder:PA1
kill_pin: ^!displayEncoder:PA5
vcomh: 17
x_offset:2 
#   Set the Vcomh value on SSD1306/SH1106 displays. This value is
#   associated with a "smearing" effect on some OLED displays. The
#   value may range from 0 to 63. Default is 0.
#   Adjust this value if you get some vertical stripes on your display. (31 seems to be a good value)

#   RGB Values should be set to match your printer colour scheme
[neopixel displayStatus]
pin: displayEncoder:PA0
chain_count: 1
color_order: GRB
initial_RED: 0.1
initial_GREEN: 0.1
initial_BLUE: 0.1

Klipper 配置文件列表

Duet2wifiAdd duet2wifi/gen-l/rumba32 klipper firmware and config, update readme

MKS EagleAdd Nano V3 and eagle firmware use usart3

MKS Gen lUpdate klipper pin for mks gen l

MKS Lcd ConfigAdd lcd config

MKS Monster8Fix mks monster8 config

MKS Robin E3-E3DAdd robin e3 v1.1 config

MKS Robin E3P V2.xAdd klipper firmware for Robin E3P

MKS Robin Lite V1.1Add duet2wifi/gen-l/rumba32 klipper firmware and config, update readme

MKS Robin Mini V2.xAdd Robin mini klipper firmware and config,#3

MKS Robin Nano V1.xAdd MKS Robin Nano(-S) V1.3 klipper firmware and settings

MKS Robin Nano V2.xAdd klipper firmware for Robin E3P

MKS Robin Nano V3.xAdd Nano V3 and eagle firmware use usart3

MKS Robin Pro V1.x#6: add mks robin, robin pro config and firmware

MKS Robin#6: add mks robin, robin pro config and firmware

MKS Robin2Add Robin2 klipper firmware and config,#3

MKS Rumba32Add duet2wifi/gen-l/rumba32 klipper firmware and config, update readme

MKS Sgen l V1Add duet2wifi/gen-l/rumba32 klipper firmware and config, update readme

MKS Sgen l V2Add Robin2 klipper firmware and config,#3

Klipper固件使用说明-Nano V3.pdf