derhopp / Marlin-with-Anycubic-i3-Mega-TFT

Fork Marlin Firmware to support the Anycubic i3 Mega TFT
GNU General Public License v3.0
101 stars 40 forks source link

TFT on RAMPS #12

Open BETLOG opened 6 years ago

BETLOG commented 6 years ago

Question: How easy is it to use your code to drive the anycubic TFT on a regular RAMPS board? Presumably there is a lot of code in this branch that deals with the weird ways anycubic had the trigorilla wired, but assuming i want to run regular Marlin on regular RAMPS, which parts of your code would be required to enable the TFT? Is this a simple thing to do?

derhopp commented 6 years ago

Using a RAMPS instead of the Trigorilla-Board should be easy. AFAIK the expansion header is pin compatible.

The TFT communication mostly serial communication. Additional features (SD Card and filament runout) are clearly addressed through the pin_XXX.h configuration. Try to compare the pin defines for differences to RAMPS, add missing pin defines. It might even work with the Trigorilla pin config (it is originally derived from RAMPS).

BETLOG commented 6 years ago

I assume you have made changes to marlin that are specific to making it work on the trigorilla. Changes that might interfere with or be contrary to what RAMPS would need. Is that correct? If so: If i wanted to separate just the required files to run TFT on RAMPS... which files would that be?