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

(Blanked the page)
 
Line 1: Line 1:
{{Team:TU_Darmstadt/Viki}}
 
<html>
 
<body>
 
  <div class="vviki" id="vviki">
 
    <div id="head">
 
      <div id="title">
 
        <img id="logoleiste" src="https://static.igem.org/mediawiki/2016/8/83/T--TU_Darmstadt--titel.png" alt="iGEM TU Darmstadt 2016"/>
 
      </div>
 
    </html>{{Team:TU_Darmstadt/MainMenu}}<html>
 
<div class="banner"><img id="banner" src="https://static.igem.org/mediawiki/2016/8/86/T--TU_Darmstadt--team.jpg" alt="teamphoto"></img>
 
</div>
 
<div id="mainHeader">
 
<h1>FURTHER READING - ROBOTICS</h1>
 
    </div>
 
</div>
 
<div class="page">
 
  
<div class="verlinked" id="marlin"><h5>Changes inside the Marlin firmware</h5></div>
 
<p>
 
Oiginal Version: <br>
 
Marlin Version: 1.1.0-RC7<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><ul>
 
line 116: #define BAUDRATE 115200<br>
 
line 404: #define USE_XMAX_PLUG<br>
 
line 405: #define USE_YMAX_PLUG<br>
 
line 406: #define USE_ZMAX_PLUG<br><br>
 
 
line 423: #define X_MIN_ENDSTOP_INVERTING true<br>
 
line 424: #define X_MAX_ENDSTOP_INVERTING true<br>
 
line 425: #define Y_MIN_ENDSTOP_INVERTING true<br>
 
line 426: #define Y_MAX_ENDSTOP_INVERTING true<br>
 
line 427: #define Z_MIN_ENDSTOP_INVERTING true<br>
 
line 428: #define Z_MAX_ENDSTOP_INVERTING true<br><br>
 
 
line 564: #define DISABLE_X true<br>
 
line 565: #define DISABLE_Y true<br>
 
line 566: #define DISABLE_Z true<br><br>
 
 
line 598: #define X_HOME_DIR -1<br>
 
line 599: #define Y_HOME_DIR -1<br>
 
line 600: #define Z_HOME_DIR -1<br><br>
 
 
line 608: #define X_MIN_POS 0<br>
 
line 609: #define Y_MIN_POS 0<br>
 
line 610: #define Z_MIN_POS 0<br>
 
line 611: #define X_MAX_POS 200<br>
 
line 612: #define Y_MAX_POS 200<br>
 
line 613: #define Z_MAX_POS 245<br><br>
 
 
line 743: #define HOMING_FEEDRATE_Z  (20*60)<br><br>
 
 
line 752: #define DEFAULT_AXIS_STEPS_PER_UNIT  {80,80,400,500}<br>
 
line 753: #define DEFAULT_MAX_FEEDRATE          {300, 300, 300, 25}    // (mm/sec)<br>
 
line 754: #define DEFAULT_MAX_ACCELERATION      {3000,3000,100,10000}<br><br>
 
 
</ul></ul>
 
<ul style="list-style-type:square;"></ul><li><b>File: Configuration_adv.h</b></li>
 
<ul><ul>
 
line 328: #define AXIS_RELATIVE_MODES {false, false, false, false}<br><br>
 
 
</ul></ul>
 
<ul style="list-style-type:square;"></ul><li><b>File: endstops.cpp</b></li>
 
<ul><ul>
 
line 303: disable_e0();
 
</ul></ul><br>
 
 
<ul style="list-style-type:square;"></ul><li><b>File pins_RAMPS.h</b></li>
 
<ul><ul>
 
line: //#define Y_MAX_PIN          15<br><br>
 
</ul></ul>
 
 
<ul style="list-style-type:square;"></ul><li><b>File: Marlin_main.cpp</b></li>
 
<ul><ul>
 
