Skip to content

Commit

Permalink
deploy: 23445f7
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensElflein committed Jun 11, 2024
1 parent f08f89c commit 40801e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/knowledge-base/configure-xesc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<label for=m-docstroubleshootingraspberry-pi-check><a href=/docs/troubleshooting/raspberry-pi/ title="Raspberry Pi 4" class="align-left pl-0 td-sidebar-link td-sidebar-link__section" id=m-docstroubleshootingraspberry-pi><span>Raspberry Pi</span></a></label></li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id=m-docstroubleshootingwifi-li><input type=checkbox id=m-docstroubleshootingwifi-check>
<label for=m-docstroubleshootingwifi-check><a href=/docs/troubleshooting/wifi/ title="Troubleshoot Wi-Fi" class="align-left pl-0 td-sidebar-link td-sidebar-link__section" id=m-docstroubleshootingwifi><span>Wi-Fi</span></a></label></li></ul></li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id=m-docslinks-li><input type=checkbox id=m-docslinks-check>
<label for=m-docslinks-check><a href=/docs/links/ class="align-left pl-0 td-sidebar-link td-sidebar-link__section" id=m-docslinks><span>Links</span></a></label></li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id=m-docslegal-li><input type=checkbox id=m-docslegal-check>
<label for=m-docslegal-check><a href=/docs/legal/ class="align-left pl-0 td-sidebar-link td-sidebar-link__section" id=m-docslegal><span>Legal</span></a></label></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-10 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a href=/docs/>Documentation</a></li><li class=breadcrumb-item><a href=/docs/knowledge-base/>Knowledge Base</a></li><li class="breadcrumb-item active" aria-current=page><a href=/docs/knowledge-base/configure-xesc/ aria-disabled=true class="btn-link disabled">Configuring xESC</a></li></ol></nav><div class=td-content><h1>Configuring xESC</h1><div class=lead>Configuring xESC in the mower</div><header class=article-meta></header><p>If you bought the kit the xESC are preconfigured.</p><table><thead><tr><th>device</th><th>xESC</th></tr></thead><tbody><tr><td>/dev/ttyAMA2</td><td>drive motor</td></tr><tr><td>/dev/ttyAMA3</td><td>mow motor</td></tr><tr><td>/dev/ttyAMA4</td><td>drive motor</td></tr></tbody></table><p>the config of the mow motor differs from the config of the drive motors, the configs of the two drive motors are equal</p><p>Configurations for each xESC can be found at <a href=https://github.com/ClemensElflein/OpenMower/tree/main/configs/xESC>https://github.com/ClemensElflein/OpenMower/tree/main/configs/xESC</a></p><h2 id=configuring-the-xesc>Configuring the xESC</h2><p>Prereqs:</p><ul><li>VESC Tool (<a href=https://vesc-project.com/vesc_tool>https://vesc-project.com/vesc_tool</a>)</li></ul><p>Connecting to the xESC:</p><ol><li><code>systemctl stop openmower</code></li><li><code>socat tcp-listen:65102,reuseaddr,fork file:/dev/ttyAMAX,raw</code> &lt;- replace X with devicenumber</li><li>start VESC Tool</li><li>Go to Connection>TCP and insert openmower IP, leave port at 65102</li><li>Connect</li></ol><p>To change xESC just ctrl+c in the openmower terminal replacing ttyAMA with a new device number and reconnect in VESC Tool.</p><p>Loading XML motor configuration:</p><ol><li>Download XML configuration files from repo</li><li>File>Load Motor Configuration XML</li><li>Select file named motor for the xESC you connected to</li><li>On the right toolbar click &ldquo;Write Motor configuration&rdquo; (the M with a arrow pointing down)</li></ol><p>Loading XML app configuration:</p><ol><li>Download XML configuration files from repo</li><li>File>Load App Configuration XML</li><li>Select file named app for the xESC you connected to</li><li>On the right toolbar click &ldquo;Write App configuration&rdquo; (the A with a arrow pointing down)</li></ol><p>Finally ctrl+c in the openmower terminal and start openmower service again. <code>systemctl start openmower</code></p><div class=section-index></div><div class="text-muted mt-5 pt-3 border-top">Last modified April 2, 2024: <a href=https://github.com/ClemensElflein/openmower.de/commit/9b16185b18110ca04dab9318330571dd83bc97ac>writeup for configuring xesc (#26) (9b16185)</a></div></div></main></div></div><footer class="bg-dark py-3 row d-print-none"><div class="container-fluid mx-sm-5"><div class=row><div class="col-6 col-sm-4 text-xs-center order-sm-2"><div class="td-page-meta ml-2 pb-1 pt-2 mb-0"><a href=https://github.com/ClemensElflein/openmower.de/tree/main/content/en/docs/Knowledge-Base/configure-xesc/_index.md class=td-page-meta--view target=_blank rel=noopener><i class="fa-solid fa-file-lines fa-fw"></i> View page source</a>
<label for=m-docslegal-check><a href=/docs/legal/ class="align-left pl-0 td-sidebar-link td-sidebar-link__section" id=m-docslegal><span>Legal</span></a></label></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-10 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a href=/docs/>Documentation</a></li><li class=breadcrumb-item><a href=/docs/knowledge-base/>Knowledge Base</a></li><li class="breadcrumb-item active" aria-current=page><a href=/docs/knowledge-base/configure-xesc/ aria-disabled=true class="btn-link disabled">Configuring xESC</a></li></ol></nav><div class=td-content><h1>Configuring xESC</h1><div class=lead>Configuring xESC in the mower</div><header class=article-meta></header><p>If you bought the kit the xESC are preconfigured with <a href=https://github.com/vedderb/bldc>VESC firmware</a> 5.x"</p><table><thead><tr><th>device</th><th>xESC</th></tr></thead><tbody><tr><td>/dev/ttyAMA2</td><td>drive motor</td></tr><tr><td>/dev/ttyAMA3</td><td>mow motor</td></tr><tr><td>/dev/ttyAMA4</td><td>drive motor</td></tr></tbody></table><p>the config of the mow motor differs from the config of the drive motors, the configs of the two drive motors are equal</p><p>Configurations for each xESC can be found at <a href=https://github.com/ClemensElflein/OpenMower/tree/main/configs/xESC>https://github.com/ClemensElflein/OpenMower/tree/main/configs/xESC</a></p><h2 id=configuring-the-xesc>Configuring the xESC</h2><p>Prereqs:</p><ul><li>VESC Tool (<a href=https://vesc-project.com/vesc_tool>https://vesc-project.com/vesc_tool</a>)</li></ul><p>Connecting to the xESC:</p><ol><li><code>systemctl stop openmower</code></li><li><code>socat tcp-listen:65102,reuseaddr,fork file:/dev/ttyAMAX,raw</code> &lt;- replace X with devicenumber</li><li>start VESC Tool</li><li>Go to Connection>TCP and insert openmower IP, leave port at 65102</li><li>Connect</li></ol><p>To change xESC just ctrl+c in the openmower terminal replacing ttyAMA with a new device number and reconnect in VESC Tool.</p><p>Loading XML motor configuration:</p><ol><li>Download XML configuration files from repo</li><li>File>Load Motor Configuration XML</li><li>Select file named motor for the xESC you connected to</li><li>On the right toolbar click &ldquo;Write Motor configuration&rdquo; (the M with a arrow pointing down)</li></ol><p>Loading XML app configuration:</p><ol><li>Download XML configuration files from repo</li><li>File>Load App Configuration XML</li><li>Select file named app for the xESC you connected to</li><li>On the right toolbar click &ldquo;Write App configuration&rdquo; (the A with a arrow pointing down)</li></ol><p>Finally ctrl+c in the openmower terminal and start openmower service again. <code>systemctl start openmower</code></p><div class=section-index></div><div class="text-muted mt-5 pt-3 border-top">Last modified June 11, 2024: <a href=https://github.com/ClemensElflein/openmower.de/commit/23445f759d191b83292cd1dc01f6e718a99cb991>feat: mention vesc FW version on the kit (#35) (23445f7)</a></div></div></main></div></div><footer class="bg-dark py-3 row d-print-none"><div class="container-fluid mx-sm-5"><div class=row><div class="col-6 col-sm-4 text-xs-center order-sm-2"><div class="td-page-meta ml-2 pb-1 pt-2 mb-0"><a href=https://github.com/ClemensElflein/openmower.de/tree/main/content/en/docs/Knowledge-Base/configure-xesc/_index.md class=td-page-meta--view target=_blank rel=noopener><i class="fa-solid fa-file-lines fa-fw"></i> View page source</a>
<a href=https://github.com/ClemensElflein/openmower.de/edit/main/content/en/docs/Knowledge-Base/configure-xesc/_index.md class=td-page-meta--edit target=_blank rel=noopener><i class="fa-solid fa-pen-to-square fa-fw"></i> Edit this page</a>
<a href="https://github.com/ClemensElflein/openmower.de/new/main/content/en/docs/Knowledge-Base/configure-xesc/_index.md?filename=change-me.md&amp;value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+the+page+%28weight+controls+how+its+ordered+amongst+other+pages+in+the+same+directory%3B+lowest+number+first%29.%0A%2A+Add+a+good+commit+message+at+the+bottom+of+the+page+%28%3C80+characters%3B+use+the+extended+description+field+for+more+detail%29.%0A%2A+Create+a+new+branch+so+you+can+preview+your+new+file+and+request+a+review+via+Pull+Request.%0A" class=td-page-meta--child target=_blank rel=noopener><i class="fa-solid fa-pen-to-square fa-fw"></i> Create child page</a>
<a href="https://github.com/ClemensElflein/openmower.de/issues/new?title=Configuring%20xESC" class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid fa-list-check fa-fw"></i> Create documentation issue</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/knowledge-base/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ are plugged into your mainboard. Then connect the Raspberry Pi Pico with a micro
Pico to reboot. The process takes about 10 seconds.&lt;/p>
&lt;h2 id="step-4-done-">Step 4: Done 🎉&lt;/h2>
&lt;p>Your mainboard now has the latest firmware and is good to go. You can plug all modules into the mainboard now.&lt;/p></description></item><item><title>Docs: Configuring xESC</title><link>/docs/knowledge-base/configure-xesc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/knowledge-base/configure-xesc/</guid><description>
&lt;p>If you bought the kit the xESC are preconfigured.&lt;/p>
&lt;p>If you bought the kit the xESC are preconfigured with &lt;a href="https://github.com/vedderb/bldc">VESC firmware&lt;/a> 5.x&amp;quot;&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
Expand Down
Loading

0 comments on commit 40801e4

Please sign in to comment.