Deploying to gh-pages from @ Klipper3d/klipper@f55b9d3e57 🚀
This commit is contained in:
@@ -1542,6 +1542,39 @@ and <strong>will not work</strong>. The recommended connection scheme:</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>An alternative to the ADXL345 is the MPU-9250 (or MPU-6050). This accelerometer has been tested to work over I2C on the RPi at 400kbaud.
|
||||
Recommended connection scheme for I2C:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">MPU-9250 pin</th>
|
||||
<th align="center">RPi pin</th>
|
||||
<th align="center">RPi pin name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">3V3 (or VCC)</td>
|
||||
<td align="center">01</td>
|
||||
<td align="center">3.3v DC power</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">GND</td>
|
||||
<td align="center">09</td>
|
||||
<td align="center">Ground</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">SDA</td>
|
||||
<td align="center">03</td>
|
||||
<td align="center">GPIO02 (SDA1)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">SCL</td>
|
||||
<td align="center">05</td>
|
||||
<td align="center">GPIO03 (SCL1)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Fritzing wiring diagrams for some of the ADXL345 boards:</p>
|
||||
<p><img alt="ADXL345-Rpi" src="img/adxl345-fritzing.png" /></p>
|
||||
<p>Double-check your wiring before powering up the Raspberry Pi to prevent
|
||||
@@ -1583,7 +1616,7 @@ sudo apt install python3-numpy python3-matplotlib
|
||||
"linux mcu" on the Raspberry Pi.</p>
|
||||
<p>Make sure the Linux SPI driver is enabled by running <code>sudo
|
||||
raspi-config</code> and enabling SPI under the "Interfacing options" menu.</p>
|
||||
<p>Add the following to the printer.cfg file:</p>
|
||||
<p>For the ADXL345, add the following to the printer.cfg file:</p>
|
||||
<div class="highlight"><pre><span></span><code>[mcu rpi]
|
||||
serial: /tmp/klipper_host_mcu
|
||||
|
||||
@@ -1598,6 +1631,20 @@ probe_points:
|
||||
|
||||
<p>It is advised to start with 1 probe point, in the middle of the print bed,
|
||||
slightly above it.</p>
|
||||
<p>For the MPU-9250:</p>
|
||||
<div class="highlight"><pre><span></span><code>[mcu rpi]
|
||||
serial: /tmp/klipper_host_mcu
|
||||
|
||||
[mpu9250]
|
||||
i2c_mcu: rpi
|
||||
i2c_bus: i2c.1
|
||||
|
||||
[resonance_tester]
|
||||
accel_chip: mpu9250
|
||||
probe_points:
|
||||
100, 100, 20 # an example
|
||||
</code></pre></div>
|
||||
|
||||
<p>Restart Klipper via the <code>RESTART</code> command.</p>
|
||||
<h2 id="measuring-the-resonances">Measuring the resonances<a class="headerlink" href="#measuring-the-resonances" title="Permanent link">¶</a></h2>
|
||||
<h3 id="checking-the-setup">Checking the setup<a class="headerlink" href="#checking-the-setup" title="Permanent link">¶</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user