Skip to content

Instantly share code, notes, and snippets.


Chip ChipCE

View GitHub Profile
View printer.cfg
# This file contains common pin mappings for MKS Robin Nano (v1.2.004)
# boards. To use this config, the firmware should be compiled for the
# STM32F103. When running "make menuconfig", enable "extra low-level
# configuration setup", select the 28KiB bootloader, disable "USB for
# communication", and select USART3 for the "Serial Port".
# Note that the "make flash" command does not work with MKS Robin
# boards. After running "make", run the following command:
# ./scripts/ out/klipper.bin out/Robin_nano.bin
# Copy the file out/Robin_nano.bin to an SD card and then restart the
View test.gcode
This file has been truncated, but you can view the full file.
; generated by PrusaSlicer 2.4.0+arm64 on 2022-03-15 at 08:28:05 UTC
; external perimeters extrusion width = 0.45mm
; perimeters extrusion width = 0.45mm
; infill extrusion width = 0.60mm
; solid infill extrusion width = 0.60mm
; top infill extrusion width = 0.45mm
ChipCE /
Last active Nov 22, 2022
Klipper bed mesh on print area only macro install guide

Klipper mesh on print area only install guide

What this macro do

  • This macro will dymanic change the bed_mesh area based on the size of the printed part. The fw will only probe on the area that the part will be printed (plus mesh_area_offset value)

Setup guide

  • (1) Add the following macrro to your printer config, this will replace the default BED_MESH_CALIBRATE command.
Run with FreeCAD's bundled interpreter.
"C:/Program Files/FreeCAD 0.19/bin/python.exe"
from pathlib import Path
import re
import FreeCAD
View gist:ce0399f94a8dd2c86e8d7c6007d95d77
# probe setting. Connect to SERVORS and PROBE port
sensor_pin: ^P0.10
control_pin: P2.0
#pin_move_time: 0.800 #0.680
x_offset: -25
y_offset: 0
# z_offset: 0.150
speed: 5.0
stow_on_each_sample: False
ChipCE / gist:37ba3ecfbaa7f76b871f835d41a21879
Created Sep 21, 2021
arduino nano based klipper display MCU
View gist:37ba3ecfbaa7f76b871f835d41a21879
[mcu display]
serial: /dev/serial/by-id/PUT_DEVICE_ID_HERE
pin_map: arduino
restart_method: arduino
lcd_type: uc1701
cs_pin: display:ar6
a0_pin: display:ar7
rst_pin: display:ar4