Skip to content

Instantly share code, notes, and snippets.

Avatar

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/update_mks_robin.py 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
; first layer extrusion width = 0.45mm
@ChipCE
ChipCE / readme.md
Last active March 28, 2023 18:22
Klipper bed mesh on print area only macro install guide
View readme.md

Klipper mesh on print area only install guide

What this macro do

  • This macro will dynamically changing the bed mesh area based on the size of the parts will be printed. 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.
View generate-bom.py
"""
Run with FreeCAD's bundled interpreter.
Example:
"C:/Program Files/FreeCAD 0.19/bin/python.exe" generate-bom.py
"""
from pathlib import Path
import re
import FreeCAD
View gist:ce0399f94a8dd2c86e8d7c6007d95d77
# probe setting. Connect to SERVORS and PROBE port
[bltouch]
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
ChipCE / gist:37ba3ecfbaa7f76b871f835d41a21879
Created September 21, 2021 13:17
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
[display]
lcd_type: uc1701
cs_pin: display:ar6
a0_pin: display:ar7
rst_pin: display:ar4