Deploying to gh-pages from @ Klipper3d/klipper@d725dfd309 🚀

This commit is contained in:
KevinOConnor
2023-07-28 00:04:14 +00:00
parent 035fe8eafd
commit f970b964d2
283 changed files with 11604 additions and 2400 deletions

View File

@@ -706,6 +706,13 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#mcus-with-klipper-i2c-fast-mode-support" class="md-nav__link">
MCUs with Klipper I2C fast-mode Support
</a>
</li>
<li class="md-nav__item">
<a href="#telepitesi-utasitasok" class="md-nav__link">
Telepítési utasítások
@@ -719,8 +726,7 @@
Vezetékek
</a>
<nav class="md-nav" aria-label="Vezetékek">
<ul class="md-nav__list">
</li>
<li class="md-nav__item">
<a href="#spi-gyorsulasmerok" class="md-nav__link">
@@ -739,15 +745,15 @@
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#direct-to-raspberry-pi" class="md-nav__link">
Direct to Raspberry Pi
<a href="#kozvetlenul-a-raspberry-pi-re" class="md-nav__link">
Közvetlenül a Raspberry Pi-re
</a>
</li>
<li class="md-nav__item">
<a href="#using-raspberry-pi-pico" class="md-nav__link">
Using Raspberry Pi Pico
<a href="#raspberry-pi-pico-hasznalata" class="md-nav__link">
Raspberry Pi Pico használata
</a>
</li>
@@ -775,6 +781,14 @@
MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500
</a>
<nav class="md-nav" aria-label="MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#recommended-connection-scheme-for-i2ctwi-on-the-avr-atmega328p-arduino-nano" class="md-nav__link">
Recommended connection scheme for I2C(TWI) on the AVR ATmega328P Arduino Nano:
</a>
</li>
</ul>
@@ -810,23 +824,23 @@
</li>
<li class="md-nav__item">
<a href="#configure-adxl345-with-pi-pico" class="md-nav__link">
Configure ADXL345 With Pi Pico
<a href="#adxl345-konfiguralasa-pi-pico-segitsegevel" class="md-nav__link">
ADXL345 konfigurálása Pi Pico segítségével
</a>
<nav class="md-nav" aria-label="Configure ADXL345 With Pi Pico">
<nav class="md-nav" aria-label="ADXL345 konfigurálása Pi Pico segítségével">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#flash-the-pico-firmware" class="md-nav__link">
Flash the Pico Firmware
<a href="#a-pico-firmware-egetese" class="md-nav__link">
A Pico firmware égetése
</a>
</li>
<li class="md-nav__item">
<a href="#configure-the-connection" class="md-nav__link">
Configure the Connection
<a href="#a-kapcsolat-konfiguralasa" class="md-nav__link">
A kapcsolat konfigurálása
</a>
</li>
@@ -844,8 +858,15 @@
</li>
<li class="md-nav__item">
<a href="#mpu-60009000-sorozat-konfiguralasa-pico-val" class="md-nav__link">
MPU-6000/9000 sorozat konfigurálása PICO-val
<a href="#configure-mpu-9520-compatibles-with-pico" class="md-nav__link">
Configure MPU-9520 Compatibles With Pico
</a>
</li>
<li class="md-nav__item">
<a href="#configure-mpu-9520-compatibles-with-avr" class="md-nav__link">
Configure MPU-9520 Compatibles with AVR
</a>
</li>
@@ -1429,8 +1450,8 @@
<li class="md-nav__item">
<a href="CANBUS_Troubleshooting.md" class="md-nav__link">
None
<a href="CANBUS_Troubleshooting.html" class="md-nav__link">
CANBUS Troubleshooting
</a>
</li>
@@ -1512,6 +1533,13 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#mcus-with-klipper-i2c-fast-mode-support" class="md-nav__link">
MCUs with Klipper I2C fast-mode Support
</a>
</li>
<li class="md-nav__item">
<a href="#telepitesi-utasitasok" class="md-nav__link">
Telepítési utasítások
@@ -1525,8 +1553,7 @@
Vezetékek
</a>
<nav class="md-nav" aria-label="Vezetékek">
<ul class="md-nav__list">
</li>
<li class="md-nav__item">
<a href="#spi-gyorsulasmerok" class="md-nav__link">
@@ -1545,15 +1572,15 @@
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#direct-to-raspberry-pi" class="md-nav__link">
Direct to Raspberry Pi
<a href="#kozvetlenul-a-raspberry-pi-re" class="md-nav__link">
Közvetlenül a Raspberry Pi-re
</a>
</li>
<li class="md-nav__item">
<a href="#using-raspberry-pi-pico" class="md-nav__link">
Using Raspberry Pi Pico
<a href="#raspberry-pi-pico-hasznalata" class="md-nav__link">
Raspberry Pi Pico használata
</a>
</li>
@@ -1581,6 +1608,14 @@
MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500
</a>
<nav class="md-nav" aria-label="MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#recommended-connection-scheme-for-i2ctwi-on-the-avr-atmega328p-arduino-nano" class="md-nav__link">
Recommended connection scheme for I2C(TWI) on the AVR ATmega328P Arduino Nano:
</a>
</li>
</ul>
@@ -1616,23 +1651,23 @@
</li>
<li class="md-nav__item">
<a href="#configure-adxl345-with-pi-pico" class="md-nav__link">
Configure ADXL345 With Pi Pico
<a href="#adxl345-konfiguralasa-pi-pico-segitsegevel" class="md-nav__link">
ADXL345 konfigurálása Pi Pico segítségével
</a>
<nav class="md-nav" aria-label="Configure ADXL345 With Pi Pico">
<nav class="md-nav" aria-label="ADXL345 konfigurálása Pi Pico segítségével">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#flash-the-pico-firmware" class="md-nav__link">
Flash the Pico Firmware
<a href="#a-pico-firmware-egetese" class="md-nav__link">
A Pico firmware égetése
</a>
</li>
<li class="md-nav__item">
<a href="#configure-the-connection" class="md-nav__link">
Configure the Connection
<a href="#a-kapcsolat-konfiguralasa" class="md-nav__link">
A kapcsolat konfigurálása
</a>
</li>
@@ -1650,8 +1685,15 @@
</li>
<li class="md-nav__item">
<a href="#mpu-60009000-sorozat-konfiguralasa-pico-val" class="md-nav__link">
MPU-6000/9000 sorozat konfigurálása PICO-val
<a href="#configure-mpu-9520-compatibles-with-pico" class="md-nav__link">
Configure MPU-9520 Compatibles With Pico
</a>
</li>
<li class="md-nav__item">
<a href="#configure-mpu-9520-compatibles-with-avr" class="md-nav__link">
Configure MPU-9520 Compatibles with AVR
</a>
</li>
@@ -1766,23 +1808,66 @@
<h1 id="rezonanciak-merese">Rezonanciák mérése<a class="headerlink" href="#rezonanciak-merese" title="Permanent link">&para;</a></h1>
<p>A Klipper beépített támogatással rendelkezik az ADXL345 gyorsulásmérőhöz, amely a nyomtató rezonanciáinak mérésére használható a különböző tengelyek esetében, és automatikus hangolással <a href="Resonance_Compensation.html">rezonancia kompenzációval</a> a rezonanciák kompenzálására. Vedd figyelembe, hogy az ADXL345 használata némi forrasztást és krimpelést igényel. Az ADXL345 közvetlenül csatlakoztatható egy Raspberry Pi-hez, vagy egy MCU-kártya SPI-interfészéhez (meglehetősen gyorsnak kell lennie).</p>
<p>Az ADXL345 beszerzésekor vedd figyelembe, hogy számos különböző NYÁK lapkakialakítás és különböző klónok léteznek. Győződj meg róla, hogy a kártya támogatja az SPI módot (kis számú kártya úgy tűnik, hogy szorosan konfigurálva van az I2C-re az SDO GND-re húzásával), és ha 5V-os nyomtató MCU-hoz csatlakozik ellenőrizd,hogy rendelkezik feszültségszabályozóval és szintválasztóval.</p>
<p>Klipper has built-in support for the ADXL345 and MPU-9250 compatible accelerometers which can be used to measure resonance frequencies of the printer for different axes, and auto-tune <a href="Resonance_Compensation.html">input shapers</a> to compensate for resonances. Note that using accelerometers requires some soldering and crimping. The ADXL345 can be connected to the SPI interface of a Raspberry Pi or MCU board (it needs to be reasonably fast). The MPU family can be connected to the I2C interface of a Raspberry Pi directly, or to an I2C interface of an MCU board that supports 400kbit/s <em>fast mode</em> in Klipper.</p>
<p>When sourcing accelerometers, be aware that there are a variety of different PCB board designs and different clones of them. If it is going to be connected to a 5V printer MCU ensure it has a voltage regulator and level shifters.</p>
<p>For ADXL345s, make sure that the board supports SPI mode (a small number of boards appear to be hard-configured for I2C by pulling SDO to GND).</p>
<p>For MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500s there are also a variety of board designs and clones with different I2C pull-up resistors which will need supplementing.</p>
<h2 id="mcus-with-klipper-i2c-fast-mode-support">MCUs with Klipper I2C <em>fast-mode</em> Support<a class="headerlink" href="#mcus-with-klipper-i2c-fast-mode-support" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th align="center">MCU Family</th>
<th align="left">MCU(s) Tested</th>
<th align="left">MCU(s) with Support</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">Raspberry Pi</td>
<td align="left">3B+, Pico</td>
<td align="left">3A, 3A+, 3B, 4</td>
</tr>
<tr>
<td align="center">AVR ATmega</td>
<td align="left">ATmega328p</td>
<td align="left">ATmega32u4, ATmega128, ATmega168, ATmega328, ATmega644p, ATmega1280, ATmega1284, ATmega2560</td>
</tr>
<tr>
<td align="center">AVR AT90</td>
<td align="left">-</td>
<td align="left">AT90usb646, AT90usb1286</td>
</tr>
</tbody>
</table>
<h2 id="telepitesi-utasitasok">Telepítési utasítások<a class="headerlink" href="#telepitesi-utasitasok" title="Permanent link">&para;</a></h2>
<h3 id="vezetekek">Vezetékek<a class="headerlink" href="#vezetekek" title="Permanent link">&para;</a></h3>
<p>An ethernet cable with shielded twisted pairs (cat5e or better) is recommended for signal integrity over a long distance. If you still experience signal integrity issues (SPI/I2C errors), shorten the cable.</p>
<p>Csatlakoztasd az ethernet kábel árnyékolását a vezérlőpanel/RPI földeléséhez.</p>
<p>An ethernet cable with shielded twisted pairs (cat5e or better) is recommended for signal integrity over a long distance. If you still experience signal integrity issues (SPI/I2C errors):</p>
<ul>
<li>Double check the wiring with a digital multimeter for:<ul>
<li>Correct connections when turned off (continuity)</li>
<li>Correct power and ground voltages</li>
</ul>
</li>
<li>I2C only:<ul>
<li>Check the SCL and SDA lines' resistances to 3.3V are in the range of 900 ohms to 1.8K</li>
<li>For full technical details consult <a href="https://www.pololu.com/file/0J435/UM10204.pdf">chapter 7 of the I2C-bus specification and user manual UM10204</a> for <em>fast-mode</em></li>
</ul>
</li>
<li>Shorten the cable</li>
</ul>
<p>Connect ethernet cable shielding only to the MCU board/Pi ground.</p>
<p><strong><em>Kétszer is ellenőrizd a vezetékeket a bekapcsolás előtt, hogy elkerüld az MCU/Raspberry Pi vagy a gyorsulásmérő károsodását.</em></strong></p>
<h4 id="spi-gyorsulasmerok">SPI Gyorsulásmérők<a class="headerlink" href="#spi-gyorsulasmerok" title="Permanent link">&para;</a></h4>
<p>Javasolt csavart érpáros sorrend:</p>
<h3 id="spi-gyorsulasmerok">SPI Gyorsulásmérők<a class="headerlink" href="#spi-gyorsulasmerok" title="Permanent link">&para;</a></h3>
<p>Suggested twisted pair order for three twisted pairs:</p>
<div class="highlight"><pre><span></span><code>GND+MISO
3.3V+MOSI
SCLK+CS
</code></pre></div>
<h5 id="adxl345">ADXL345<a class="headerlink" href="#adxl345" title="Permanent link">&para;</a></h5>
<h6 id="direct-to-raspberry-pi">Direct to Raspberry Pi<a class="headerlink" href="#direct-to-raspberry-pi" title="Permanent link">&para;</a></h6>
<p><strong>Note: Many MCUs will work with an ADXL345 in SPI mode(eg Pi Pico), wiring and configuration will vary according to your specific board and available pins.</strong></p>
<p>Note that unlike a cable shield, GND must be connected at both ends.</p>
<h4 id="adxl345">ADXL345<a class="headerlink" href="#adxl345" title="Permanent link">&para;</a></h4>
<h5 id="kozvetlenul-a-raspberry-pi-re">Közvetlenül a Raspberry Pi-re<a class="headerlink" href="#kozvetlenul-a-raspberry-pi-re" title="Permanent link">&para;</a></h5>
<p><strong>Note: Many MCUs will work with an ADXL345 in SPI mode (e.g. Pi Pico), wiring and configuration will vary according to your specific board and available pins.</strong></p>
<p>Az ADXL345-öt SPI-n keresztül kell csatlakoztatnod a Raspberry Pi-hez. Vedd figyelembe, hogy az ADXL345 dokumentációja által javasolt I2C kapcsolatnak túl alacsony az adatforgalmi képessége, és <strong>nem fog működni</strong>. Az ajánlott kapcsolási séma:</p>
<table>
<thead>
@@ -1796,7 +1881,7 @@ SCLK+CS
<tr>
<td align="center">3V3 (or VCC)</td>
<td align="center">01</td>
<td align="center">3.3V DC power</td>
<td align="center">3.3V DC feszültség</td>
</tr>
<tr>
<td align="center">GND</td>
@@ -1827,22 +1912,22 @@ SCLK+CS
</table>
<p>Fritzing kapcsolási rajzok néhány ADXL345 laphoz:</p>
<p><img alt="ADXL345-Rpi" src="img/adxl345-fritzing.png" /></p>
<h6 id="using-raspberry-pi-pico">Using Raspberry Pi Pico<a class="headerlink" href="#using-raspberry-pi-pico" title="Permanent link">&para;</a></h6>
<p>You may connect the ADXL345 to your Raspberry Pi Pico and then connect the Pico to your Raspberry Pi via USB. This makes it easy to reuse the accelerometer on other Klipper devices, as you can connect via USB instead of GPIO. The Pico does not have much processing power, so make sure it is only running the accelerometer and not performing any other duties.</p>
<p>In order to avoid damage to your RPi make sure to connect the ADXL345 to 3.3V only. Depending on the board's layout, a level shifter may be present, which makes 5V dangerous for your RPi.</p>
<h5 id="raspberry-pi-pico-hasznalata">Raspberry Pi Pico használata<a class="headerlink" href="#raspberry-pi-pico-hasznalata" title="Permanent link">&para;</a></h5>
<p>Az ADXL345-öt csatlakoztathatod a Raspberry Pi Pico számítógéphez, majd a Pico számítógépet USB-n keresztül csatlakoztathatod a Raspberry Pi számítógéphez. Ez megkönnyíti a gyorsulásmérő újrafelhasználását más Klipper eszközökön, mivel GPIO helyett USB-n keresztül csatlakozik. A Pico nem rendelkezik nagy feldolgozási teljesítménnyel, ezért győződj meg róla, hogy csak a gyorsulásmérőt futtatja, és nem végez más feladatokat.</p>
<p>Az RPi károsodásának elkerülése érdekében ügyelj arra, hogy az ADXL345-öt csak 3,3 V-hoz csatlakoztasd. A tábla elrendezésétől függően előfordulhat, hogy egy feszváltó jelen van, ami veszélyessé teszi az 5V-ot az RPi számára.</p>
<table>
<thead>
<tr>
<th align="center">ADXL345 tű</th>
<th align="center">Pico pin</th>
<th align="center">Pico pin name</th>
<th align="center">Pico </th>
<th align="center">Pico tű neve</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">3V3 (or VCC)</td>
<td align="center">36</td>
<td align="center">3.3V DC power</td>
<td align="center">3.3V DC feszültség</td>
</tr>
<tr>
<td align="center">GND</td>
@@ -1871,16 +1956,23 @@ SCLK+CS
</tr>
</tbody>
</table>
<p>Wiring diagrams for some of the ADXL345 boards:</p>
<p>Néhány ADXL345 lap kapcsolási rajzai:</p>
<p><img alt="ADXL345-Pico" src="img/adxl345-pico.png" /></p>
<h4 id="i2c-gyorsulasmerok">I2C Gyorsulásmérők<a class="headerlink" href="#i2c-gyorsulasmerok" title="Permanent link">&para;</a></h4>
<p>Javasolt csavart érpáros sorrend:</p>
<h3 id="i2c-gyorsulasmerok">I2C Gyorsulásmérők<a class="headerlink" href="#i2c-gyorsulasmerok" title="Permanent link">&para;</a></h3>
<p>Suggested twisted pair order for three pairs (preferred):</p>
<div class="highlight"><pre><span></span><code>3.3V+GND
SDA+GND
SCL+GND
</code></pre></div>
<p>or for two pairs:</p>
<div class="highlight"><pre><span></span><code>3.3V+SDA
GND+SCL
</code></pre></div>
<h5 id="mpu-9250mpu-9255mpu-6515mpu-6050mpu-6500">MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500<a class="headerlink" href="#mpu-9250mpu-9255mpu-6515mpu-6050mpu-6500" title="Permanent link">&para;</a></h5>
<p>Az ADXL345 alternatívái az MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500. Ezeket a gyorsulásmérőket tesztelték, hogy az RPi vagy RP2040(pico) I2C-n keresztül 400kbaud-on működnek.</p>
<p>Note that unlike a cable shield, any GND(s) should be connected at both ends.</p>
<h4 id="mpu-9250mpu-9255mpu-6515mpu-6050mpu-6500">MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500<a class="headerlink" href="#mpu-9250mpu-9255mpu-6515mpu-6050mpu-6500" title="Permanent link">&para;</a></h4>
<p>These accelerometers have been tested to work over I2C on the RPi, RP2040 (Pico) and AVR at 400kbit/s (<em>fast mode</em>). Some MPU accelerometer modules include pull-ups, but some are too large at 10K and must be changed or supplemented by smaller parallel resistors.</p>
<p>Ajánlott csatlakozási séma az I2C-hez a Raspberry Pi-n:</p>
<table>
<thead>
@@ -1913,20 +2005,21 @@ GND+SCL
</tr>
</tbody>
</table>
<p><img alt="MPU-9250 csatlakoztatva az RPI-hez" src="img/mpu9250-PI-fritzing.png" /></p>
<p>Az RP2040-en lévő I2C(i2c0a) javasolt csatlakozási séma:</p>
<p>The RPi has buit-in 1.8K pull-ups on both SCL and SDA.</p>
<p><img alt="MPU-9250 connected to Pi" src="img/mpu9250-PI-fritzing.png" /></p>
<p>Recommended connection scheme for I2C (i2c0a) on the RP2040:</p>
<table>
<thead>
<tr>
<th align="center">MPU-9250 tű</th>
<th align="center">RP2040 tű</th>
<th align="center">RPi tű név</th>
<th align="center">RP2040 pin name</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">VCC</td>
<td align="center">39</td>
<td align="center">36</td>
<td align="center">3v3</td>
</tr>
<tr>
@@ -1946,7 +2039,46 @@ GND+SCL
</tr>
</tbody>
</table>
<p><img alt="MPU-9250 csatlakoztatva az RPI-hez" src="img/mpu9250-PICO-fritzing.png" /></p>
<p>The Pico does not include any built-in I2C pull-up resistors.</p>
<p><img alt="MPU-9250 connected to Pico" src="img/mpu9250-PICO-fritzing.png" /></p>
<h5 id="recommended-connection-scheme-for-i2ctwi-on-the-avr-atmega328p-arduino-nano">Recommended connection scheme for I2C(TWI) on the AVR ATmega328P Arduino Nano:<a class="headerlink" href="#recommended-connection-scheme-for-i2ctwi-on-the-avr-atmega328p-arduino-nano" title="Permanent link">&para;</a></h5>
<table>
<thead>
<tr>
<th align="center">MPU-9250 tű</th>
<th align="center">Atmega328P TQFP32 pin</th>
<th align="center">Atmega328P pin name</th>
<th align="center">Arduino Nano pin</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">VCC</td>
<td align="center">39</td>
<td align="center">-</td>
<td align="center">-</td>
</tr>
<tr>
<td align="center">GND</td>
<td align="center">38</td>
<td align="center">Föld</td>
<td align="center">GND</td>
</tr>
<tr>
<td align="center">SDA</td>
<td align="center">27</td>
<td align="center">SDA</td>
<td align="center">A4</td>
</tr>
<tr>
<td align="center">SCL</td>
<td align="center">28</td>
<td align="center">SCL</td>
<td align="center">A5</td>
</tr>
</tbody>
</table>
<p>The Arduino Nano does not include any built-in pull-up resistors nor a 3.3V power pin.</p>
<h3 id="a-gyorsulasmero-felszerelese">A gyorsulásmérő felszerelése<a class="headerlink" href="#a-gyorsulasmero-felszerelese" title="Permanent link">&para;</a></h3>
<p>A gyorsulásmérőt a nyomtatófejhez kell csatlakoztatni. Meg kell tervezni egy megfelelő rögzítést, amely illeszkedik a saját 3D nyomtatódhoz. A gyorsulásmérő tengelyeit jobb a nyomtató tengelyeihez igazítani (de ha ez kényelmesebbé teszi, a tengelyek felcserélhetők - azaz nem kell az X tengelyt X-hez igazítani, és így tovább. Akkor is jónak kell lennie, ha a gyorsulásmérő Z tengelye a nyomtató X tengelye, stb).</p>
<p>Példa az ADXL345 SmartEffectorra történő felszerelésére:</p>
@@ -1964,8 +2096,8 @@ sudo apt install python3-numpy python3-matplotlib libatlas-base-dev
</code></pre></div>
<p>Vedd figyelembe, hogy a CPU teljesítményétől függően ez <em>sok</em> időt vehet igénybe, akár 10-20 percet is. Legyen türelmes, és várja meg a telepítés befejezését. Bizonyos esetekben, ha a kártyán túl kevés RAM van, a telepítés meghiúsulhat, és engedélyeznie kell a swapot.</p>
<p>Ezután ellenőrizd és kövesd az <a href="RPi_microcontroller.html">RPi Microcontroller dokumentum</a> utasításait a "linux mcu" beállításához a Raspberry Pi-n.</p>
<h4 id="adxl345-konfiguralasa-rpi-vel">ADXL345 konfigurálása RPi-vel<a class="headerlink" href="#adxl345-konfiguralasa-rpi-vel" title="Permanent link">&para;</a></h4>
<p>First, check and follow the instructions in the <a href="RPi_microcontroller.html">RPi Microcontroller document</a> to setup the "linux mcu" on the Raspberry Pi. This will configure a second Klipper instance that runs on your Pi.</p>
<p>Győződjünk meg róla, hogy a Linux SPI-illesztőprogram engedélyezve van a <code>sudo raspi-config</code> futtatásával és az SPI engedélyezésével az "Interfacing options" menüben.</p>
<p>Adja hozzá a következőket a printer.cfg fájlhoz:</p>
<div class="highlight"><pre><span></span><code>[mcu rpi]
@@ -1981,26 +2113,26 @@ probe_points:
</code></pre></div>
<p>Javasoljuk, hogy 1 mérőponttal kezd, a nyomtatási tárgyasztal közepén, kissé felette.</p>
<h4 id="configure-adxl345-with-pi-pico">Configure ADXL345 With Pi Pico<a class="headerlink" href="#configure-adxl345-with-pi-pico" title="Permanent link">&para;</a></h4>
<h5 id="flash-the-pico-firmware">Flash the Pico Firmware<a class="headerlink" href="#flash-the-pico-firmware" title="Permanent link">&para;</a></h5>
<p>On your Raspberry Pi, compile the firmware for the Pico.</p>
<h4 id="adxl345-konfiguralasa-pi-pico-segitsegevel">ADXL345 konfigurálása Pi Pico segítségével<a class="headerlink" href="#adxl345-konfiguralasa-pi-pico-segitsegevel" title="Permanent link">&para;</a></h4>
<h5 id="a-pico-firmware-egetese">A Pico firmware égetése<a class="headerlink" href="#a-pico-firmware-egetese" title="Permanent link">&para;</a></h5>
<p>A Raspberry Pi-n fordítsd le a firmware-t a Pico számára.</p>
<div class="highlight"><pre><span></span><code>cd ~/klipper
make clean
make menuconfig
</code></pre></div>
<p><img alt="Pico menuconfig" src="img/klipper_pico_menuconfig.png" /></p>
<p>Now, while holding down the <code>BOOTSEL</code> button on the Pico, connect the Pico to the Raspberry Pi via USB. Compile and flash the firmware.</p>
<p>Most, miközben lenyomva tartjuk a <code>BOOTSEL</code> gombot a Pico-n, csatlakoztassuk a Pico-t a Raspberry Pi-hez USB-n keresztül. Fordítsuk le és égessük a firmware-t.</p>
<div class="highlight"><pre><span></span><code>make flash FLASH_DEVICE=first
</code></pre></div>
<p>If that fails, you will be told which <code>FLASH_DEVICE</code> to use. In this example, that's <code>make flash FLASH_DEVICE=2e8a:0003</code>. <img alt="Determine flash device" src="img/flash_rp2040_FLASH_DEVICE.png" /></p>
<h5 id="configure-the-connection">Configure the Connection<a class="headerlink" href="#configure-the-connection" title="Permanent link">&para;</a></h5>
<p>The Pico will now reboot with the new firmware and should show up as a serial device. Find the pico serial device with <code>ls /dev/serial/by-id/*</code>. You can now add an <code>adxl.cfg</code> file with the following settings:</p>
<p>Ha ez nem sikerül, a rendszer megmondja, hogy melyik <code>FLASH_DEVICE</code> címet kell használni. Ebben a példában ez a <code>make flash FLASH_DEVICE=2e8a:0003</code>. <img alt="Égető eszköz meghatározása" src="img/flash_rp2040_FLASH_DEVICE.png" /></p>
<h5 id="a-kapcsolat-konfiguralasa">A kapcsolat konfigurálása<a class="headerlink" href="#a-kapcsolat-konfiguralasa" title="Permanent link">&para;</a></h5>
<p>A Pico most újraindul az új firmware-vel, és soros eszközként fog megjelenni. Keresd meg a Pico soros eszközét az <code>ls /dev/serial/by-id/*</code> segítségével. Most hozzáadhatsz egy <code>adxl.cfg</code> fájlt a következő beállításokkal:</p>
<div class="highlight"><pre><span></span><code>[mcu adxl]
# Change &lt;mySerial&gt; to whatever you found above. For example,
# Változtassuk meg a &lt;mySerial&gt;-t arra, amit fentebb találtunk. Például,
# usb-Klipper_rp2040_E661640843545B2E-if00
serial: /dev/serial/by-id/usb-Klipper_rp2040_&lt;mySerial&gt;
serial: /dev/serial/by-id/usb-Klipper_rp2040_&lt;mySerial&gt;.
[adxl345]
cs_pin: adxl:gpio1
@@ -2010,15 +2142,15 @@ axes_map: x,z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
# Somewhere slightly above the middle of your print bed
# Valahol a nyomtatóágy közepe felett
147,154, 20
[output_pin power_mode] # Improve power stability
[output_pin power_mode] # Javítja a teljesítmény stabilitását
pin: adxl:gpio23
</code></pre></div>
<p>If setting up the ADXL345 configuration in a separate file, as shown above, you'll also want to modify your <code>printer.cfg</code> file to include this:</p>
<div class="highlight"><pre><span></span><code>[include adxl.cfg] # Comment this out when you disconnect the accelerometer
<p>Ha az ADXL345 konfigurációját külön fájlban állítod be, ahogy fentebb látható, akkor a <code>printer.cfg</code> fájlt is módosítani kell, hogy tartalmazza ezt:</p>
<div class="highlight"><pre><span></span><code>[include adxl.cfg] # Kommenteld ki ezt, amikor lekapcsolod a gyorsulásmérőt.
</code></pre></div>
<p>Indítsd újra a Klippert a <code>RESTART</code> paranccsal.</p>
@@ -2037,10 +2169,10 @@ probe_points:
100, 100, 20 # an example
</code></pre></div>
<h4 id="mpu-60009000-sorozat-konfiguralasa-pico-val">MPU-6000/9000 sorozat konfigurálása PICO-val<a class="headerlink" href="#mpu-60009000-sorozat-konfiguralasa-pico-val" title="Permanent link">&para;</a></h4>
<p>A PICO I2C alapértelmezés szerint 400000-re van beállítva. Egyszerűen add hozzá a következőket a printer.cfg fájlhoz:</p>
<h4 id="configure-mpu-9520-compatibles-with-pico">Configure MPU-9520 Compatibles With Pico<a class="headerlink" href="#configure-mpu-9520-compatibles-with-pico" title="Permanent link">&para;</a></h4>
<p>Pico I2C is set to 400000 on default. Simply add the following to the printer.cfg:</p>
<div class="highlight"><pre><span></span><code>[mcu pico]
serial: /dev/serial/by-id/&lt;your PICO&#39;s serial ID&gt;
serial: /dev/serial/by-id/&lt;your Pico&#39;s serial ID&gt;
[mpu9250]
i2c_mcu: pico
@@ -2052,7 +2184,21 @@ probe_points:
100, 100, 20 # an example
[static_digital_output pico_3V3pwm] # Improve power stability
pin: pico:gpio23
pins: pico:gpio23
</code></pre></div>
<h4 id="configure-mpu-9520-compatibles-with-avr">Configure MPU-9520 Compatibles with AVR<a class="headerlink" href="#configure-mpu-9520-compatibles-with-avr" title="Permanent link">&para;</a></h4>
<p>AVR I2C will be set to 400000 by the mpu9250 option. Simply add the following to the printer.cfg:</p>
<div class="highlight"><pre><span></span><code>[mcu nano]
serial: /dev/serial/by-id/&lt;your nano&#39;s serial ID&gt;
[mpu9250]
i2c_mcu: nano
[resonance_tester]
accel_chip: mpu9250
probe_points:
100, 100, 20 # an example
</code></pre></div>
<p>Indítsd újra a Klippert a <code>RESTART</code> paranccsal.</p>
@@ -2067,8 +2213,8 @@ pin: pico:gpio23
<div class="highlight"><pre><span></span><code>Visszahívás: // adxl345 értékek (x, y, z): 470.719200, 941.438400, 9728.196800
</code></pre></div>
<p>If you get an error like <code>Invalid adxl345 id (got xx vs e5)</code>, where <code>xx</code> is some other ID, immediately try again. There's an issue with SPI initialization. If you still get an error, it is indicative of the connection problem with ADXL345, or the faulty sensor. Double-check the power, the wiring (that it matches the schematics, no wire is broken or loose, etc.), and soldering quality.</p>
<p><strong>Ha MPU-6000/9000 sorozatú gyorsulásmérőt használsz, és az <code>mpu-unknown</code>-ként jelenik meg, óvatosan használd! Ezek valószínűleg felújított chipek!</strong></p>
<p>Ha a következő hibát kapod: <code>Invalid adxl345 id (got xx vs e5)</code>, ahol <code>xx</code> egy másik azonosító, azonnal próbáld meg újra. Az SPI inicializálásával van probléma. Ha továbbra is hibát kapsz, az az ADXL345-tel való kapcsolódási problémára, vagy a hibás érzékelőre utal. Duplán ellenőrizd a tápellátást, a vezetékezést (hogy megfelel-e a kapcsolási rajzoknak, nincs-e törött vagy laza vezeték stb.) és a forrasztás minőségét.</p>
<p><strong>If you are using a MPU-9250 compatible accelerometer and it shows up as <code>mpu-unknown</code>, use with caution! They are probably refurbished chips!</strong></p>
<p>Ezután próbáld meg futtatni a <code>MEASURE_AXES_NOISE</code> parancsot az Octoprint-ben, így kaphatsz néhány alapszámot a gyorsulásmérő zajára a tengelyeken (valahol a ~1-100-as tartományban kell lennie). A túl magas tengelyzaj (pl. 1000 és több) az érzékelő problémáira, a tápellátásával kapcsolatos problémákra vagy a 3D nyomtató túl zajos, kiegyensúlyozatlan ventilátoraira utalhat.</p>
<h3 id="a-rezonanciak-merese_1">A rezonanciák mérése<a class="headerlink" href="#a-rezonanciak-merese_1" title="Permanent link">&para;</a></h3>
<p>Most már lefuttathatsz néhány valós tesztet. Futtasd a következő parancsot:</p>
@@ -2119,10 +2265,10 @@ max_accel: 3000 # nem haladhatja meg a becsült max_accel értéket az X és Y t
</code></pre></div>
<p>vagy választhatsz más konfigurációt is a generált diagramok alapján: a diagramokon a teljesítményspektrális sűrűség csúcsai megfelelnek a nyomtató rezonanciafrekvenciáinak.</p>
<p>Note that alternatively you can run the input shaper auto-calibration from Klipper <a href="#input-shaper-auto-calibration">directly</a>, which can be convenient, for example, for the input shaper <a href="#input-shaper-re-calibration">re-calibration</a>.</p>
<p>Megjegyzendő, hogy alternatívaként a bemeneti alakító automatikus kalibrációját a Klipperből <a href="#input-shaper-auto-calibration">közvetlenül</a> is futtathatod, ami például a bemeneti alakító <a href="#input-shaper-re-calibration">re-kalibrációjához</a> lehet hasznos.</p>
<h3 id="bed-slinger-nyomtatok">Bed-slinger nyomtatók<a class="headerlink" href="#bed-slinger-nyomtatok" title="Permanent link">&para;</a></h3>
<p>Ha a nyomtatód tárgyasztala Y tengelyen van, akkor meg kell változtatnod a gyorsulásmérő helyét az X és Y tengelyek mérései között: az X tengely rezonanciáit a nyomtatófejre szerelt gyorsulásmérővel, az Y tengely rezonanciáit pedig a tárgyasztalra szerelt gyorsulásmérővel kell mérned (a szokásos nyomtató beállítással).</p>
<p>Azonban két gyorsulásmérőt is csatlakoztathatsz egyszerre, bár ezeket különböző lapokhoz kell csatlakoztatni (mondjuk egy RPi és egy nyomtató MCU laphoz), vagy két különböző fizikai SPI interfészhez ugyanazon a lapon (ritkán elérhető). Ezután a következő módon lehet őket konfigurálni:</p>
<p>However, you can also connect two accelerometers simultaneously, though the ADXL345 must be connected to different boards (say, to an RPi and printer MCU board), or to two different physical SPI interfaces on the same board (rarely available). Then they can be configured in the following manner:</p>
<div class="highlight"><pre><span></span><code>[adxl345 hotend]
# Feltételezve, hogy a `hotend` chip egy RPi-hez van csatlakoztatva.
cs_pin: rpi:None
@@ -2138,6 +2284,25 @@ accel_chip_y: adxl345 bed
probe_points: ...
</code></pre></div>
<p>Two MPUs can share one I2C bus, but they <strong>cannot</strong> measure simultaneously as the 400kbit/s I2C bus is not fast enough. One must have its AD0 pin pulled-down to 0V (address 104) and the other its AD0 pin pulled-up to 3.3V (address 105):</p>
<div class="highlight"><pre><span></span><code>[mpu9250 hotend]
i2c_mcu: rpi
i2c_bus: i2c.1
i2c_address: 104 # This MPU has pin AD0 pulled low
[mpu9250 bed]
i2c_mcu: rpi
i2c_bus: i2c.1
i2c_address: 105 # This MPU has pin AD0 pulled high
[resonance_tester]
# Assuming the typical setup of the bed slinger printer
accel_chip_x: mpu9250 hotend
accel_chip_y: mpu9250 bed
probe_points: ...
</code></pre></div>
<p>[Test with each MPU individually before connecting both to the bus for easy debugging.]</p>
<p>Ekkor a <code>TEST_RESONANCES AXIS=X</code> és <code>TEST_RESONANCES AXIS=Y</code> parancsok a megfelelő gyorsulásmérőt fogják használni minden tengelyhez.</p>
<h3 id="max-simitas">Max simítás<a class="headerlink" href="#max-simitas" title="Permanent link">&para;</a></h3>
<p>Ne feledd, hogy a bemeneti formázó simítást hozhat létre az alkatrészekben. A <code>calibrate_shaper.py</code> szkript vagy <code>SHAPER_CALIBRATE</code> parancs által végrehajtott bemeneti formázó automatikus hangolása nem súlyosbítja a simítást, ugyanakkor megpróbálja minimalizálni az ebből eredő rezgéseket. Néha az alakformáló frekvencia optimálistól elmaradó választását hozhatja, vagy talán egyszerűen csak kevésbé simítja az alkatrészeket a nagyobb fennmaradó rezgések rovására. Ezekben az esetekben kérheted a bemeneti formázó maximális simításának korlátozását.</p>
@@ -2182,7 +2347,7 @@ Az ajánlott alakító 3hump_ei @ 72,6 Hz.
<div class="highlight"><pre><span></span><code>[resonance_tester]
accel_chip: ...
probe_points: ...
max_smoothing: 0.25 # egy példa
max_smoothing: 0.25 # egy példa
</code></pre></div>
<p>Ezután, ha a jövőben <a href="#bemeneti-formazo-ujrakalibralasa">újraindítod</a> a bemeneti alakító automatikus hangolását a <code>SHAPER_CALIBRATE</code> Klipper parancs segítségével, akkor a tárolt <code>max_smoothing</code> értéket fogja referenciaként használni.</p>
@@ -2220,7 +2385,7 @@ TEST_RESONANCES AXIS=0.866025404,-0.5 OUTPUT=raw_data
</code></pre></div>
<p>Ez lefuttatja a teljes tesztet mindkét tengelyre, és létrehozza a csv-kimenetet (<code>/tmp/calibration_data_*.csv</code> alapértelmezés szerint) a frekvenciaválaszról és a javasolt bemeneti alakítókról. Az Octoprint konzolon megkapod az egyes bemeneti alakítók javasolt frekvenciáit is, valamint azt, hogy melyik bemeneti alakítót ajánljuk a Te beállításodhoz. Például:</p>
<div class="highlight"><pre><span></span><code>A legjobb bemeneti alakító paraméterek kiszámítása az y tengelyhez
<div class="highlight"><pre><span></span><code>A legjobb bemeneti alakító paraméterek kiszámítása az Y tengelyhez
Beillesztett alakító &#39;zv&#39; frekvencia = 39,0 Hz (rezgések = 13,2%, simítás ~= 0,105)
A túl nagy simítás elkerülése érdekében a &#39;zv&#39;, javasolt max_accel &lt;= 5900 mm/sec^2
Alkalmazott alakító &#39;mzv&#39; frekvencia = 36,8 Hz (rezgések = 1,7%, simítás ~= 0,150)
@@ -2246,7 +2411,7 @@ Ajánlott shaper_type_y = mzv, shaper_freq_y = 36,8 Hz
<div class="highlight"><pre><span></span><code>SHAPER_CALIBRATE AXIS=X
</code></pre></div>
<p><strong>Warning!</strong> It is not advisable to run the shaper auto-calibration very frequently (e.g. before every print, or every day). In order to determine resonance frequencies, auto-calibration creates intensive vibrations on each of the axes. Generally, 3D printers are not designed to withstand a prolonged exposure to vibrations near the resonance frequencies. Doing so may increase wear of the printer components and reduce their lifespan. There is also an increased risk of some parts unscrewing or becoming loose. Always check that all parts of the printer (including the ones that may normally not move) are securely fixed in place after each auto-tuning.</p>
<p><strong>Figyelem!</strong> Nem tanácsos a formázógép automatikus kalibrációját nagyon gyakran futtatni (pl. minden nyomtatás előtt vagy minden nap). A rezonanciafrekvenciák meghatározása érdekében az automatikus kalibrálás intenzív rezgéseket hoz létre az egyes tengelyeken. A 3D nyomtatókat általában nem úgy tervezték, hogy a rezonanciafrekvenciákhoz közeli rezgéseknek tartósan ellenálljanak. Ez növelheti a nyomtató alkatrészeinek kopását és csökkentheti élettartamukat. Megnő a kockázata annak is, hogy egyes alkatrészek kicsavarodnak vagy meglazulnak. Minden egyes automatikus hangolás után mindig ellenőrizd, hogy a nyomtató minden alkatrésze (beleértve azokat is, amelyek normál esetben nem mozoghatnak) biztonságosan a helyén van-e rögzítve.</p>
<p>Továbbá a mérések zajossága miatt lehetséges, hogy a hangolási eredmények kissé eltérnek az egyes kalibrálási folyamatok között. Ennek ellenére nem várható, hogy a zaj túlságosan befolyásolja a nyomtatási minőséget. Mindazonáltal továbbra is tanácsos kétszer is ellenőrizni a javasolt paramétereket, és használat előtt nyomtatni néhány próbanyomatot, hogy megbizonyosodj arról, hogy azok megfelelőek.</p>
<h2 id="a-gyorsulasmero-adatainak-offline-feldolgozasa">A gyorsulásmérő adatainak offline feldolgozása<a class="headerlink" href="#a-gyorsulasmero-adatainak-offline-feldolgozasa" title="Permanent link">&para;</a></h2>
<p>Lehetőség van a nyers gyorsulásmérő adatok előállítására és offline feldolgozására (pl. egy központi gépen), például rezonanciák keresésére. Ehhez futtasd a következő parancsokat az Octoprint terminálon keresztül:</p>