Anycubic i3 Mega / Mega-S Marlin 1.1.9 by davidramiro adapted to RepRapDiscount full graphics display
Forked from Anycubic i3 Mega / Mega-S Marlin 1.1.9 by davidramiro
- Anycubic TFT display disabled
- RepRapDiscount full graphics enabled
- SPI delay adjusted for clone with long cables
- Serial buffers adjusted for lesser memory usage
- M73 R support, displayed instead of X and Y cordinates
- Manual level corners (moves from corner to corner)
- Skew correction with gcode
- File sorting with RAM cache -> fast file list scrolling
- Filament sensor
- Manual mesh bed levelling, but a lot easier with "standard" display
- Still no power out resume
See connection board image posted by General5X
See Trigorilla connections posted by misterbig
RepRap display J2 goes to Trigorilla EXP1
RepRap display J3 goes to Trigorilla EXP2
Connection board connector HUB is connected (it seems to be 2mm raster, I didn't have dupont wires for that :/ )
Connection board pins PIN_19 .. PIN_3 are wired to Trigorilla limit switches D19 .. D3
Connection board pins PIN_GROUND and PIN_A13 are wired to Trigorilla Temp sensors GDN and A13 (nozzle temp sensor)
Make sure not to take out connectors in A14 and AUX. Some are hot glued to connection board.
After that build Marlin, update firmware with Marlin.ino.mega.hex (never the one with bootloader!) and see if it works ;)
Changes by davidramiro:
- Thermal runaway protection thresholds tweaked
- Manual mesh bed leveling enabled (check this link to learn more about it)
- Heatbed PID mode enabled
- TMC2208 configured in standalone mode
- Stepper orientation flipped (you don't have to flip the connectors on the board anymore)
- Linear advance unlocked (Off by default. Research, calibrate and then enable with
M900 Kx
) - S-Curve Acceleration enabled
- G26 Mesh Validation enabled
- Some redundant code removed to save memory
- Minor tweaks on default jerk and acceleration
- Print statistics enabled (send
M78
to read them) M600
filament change feature enabled- Implemented easy resume via display
- Filament runout behaviour tweaked
- Added purge and retract
- Move nozzle to park position on runout
- Prevent false positives by adding a small delay to the sensor
- Pause and stop behaviour tweaked
- Added
M888
cooldown routine for the Anycubic Ultrabase
Changes by derhopp:
- 12V capability on FAN0 (parts cooling fan) enabled
- Buzzer disabled (e.g. startup beep)
- 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
Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. First created in 2011 for RepRap and Ultimaker printers, today Marlin drives a majority of the world's most popular 3D printers. Marlin delivers outstanding print quality with unprecedented control over the process.
If you have coding or writing skills you're encouraged to contribute to Marlin. You may also contribute suggestions, feature requests, and bug reports through the Marlin Issue Queue.
Before contributing, please read our Contributing Guidelines and Code of Conduct.
- Marlin Home Page - The latest Marlin documentation.
- Marlin Releases - All Marlin releases with release notes.
- RepRap.org Wiki Page - An overview of Marlin and its role in RepRap.
- Marlin Firmware Forum - Get help with configuration and troubleshooting.
- Marlin Firmware Facebook group - Help from the community. (Maintained by @thinkyhead.)
- @MarlinFirmware on Twitter - Follow for news, release alerts, and tips. (Maintained by @thinkyhead.)
Marlin's administrators are:
- Scott Lahteine [@thinkyhead]
- Roxanne Neufeld [@Roxy-3D]
- Bob Kuhn [@Bob-the-Kuhn]
- Erik van der Zalm [@ErikZalm]
Notable contributors include:
- Alexey Shvetsov [@alexxy]
- Andreas Hardtung [@AnHardt]
- Ben Lye [@benlye]
- Bernhard Kubicek [@bkubicek]
- Bob Cousins [@bobc]
- Petr Zahradnik [@clexpert]
- Jochen Groppe [@CONSULitAS]
- David Braam [@daid]
- Eduardo José Tagle [@ejtagle]
- Ernesto Martinez [@emartinez167]
- Edward Patel [@epatel]
- F. Malpartida [@fmalpartida]
- João Brazio [@jbrazio]
- Kai [@Kaibob2]
- Luc Van Daele [@LVD-AC]
- Alberto Cotronei [@MagoKimbra]
- Marcio Teixeira [@marcio-ao]
- Chris Palmer [@nophead]
- Chris Pepper [@p3p]
- Steeve Spaggi [@studiodyne]
- Thomas Moore [@tcm0116]
- Teemu Mäntykallio [@teemuatlut]
- Nico Tonnhofer [@Wurstnase]
- [@android444]
- [@bgort]
- [@GMagician]
- [@Grogyan]
- [@maverikou]
- [@oysteinkrog]
- [@paclema]
- [@paulusjacobus]
- [@psavva]
- [@Tannoo]
- [@teemuatlut]
- ...and many others
Marlin is published under the GPLv3 license because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.
/*
* Flashing a custom firmware happens at your own risk.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
* AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/