Difference between revisions of "Team:TU Darmstadt/Hardware/MarlinCode"

Line 11: Line 11:
 
</div>
 
</div>
 
<div id="mainHeader">
 
<div id="mainHeader">
<h1>CHANGES INSIDE THE MARLIN FIRMWARE</h1>
+
<h1>FURTHER READING - ROBOTICS</h1>
 
    </div>
 
    </div>
 
</div>
 
</div>
 
<div class="page">
 
<div class="page">
  
 
+
<div class="verlinked" id="marlin"><h5>Changes inside the Marlin firmware</h5></div>
 
<p>
 
<p>
 +
Oiginal Version: <br>
 
Marlin Version: 1.1.0-RC7<br>
 
Marlin Version: 1.1.0-RC7<br>
 
Source: https://github.com/MarlinFirmware/Marlin, 10/06/16, 12:16 pm<br><br>
 
Source: https://github.com/MarlinFirmware/Marlin, 10/06/16, 12:16 pm<br><br>
  
 +
CHanges: <br>
 
<ul style="list-style-type:square;"></ul><li><b>File: Configurattion.h </b></li>
 
<ul style="list-style-type:square;"></ul><li><b>File: Configurattion.h </b></li>
 
<ul><ul>
 
<ul><ul>
Line 111: Line 113:
 
</ul></ul>
 
</ul></ul>
 
</p>
 
</p>
 +
 +
<div class="verlinked" id="BOM"><h5>Bill of Materials</h5></div>
  
 
    </div>
 
    </div>
Line 117: Line 121:
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Hardware"><button class="see_other_full">Back to Robotics</button></a>
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Hardware"><button class="see_other_full">Back to Robotics</button></a>
 
                           <div class="highlights">
 
                           <div class="highlights">
                             <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/OrthogonalPair">Incorporation of a nnAA</a><br/>
+
                             <a href="#marlin">Marlin changes</a><br/>
<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter">Reporter</a><br/>
+
                             <a href="#BOM">Bill of Materials</a><br/>
                             <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/KILLswitch">KILL(switch)</a><br/>
+
                              
<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/MetabolicBurden">Metabolic Burden</a><br/>
+
                             <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/ChemicalSynthesis">Chemical Synthesis</a>
+
 
                           </div>
 
                           </div>
 
<!--<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter"><button class="vf2_vr_full">Reporter &#8594;</button></a>-->
 
<!--<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter"><button class="vf2_vr_full">Reporter &#8594;</button></a>-->

Revision as of 10:01, 19 October 2016

If you can see this message, you do not use Javascript. This Website is best to use with Javascript enabled. Without Javascript enabled, many features including the mobile version are not usable.
Changes inside the Marlin firmware

Oiginal Version:
Marlin Version: 1.1.0-RC7
Source: https://github.com/MarlinFirmware/Marlin, 10/06/16, 12:16 pm

CHanges:

  • File: Configurattion.h
      • line 116: #define BAUDRATE 115200
        line 404: #define USE_XMAX_PLUG
        line 405: #define USE_YMAX_PLUG
        line 406: #define USE_ZMAX_PLUG

        line 423: #define X_MIN_ENDSTOP_INVERTING true
        line 424: #define X_MAX_ENDSTOP_INVERTING true
        line 425: #define Y_MIN_ENDSTOP_INVERTING true
        line 426: #define Y_MAX_ENDSTOP_INVERTING true
        line 427: #define Z_MIN_ENDSTOP_INVERTING true
        line 428: #define Z_MAX_ENDSTOP_INVERTING true

        line 564: #define DISABLE_X true
        line 565: #define DISABLE_Y true
        line 566: #define DISABLE_Z true

        line 598: #define X_HOME_DIR -1
        line 599: #define Y_HOME_DIR -1
        line 600: #define Z_HOME_DIR -1

        line 608: #define X_MIN_POS 0
        line 609: #define Y_MIN_POS 0
        line 610: #define Z_MIN_POS 0
        line 611: #define X_MAX_POS 200
        line 612: #define Y_MAX_POS 200
        line 613: #define Z_MAX_POS 245

        line 743: #define HOMING_FEEDRATE_Z (20*60)

        line 752: #define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,400,500}
        line 753: #define DEFAULT_MAX_FEEDRATE {300, 300, 300, 25} // (mm/sec)
        line 754: #define DEFAULT_MAX_ACCELERATION {3000,3000,100,10000}

    • File: Configuration_adv.h
        • line 328: #define AXIS_RELATIVE_MODES {false, false, false, false}

      • File: endstops.cpp
          • line 303: disable_e0();

        • File pins_RAMPS.h
            • line: //#define Y_MAX_PIN 15

          • File: Marlin_main.cpp
              • line 298: #define PAUSE_PIN_E0 14
                line 306: static int pause_switch_e0 = 0;

                delete line 564-582:
                void setup_pausepin() //Setup pause routine for syringe extruder endstops -MM2S
                {
                #if defined(PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Main Extruder Endstop
                pinMode(PAUSE_PIN_E0,INPUT);
                WRITE(PAUSE_PIN_E0,HIGH);
                pause_switch_e0 = 0;
                #endif
                }

                void pause() //Pause command line - MM2SE
                {
                if (pause_switch_e0 == 0) {
                // enquecommand("G4 P0"); //Inserted to stop the repeation of "M226" Function - MM2SE
                // enquecommand("G4 P0");
                // enquecommand("G4 P0");
                // enquecommand("M226"); //"M226" G-code initiated pause
                pause_switch_e0 = 1;
                }
                }

                Add the following:
                line 8582: #if defined (PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Pause function for syringe extruder endstops - MM2SE
                line 8583: if( 0 == READ(PAUSE_PIN_E0) ) { //Main Exstruder Endstop
                line 8584: pause();
                line 8585: //SERIAL_ECHO("TANGO ALPHA FOXTROTT");
                line 8586: //stepper.endstop_triggered(E_AXIS);
                line 8587: disable_e0();
                line 8588: }
                line 8589: else
                line 8590: pause_switch_e0 = 0;
                line 8591: #endif

            Bill of Materials