Skip to content

🖨 Marlin firmware optimized for the Anycubic i3 Mega 3D printer

License

Notifications You must be signed in to change notification settings

KimmoHop/Marlin-Ai3M-reprap

 
 

Repository files navigation

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

Changes

  • 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

Still works

  • Filament sensor
  • Manual mesh bed levelling, but a lot easier with "standard" display

Bugs

  • Still no power out resume

Connection

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

About Marlin

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.

Coverity Scan Build Status Travis Build Status Flattr Us!

Contributing to Marlin

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 Resources

Credits

Marlin's administrators are:

Notable contributors include:

License

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.

Disclaimer

/*
* 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.
*/

About

🖨 Marlin firmware optimized for the Anycubic i3 Mega 3D printer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.6%
  • C++ 17.2%
  • Python 0.6%
  • Makefile 0.2%
  • Shell 0.2%
  • OpenSCAD 0.1%
  • Other 0.1%