Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ofernandolopes/831d2d54386bdb0c14a1f73743c5960f to your computer and use it in GitHub Desktop.
Save ofernandolopes/831d2d54386bdb0c14a1f73743c5960f to your computer and use it in GitHub Desktop.
3d printer calibration
M500 ; reset EEPROM
G28 ; Home
M106 P0 S255 ; Set fan speed to 100%
M303 E0 S200 C8 U1 ; PID autotune extruder
M106 P0 S0 ; Turn off fan
M303 E-1 S50 C8 U1 ; PID autotune bed
M851 Z-1.0 ; Set z-offset
M503 ; Print current settings
M500 ; Save settings
M48 P5 X100 Y100 V2 ; z-probe repeatability test
G28 Z ; home z
G1 F60 Z0 ; move to 0
M211 S0 ; Switch off soft endstops
M211 S1 ; Enable Soft Endstops
M302 S0 ; always allow extrusion (disable checking)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment