{"id":724,"date":"2021-03-21T22:22:15","date_gmt":"2021-03-21T21:22:15","guid":{"rendered":"https:\/\/hamsterhirn.de\/?p=724"},"modified":"2021-03-21T22:37:43","modified_gmt":"2021-03-21T21:37:43","slug":"3d-printer-auto-leveling-print-bed","status":"publish","type":"post","link":"https:\/\/hamsterhirn.de\/index.php\/2021\/03\/3d-printer-auto-leveling-print-bed\/","title":{"rendered":"3D Printer auto leveling print bed"},"content":{"rendered":"\n<p>In the last post about reactivating my 3D printer I stopped at installing the new inductive sensor.<\/p>\n\n\n\n<p>After installing I tried it with my glass plate but that didn&#8217;t work very well so I removed the glass plate.<\/p>\n\n\n\n<p>I struggled with the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.instructables.com\/Enable-Auto-Leveling-for-your-3D-Printer-Marlin-Fi\/\" target=\"_blank\">auto leveling tutorial mentioned in the last post<\/a>, because the marlin firmware evolved quite a bit since then and I couldn&#8217;t find all those options mentioned in the tutorial. Basically I followed step 1 and skipped the rest.<\/p>\n\n\n\n<p>The changes from my previous Configuration.h to the new one with auto leveling configured are (uncommented lines):<br><code>#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN<br>#define USE_PROBE_FOR_Z_HOMING<br>#define NOZZLE_TO_PROBE_OFFSET { -30, -30, -1 } (the nozzle offset is -30mm x-wise, -30mm y-wise and -1 z-wise)<br>#define PROBING_MARGIN 30 (increased from 10 to 30 because the bed leveling stopped\/failed when the probe was almost outside the aluminium bed)<br>#define AUTO_BED_LEVELING_UBL<br>#define RESTORE_LEVELING_AFTER_G28<br>#define Z_SAFE_HOMING<br>#define EEPROM_SETTINGS<\/code><\/p>\n\n\n\n<p>After it compiled successfully I followed the <a rel=\"noreferrer noopener\" href=\"https:\/\/marlinfw.org\/docs\/features\/unified_bed_leveling.html\" target=\"_blank\">guide from marlin<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>M502            ; Reset settings to configuration defaults...\nM500            ; ...and Save to EEPROM. Use this on a new install.\nG28             ; Home XYZ.\nG29 P1          ; Do automated probing of the bed.\nG29 P3 T        ; Repeat until all mesh points are filled in.\nG29 F 10.0      ; Set Fade Height for correction at 10.0 mm.\nG29 A           ; Activate the UBL System.\nM500            ; Save current setup. WARNING: UBL will be active at power up, before any &#91;`G28`](\/docs\/gcode\/G028.html).<\/code><\/pre>\n\n\n\n<p>My new sensor at work \ud83d\ude42<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"803\" src=\"https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-1024x803.jpg\" alt=\"\" class=\"wp-image-725\" srcset=\"https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-1024x803.jpg 1024w, https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-300x235.jpg 300w, https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-768x603.jpg 768w, https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-1536x1205.jpg 1536w, https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-2048x1607.jpg 2048w, https:\/\/hamsterhirn.de\/wp-content\/uploads\/IMG_20210314_132229-624x490.jpg 624w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In the last post about reactivating my 3D printer I stopped at installing the new inductive sensor. After installing I tried it with my glass plate but that didn&#8217;t work very well so I removed the glass plate. I struggled with the auto leveling tutorial mentioned in the last post, because the marlin firmware evolved [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[348,355,349,358,363,350],"class_list":["post-724","post","type-post","status-publish","format-standard","hentry","category-it","tag-3d-printer","tag-auto-leveling","tag-bq","tag-lj18a3-8-z-bx","tag-marlin-firmware","tag-prusa-i3-hephestos"],"_links":{"self":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":2,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":729,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/724\/revisions\/729"}],"wp:attachment":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/categories?post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/tags?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}