This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:3dprinting:anycubic_i3_mega_getting_and_adapting_firmware [2020/02/22 15:07] – [Configuration to use BLTouch automatically] admin | projects:3dprinting:anycubic_i3_mega_getting_and_adapting_firmware [2021/05/01 15:34] (current) – [Test and calibration procedure] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | | [[projects: | ||
+ | |||
====== Downloading and adapting the (Marlin based) firmware for the ANTCLABS BLTouch ====== | ====== Downloading and adapting the (Marlin based) firmware for the ANTCLABS BLTouch ====== | ||
This page will describe using and configuring the firmware from the following repository: | This page will describe using and configuring the firmware from the following repository: | ||
Line 29: | Line 31: | ||
Within Arduino IDE, navigate into the cloned Marlin folder and open Marlin.ino | Within Arduino IDE, navigate into the cloned Marlin folder and open Marlin.ino | ||
- | All files should | + | All files should |
==== Configure Microcontroller and board type ==== | ==== Configure Microcontroller and board type ==== | ||
Line 70: | Line 72: | ||
- Printers preferences\\ \\ {{ : | - Printers preferences\\ \\ {{ : | ||
- Upgrade Firmware\\ \\ {{ : | - Upgrade Firmware\\ \\ {{ : | ||
+ | |||
===== Test and calibration procedure ===== | ===== Test and calibration procedure ===== | ||
This test and calibration procedure is based on the [[https:// | This test and calibration procedure is based on the [[https:// | ||
Line 77: | Line 80: | ||
* BLTouch calibration: | * BLTouch calibration: | ||
- | In order to perform a test and calibration procedure, it is necessary to send custom commands (Like " | + | In order to perform a test and calibration procedure, it is necessary to send custom commands ([[https:// |
- | Sending with echo directly | + | The easiest solution |
- | So far, the only serial | + | If someone prefers to use the serial |
- | + | ||
- | A workaround is the following: | + | |
- | + | ||
- | Power cycle the printer and make sure the printer is connected to the PC. Then start the Arduino | + | |
- | + | ||
- | From within the Arduino IDE, open the Serial Monitor. You will likely see garbled text: | + | |
- | + | ||
- | | {{:projects: | + | |
- | | 1. Observe garbled text with\\ a baudrate of 250000 (or\\ alternatively no text at all.) | 2. Change the baudrate to 230400 | + | |
- | + | ||
- | 4. After setting the baudrate back to 250000 close the Serial Monitor (But keep the Arduino IDE open). Then set the non-standard baudrate of the serial port via the command line with the python script | + | |
- | + | ||
- | ./ | + | |
- | + | ||
- | 5. Reopen the Serial Monitor in the Arduino IDE. Now it you should see normal text: | + | |
- | + | ||
- | | {{: | + | |
- | | //Output OK, reveals an EEPROM version mismatch...// | + | |
==== Extruder intake ==== | ==== Extruder intake ==== | ||
Line 136: | Line 121: | ||
And recompiled and flashed onto the controller. Then finally two commands where issued to make these settings effective: | And recompiled and flashed onto the controller. Then finally two commands where issued to make these settings effective: | ||
- | M502 (Load setting | + | M502 (Load setting |
M500 (save settings in EEPROM) | M500 (save settings in EEPROM) | ||
| | ||
This will as well solve the " | This will as well solve the " | ||
- | ===== Cura Machine settings for BLTouch ===== | + | To print a concise report of all current |
- | Apart from adding the automatic BLTouch calibration before printing, there are many settings in Cura which affect printing quality. Keep in mind that even if BLTouch calibration is configured and executed correctly, printing quality may still be adverse due to other settings. | + | |
- | + | ||
- | ==== 1. Automatic bed calibration ==== | + | |
- | To make sure that when printing, the bed calibration automatically takes place, add G29 under the latest line containing G28 in the Cura machine settings. The following | + | |
- | + | ||
- | | + | |
- | - Machine Settings\\ \\ {{: | + | |
- | - Place "G29 - Automatic Bed Leveling" | + | |
- | + | ||
- | ==== 2. Initial sticking layer ==== | + | |
- | Additionally, | + | |
- | + | ||
- | ==== 3. Cura {speed_travel} Bug ==== | + | |
- | In Cura 4.4.2 there is a [[https:// | + | |
- | + | ||
- | ^ Start G-Code | + | |
- | | G21 ;metric values\\ G90 ;absolute positioning\\ M82 ;set extruder to absolute mode\\ M107 ;start with the fan off\\ G28 X0 Y0 ;move X/Y to min endstops\\ G28 Z0 ;move Z to min endstops\\ G29 ;level bed\\ G1 Z15.0 F3000 ;move the platform down 15mm\\ G92 E0 ;zero the extruded length\\ G1 F100 E5 ;extrude 5mm of feed stock\\ G92 E0 ;zero the extruded length again\\ G1 F3000\\ G0 Y20 F3000\\ M117 Printing...\\ G5 | M104 S0 ; turn off extruder\\ M140 S0 ; turn off bed\\ M84 ; disable motors\\ M107\\ G91 ;relative positioning\\ G1 E-1 F300 ;retract filament before lifting nozzle, to release some pressure\\ G1 Z+0.5 E-5 ;X-20 Y-20 F3000 ;move Z up a bit and retract filament even more\\ G28 X0 ;Y0 ;move X/Y to min endstops, so the head is out of the way\\ G1 Y180 F2000\\ M84 ;steppers off\\ G90\\ M300 P300 S4000 | | + | |
- | + | ||
- | ===== Cura Profile | + | |
- | With the following settings (for PLA) it was possible to get a working 0.15mm layer height. | + |