Update readme

Cleaning up a bit and adding extruder calibration tutorial.
This commit is contained in:
David Ramiro 2018-11-30 16:07:36 +01:00
parent 8a6a05e600
commit c831dd6361
No known key found for this signature in database
GPG Key ID: 5B042737EBEEB736
3 changed files with 43 additions and 14528 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,24 +2,36 @@
This is my slightly customized version of the [Marlin Firmware](https://github.com/MarlinFirmware/Marlin), gratefully based on [derhopp's repo](https://github.com/derhopp/Marlin-with-Anycubic-i3-Mega-TFT) with his remarkable efforts to get the Anycubic i3 Mega TFT screen to work.
Feel free to discuss issues and work with me further optimizing this firmware!
I am running this version on an i3 Mega Ultrabase V3 (for distinction of the different versions, check [this Thingiverse thread](https://www.thingiverse.com/groups/anycubic-i3-mega/forums/general/topic:27064)) with FYSETC TMC2208 V1.2 installed.
Basically, this should work on every Ultrabase version that has no bed leveling sensor and two Z-axis endstops.
### Why use this?
## Why use this?
While the i3 Mega is a great printer for it's price and produces fantastic results in stock, there are some issues that are easily addressed:
- Very loud stock stepper motor drivers, easily replaced by Watterott or FYSETC TMC2208. To do that, you'd usually have to flip the connectors on the board, this is not necessary using this firmware.
- Many people have issues getting the Ultrabase leveled perfectly, using Manual Mesh Bed Leveling the printer generates a mesh of the planeness of the bed and compensates for it on the Z-axis for perfect prints without having to level with the screws.
- Much more efficient bed heating by using PID control. This uses less power and holds the temperature at a steady level. Highly recommended for printing ABS.
- Fairly loud fans, while almost every one of them is easily replaced, the stock FW only gives out 9V instead of 12V on the parts cooling fan so some fans like Noctua don't run like they should. This is fixed in this firmware.
- Even better print quality by enabling Linear Advance, S-Curve Acceleration and some tweaks on jerk and acceleration
- Thermal runaway protection: Reducing fire risk by detecting a faulty or misaligned thermistor.
- Very loud stock stepper motor drivers, easily replaced by Watterott or FYSETC TMC2208. To do that, you'd usually have to flip the connectors on the board, this is not necessary using this firmware.
- Easily start an auto PID tune or mesh bed leveling via the special menu (insert SD card, select special menu and press the round arrow)
### How to flash this?
## How to flash this?
#### Compile it yourself:
I provided three different precompiled hex files: One for no modifications on the stepper motor drivers - good for people who didn't touch anything yet, one for boards with TMC2208 installed and where the connectors have been flipped and one with TMC2208 and the connectors in original orientation.
### Choose your precompiled hex:
- Choose the correct hex file:
- For TMC2208 with connectors in original orientation, use `Marlin-AI3M-XXXXXX-TMC2208.hex`
- For TMC2208 with flipped connectors, use `Marlin-AI3M-XXXXXX-TMC2208_flipped.hex`
- If you use the original stepper motor drivers, use `Marlin-AI3M-XXXXXX-stock_drivers.hex`.
### Or compile it yourself:
- Download Arduino IDE
- Clone or download this repo
@ -28,30 +40,44 @@ While the i3 Mega is a great printer for it's price and produces fantastic resul
- Customize if needed and under `Sketch`, select `Export compiled binary`
- Look for the .hex file in your temporary directory, e.g. `.../AppData/Local/Temp/arduino_build_xxx/` (only the `Marlin.ino.hex`, not the `Marlin.ino.with_bootloader.hex`!)
#### Or download precompiled hex:
- Choose the correct hex file:
- For TMC2208 with connectors in original orientation, use `Marlin-AI3M-XXXXXX-TMC2208.hex`
- For TMC2208 with flipped connectors, use `Marlin-AI3M-XXXXXX-TMC2208_flipped.hex`
- If you use the original stepper motor drivers, use `Marlin-AI3M-XXXXXX-stock_drivers.hex`.
#### After obtaining the hex file:
### After obtaining the hex file:
- Flash the hex with Cura, OctoPrint or similar
- Connect to the printer and send the following commands:
- `M502` - load hard coded default values
- `M500` - save them to EEPROM
#### PID tuning
## After flashing:
This firmware is perfectly calibrated for my own machine with TMC2208 (1.015V on the axis, 1.152V on the extruder). If you also have these stepper motor drivers and you run them on similar voltages, this firmware should do great prints right after flashing. Nevertheless, a PID tune and especially calibrating the extruder is **highly recommended**. Simply follow the instructions below.
### Calibrating extruder steps
- Preheat the hotend with `M104 S200`
- Use a caliper or measuring tape and mark 120mm (measured downwards from the extruder intake) with a pencil on the filament
- Send `G91`, `G1 E100 F300` and `G90` in that order
- Your extruder will feed 100mm of filament now
- Measure where your pencil marking is now. If it's exactly 20mm to the extruder, it's perfectly calibrated
- If it's less or more than 20mm, add or subtract that value from 100mm, e.g.:
- If you measure 25mm, your result would be 95mm. If you measure 15mm, your result would be 105mm
- Calculate your new value: ( 100mm / actually extruded filament ) * 105.24
- For example, if your markings are at 15mm, you'd calculate: (100/105) * 105.24 = 100.23
- Put in the new value like this: `M92 X80.00 Y80.00 Z400.00 Exxx.xx`, replacing `x` with your value
- Save with `M500`
### PID tuning
- Turn on parts cooling fan, I recommend running it at 70% because of the 12V mod (`M106 S191`)
- Send `M303 E0 S240 C8 U1` to start extruder PID auto tuning
- Send `M303 E0 S230 C8 U1` to start extruder PID auto tuning
- Wait for it to finish
- Send `M303 E-1 S80 C8 U1` to start heatbed PID auto tuning
- Wait for it to finish
- Save with `M500`, turn off fan with `M106 S0`
#### Manual Mesh Bed Leveling
### Bonus: Manual Mesh Bed Leveling
If you have issues with an uneven bed, this is a great feature.
- Level your preheated bed as well as you can
- Send `G29 S1`, your nozzle will go to the first calibration position
@ -67,7 +93,7 @@ While the i3 Mega is a great printer for it's price and produces fantastic resul
- `G501`and `M420 S1`.
- Enjoy never having to worry about an uneven bed again!
## Changes:
## Detailed changes:
- Thermal runaway protection enabled
- TMC2208 configured in standalone mode
@ -82,17 +108,12 @@ While the i3 Mega is a great printer for it's price and produces fantastic resul
- No startup beep
### Additional features by derhopp:
## Menu mods by derhopp:
- Subdirectory support: Press the round arrow after selecting a directory
- Special menu in the SD file menu: Press the round arrow after selecting `Special menu`
### Todo:
- [ ] Tweak TMC2208 steps
## About Marlin