<p>Has anyone succeeded in installing the auto bed levelling on a Rumba board with Marlin firmware?</p>

<p>I have the last stable version <a href="https://github.com/MarlinFirmware/Marlin/releases/tag/1.1.0-RC6" rel="nofollow noreferrer">1.1.0 RC6</a>.</p>

<p>I would appreciate some direction especially about:</p>

<ul>
<li>How and which pin to activate for the servo?</li>
<li>How to test it with G-code before I move to settings of the probe sequence?</li>
</ul>

<p>I have only installed the hardware for now (5 V servo) connected to Ext. 3 (EXP3):</p>

<ul>
<li>Pin 2 (+5V);</li>
<li>Pin 4 (GND), and;</li>
<li>Pin 6 (PWM),</li>
</ul>

<p><a href="https://i.stack.imgur.com/ETHOL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ETHOL.png" alt="Servo and RAMPS 1.4 and RUMBA connections"></a></p>

<p><a href="https://i.stack.imgur.com/ZGvw0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZGvw0.jpg" alt="RUMBA EXP3 pinout"></a></p>

<p>but I cannot move it with the G-code command <code>M280 P0 S180</code>. I have no idea where to put my hands on firmware to get this going. However my ultimate goal is to set the ABL.</p>

[{'answer_id': 3003, 'author': 'Jexoteric', 'author_id': 4654, 'author_profile': 'https://3dprinting.stackexchange.com/users/4654', 'pm_score': 3, 'selected': True, 'text': '<p>General note, I do not have this board so I cannot test these steps myself, read the documentation in configuration.h, it is very detailed and should guide you pretty well. I am specifically looking at Marlin 1.1 RC7 on Github, so the lines below may vary slightly from what you see.</p>\n\n<p>As to the pins to connect on the board for the servo, pins_RUMBA.h is where they are defined/mapped. For other boards, there is a pins_[your_board_name].h that will define the pins for any given board. </p>\n\n<p>The default Servo pin for Rumba is:</p>\n\n<pre><code>#define SERVO0_PIN         5\n</code></pre>\n\n<p>Pin 6 appears to be used for a third extruder heater.</p>\n\n<pre><code>#define HEATER_2_PIN        6   // EXTRUDER 3\n</code></pre>\n\n<p>In configuration.h you must uncomment (delete the slashes "//" at the beginning) the lines and fill in your stow and deploy angles in the second line for the servo. Find these lines under the Z probe options heading.</p>\n\n<pre><code>//#define Z_ENDSTOP_SERVO_NR 0\n//#define Z_SERVO_ANGLES {70,0} // Z Servo Deploy and Stow angles\n</code></pre>\n\n<p>Define your probe offsets from your extruder nozzle:</p>\n\n<pre><code>#define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]\n#define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]\n#define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]\n</code></pre>\n\n<p>Based on your comment for using two z end stop switches, there is an option you must enable to use the standard end stop switch for homing, and only use the probe end stop for mesh bed leveling type operations. The config.h file has a lot of information on this, please read it for your own and your printers safety. </p>\n\n<p>Uncomment this line:</p>\n\n<pre><code>//#define Z_MIN_PROBE_ENDSTOP\n</code></pre>\n\n<p>and comment this line:</p>\n\n<pre><code>#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN\n</code></pre>\n\n<p>Then set the carriage height to allow the z probe room to swing down and move:</p>\n\n<pre><code>#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow\n#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.\n</code></pre>\n\n<p>For autobed leveling uncomment:</p>\n\n<pre><code>//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable\n</code></pre>\n\n<p>Then set probe points corners: </p>\n\n<pre><code>#if ENABLED(AUTO_BED_LEVELING_GRID)\n\n#define LEFT_PROBE_BED_POSITION 15\n#define RIGHT_PROBE_BED_POSITION 170\n#define FRONT_PROBE_BED_POSITION 20\n#define BACK_PROBE_BED_POSITION 170\n\n#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.\n</code></pre>\n\n<p>Set the number of points to probe in each direction (x and y), default is 2, so it will probe 4 locations, the other common choice is 3, so it will probe a grid of 9 locations.</p>\n\n<pre><code>// Set the number of grid points per dimension.\n// You probably don\'t need more than 3 (squared=9).\n#define AUTO_BED_LEVELING_GRID_POINTS 2\n</code></pre>\n\n<p>That should be everything you need for a basic setup, although there are more options that I did not go through. Please look at all the documentation comments in configuration.h file as it is very comprehensive, even if it can be a bit confusing.</p>\n\n<p>I hope this helps!</p>\n'}, {'answer_id': 3018, 'author': 'FeliceM', 'author_id': 4388, 'author_profile': 'https://3dprinting.stackexchange.com/users/4388', 'pm_score': 2, 'selected': False, 'text': '<p><strong>For future reference.</strong></p>\n\n<p>My issue about the servo not moving was caused by a wiring mistake.\nThe Exp. 3 has 14 pins has per this diagram.</p>\n\n<p><a href="https://i.stack.imgur.com/g4yyn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g4yyn.png" alt="enter image description here"></a></p>\n\n<p>However when phisically looking at the board, what you see is this:\n<a href="https://i.stack.imgur.com/51eF6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/51eF6.jpg" alt="enter image description here"></a></p>\n\n<p>I took the first 2 pins on the right of such connector and the 3rd one of the first row thinking that I was connecting pins 2-4-5 of Exp. 3.\nI was wrong, because the first 2 (1-2) pins are not part of Exp. 3.</p>\n\n<p>The right way to connect the servo is as following:\n<a href="https://i.stack.imgur.com/nDWcX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nDWcX.jpg" alt="enter image description here"></a></p>\n\n<p>Then use PWM1 (pin 5 Ext.3)\nI decided to leave trace of this issue and the relevant solution for someone that may experience the same issue.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/2986', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/4388/']