line 298: #define PAUSE_PIN_E0 14<br>
 
line 306: static int pause_switch_e0 = 0;<br><br>
 
 
delete line 564-582:<br>
 
void setup_pausepin() //Setup pause routine for syringe extruder endstops -MM2S<br>
 
{<br>
 
#if defined(PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1  //Main Extruder Endstop <br>
 
  pinMode(PAUSE_PIN_E0,INPUT);<br>
 
  WRITE(PAUSE_PIN_E0,HIGH);<br>
 
  pause_switch_e0 = 0;<br>
 
#endif<br>
 
}<br><br>
 
 
void pause() //Pause command line - MM2SE<br>
 
{<br>
 
if (pause_switch_e0 == 0) {<br>
 
// enquecommand("G4 P0");  //Inserted to stop the repeation of "M226" Function - MM2SE<br>
 
// enquecommand("G4 P0");<br>
 
// enquecommand("G4 P0");<br>
 
// enquecommand("M226");  //"M226" G-code initiated pause <br>
 
  pause_switch_e0 = 1;<br>
 
  }<br>
 
}<br><br>
 
 
Add the following:<br>
 
line 8582:  #if defined (PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Pause function for syringe extruder endstops - MM2SE<br>
 
line 8583:  if( 0 == READ(PAUSE_PIN_E0) ) {  //Main Exstruder Endstop<br>
 
line 8584:  pause();<br>
 
line 8585:  //SERIAL_ECHO("TANGO ALPHA FOXTROTT");<br>
 
line 8586:  //stepper.endstop_triggered(E_AXIS);<br>
 
line 8587:  disable_e0();<br>
 
line 8588:  }<br>
 
line 8589:  else <br>
 
line 8590:  pause_switch_e0 = 0;<br>
 
line 8591:  #endif<br>
 
</ul></ul>
 
</p>
 
 
<div class="verlinked" id="BOM"><h5>Bill of Materials</h5></div>
 
 
<center><table>
 
 
<thead>
 
        <tr>
 
          <th>Sample</th>
 
  <th>name</th>
 
  <th>color</th>
 
  <th>migration distance [mm]</th>
 
  <th>R<sub>f</sub></th>
 
        </tr>
 
    </thead>
 
<tbody>
 
<tr>
 
<td>S</td>
 
<td>solvent</td>
 
<td>&#8209;</td>
 
<td>34&nbsp;mm</td>
 
<td>1</td>
 
 
      <tr>
 
        <td>O</td>
 
        <td>product&nbsp;(sample&nbsp;B1)</td>
 
<td>purple</td>
 
<td>25&nbsp;mm</td>
 
<td>0,735</td>
 
      </tr>
 
      <tr>
 
        <td>T</td>
 
        <td>educt&nbsp;(tyrosine)</td>
 
<td>purple</td>
 
<td>26&nbsp;mm</td>
 
<td>0,765</td>
 
      </tr>
 
</tbody>
 
</table></center>
 
<table>
 
<thead>
 
</thead>
 
<tbody>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
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</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
<tr>
 
 
</tr>
 
</tbody>
 
</table>
 
 
 
 
 
 
 
 
 
 
 
 
    </div>
 
<div class="rechts">
 
<div class="scrollbox">
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Hardware"><button class="see_other_full">Back to Robotics</button></a>
 
                          <div class="highlights">
 
                            <a href="#marlin">Marlin changes</a><br/>
 
                            <a href="#BOM">Bill of Materials</a><br/>
 
                           
 
                          </div>
 
<!--<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter"><button class="vf2_vr_full">Reporter &#8594;</button></a>-->
 
                <a href="#mainHeader"><button class="back_top_full">Back to the Top</button></a>
 
      </div>
 
                </div>
 
</html>{{Team:TU_Darmstadt/Footer}}<html>
 
</div>
 
</body>
 
</html>
 

Latest revision as of 14:42, 19 October 2016