Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
catvw committed Mar 7, 2024
1 parent dd573a8 commit 104b048
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 516 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">[title better; cat's notes on how to do this]</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li><li class="chapter-item expanded "><a href="programming-her.html"><strong aria-hidden="true">4.</strong> Programming Her</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">hey does this work?</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down
76 changes: 1 addition & 75 deletions building-her.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">[title better; cat's notes on how to do this]</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html" class="active"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li><li class="chapter-item expanded "><a href="programming-her.html"><strong aria-hidden="true">4.</strong> Programming Her</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">hey does this work?</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html" class="active"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down Expand Up @@ -174,80 +174,6 @@ <h1 class="menu-title">Carrie Documentation</h1>
<div id="content" class="content">
<main>
<h1 id="building-her"><a class="header" href="#building-her">Building Her</a></h1>
<p>For mechanical notes... ask Jeannette.</p>
<h2 id="rear-motors"><a class="header" href="#rear-motors">Rear Motors</a></h2>
<p>Ensure the rear motors are connected to their motor controller with opposite
polarity (i.e., ensure the black lead of one motor is connected to the red lead
of the other), and connect the joined leads to the output of the motor
controller. The polarity (if wrong) will be corrected in a later step. One way
to do this neatly is to have a splitter after the motor controller (input on
the bottom, output on the right):</p>
<p><img src="./images/rear-motor-hookup.jpg" alt="rear motor hookup" /></p>
<h2 id="steering-motor"><a class="header" href="#steering-motor">Steering Motor</a></h2>
<p>The steering motor has six wires coming out of it -- two for power, four for
the encoder control. Those hook up to the Pico as follows (indexed by color):</p>
<div class="table-wrapper"><table><thead><tr><th>Color</th><th>Function</th><th>Connect To</th></tr></thead><tbody>
<tr><td>red</td><td>motor power</td><td>motor controller output</td></tr>
<tr><td>black</td><td>motor power</td><td>motor controller output</td></tr>
<tr><td>blue</td><td>encoder power</td><td>+3.3 V</td></tr>
<tr><td>green</td><td>encoder ground</td><td>pico ground</td></tr>
<tr><td>yellow</td><td>encoder signal</td><td>pico pin 2</td></tr>
<tr><td>white</td><td>encoder signal</td><td>pico pin 3</td></tr>
</tbody></table>
</div>
<h2 id="motor-controllers"><a class="header" href="#motor-controllers">Motor Controllers</a></h2>
<p>Connections for the motor drivers will be referenced to... the following photo,
as it's much easier to talk about colors than about pin numbers when you can't
actually see the pin numbers written on the board.</p>
<p><strong>Note:</strong> the right side of the green terminal block connects to controller
power (red positive, black ground), and the left side of the block is the
output.</p>
<p><img src="./images/example-motor-controller.jpg" alt="example motor controller" /></p>
<h3 id="steering-motor-controller"><a class="header" href="#steering-motor-controller">Steering Motor Controller</a></h3>
<div class="table-wrapper"><table><thead><tr><th>Color</th><th>Function</th><th>Connect To</th></tr></thead><tbody>
<tr><td>red</td><td>logic power</td><td>+5 V</td></tr>
<tr><td>brown</td><td>logic ground</td><td>pico ground</td></tr>
<tr><td>orange</td><td>enable</td><td>pico pin 4</td></tr>
<tr><td>yellow</td><td>~enable</td><td>pico ground</td></tr>
<tr><td>green</td><td>polarity</td><td>pico pin 5</td></tr>
<tr><td>blue</td><td>polarity</td><td>pico pin 6</td></tr>
</tbody></table>
</div>
<h3 id="rear-motor-controller"><a class="header" href="#rear-motor-controller">Rear Motor Controller</a></h3>
<div class="table-wrapper"><table><thead><tr><th>Color</th><th>Function</th><th>Connect To</th></tr></thead><tbody>
<tr><td>red</td><td>logic power</td><td>+5 V</td></tr>
<tr><td>brown</td><td>logic ground</td><td>pico ground</td></tr>
<tr><td>orange</td><td>enable</td><td>pico pin 11</td></tr>
<tr><td>yellow</td><td>~enable</td><td>pico ground</td></tr>
<tr><td>green</td><td>polarity</td><td>pico pin 12</td></tr>
<tr><td>blue</td><td>polarity</td><td>pico pin 13</td></tr>
</tbody></table>
</div>
<h2 id="rear-encoders"><a class="header" href="#rear-encoders">Rear Encoders</a></h2>
<p>The rear encoders each have four wires coming out of them, which connect as
follows.</p>
<h3 id="right-rear-encoder"><a class="header" href="#right-rear-encoder">Right Rear Encoder</a></h3>
<div class="table-wrapper"><table><thead><tr><th>Color</th><th>Function</th><th>Connect To</th></tr></thead><tbody>
<tr><td>red</td><td>encoder power</td><td>+3.3 V</td></tr>
<tr><td>black</td><td>encoder ground</td><td>pico ground</td></tr>
<tr><td>green</td><td>encoder output</td><td>pico pin 7</td></tr>
<tr><td>white</td><td>encoder output</td><td>pico pin 8</td></tr>
</tbody></table>
</div>
<h3 id="left-rear-encoder"><a class="header" href="#left-rear-encoder">Left Rear Encoder</a></h3>
<div class="table-wrapper"><table><thead><tr><th>Color</th><th>Function</th><th>Connect To</th></tr></thead><tbody>
<tr><td>red</td><td>encoder power</td><td>+3.3 V</td></tr>
<tr><td>black</td><td>encoder ground</td><td>pico ground</td></tr>
<tr><td>green</td><td>encoder output</td><td>pico pin 9</td></tr>
<tr><td>white</td><td>encoder output</td><td>pico pin 10</td></tr>
</tbody></table>
</div>
<h2 id="single-wire-debug"><a class="header" href="#single-wire-debug">Single Wire Debug</a></h2>
<p>These connections are hard to describe, so just take a look at the following
pictures. Note that the order of the wires is flipped between the two, and that
the wires are plugged into the Pi on outside GPIO pins 9, 10, and 11.</p>
<p><img src="./images/pico-debug-wires.jpg" alt="pico debug wires" /></p>
<p><img src="./images/pi-debug-wires.jpg" alt="pi debug wires" /></p>

</main>

Expand Down
Binary file removed images/example-motor-controller.jpg
Binary file not shown.
Binary file removed images/pi-debug-wires.jpg
Binary file not shown.
Binary file removed images/pico-debug-wires.jpg
Binary file not shown.
Binary file removed images/rear-motor-hookup.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html" class="active">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">[title better; cat's notes on how to do this]</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li><li class="chapter-item expanded "><a href="programming-her.html"><strong aria-hidden="true">4.</strong> Programming Her</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html" class="active">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">hey does this work?</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down
2 changes: 1 addition & 1 deletion introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html" class="active">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">[title better; cat's notes on how to do this]</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li><li class="chapter-item expanded "><a href="programming-her.html"><strong aria-hidden="true">4.</strong> Programming Her</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><a href="introduction.html" class="active">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">hey does this work?</li><li class="chapter-item expanded "><a href="where-to-start.html"><strong aria-hidden="true">1.</strong> Where to Start</a></li><li class="chapter-item expanded "><a href="building-her.html"><strong aria-hidden="true">2.</strong> Building Her</a></li><li class="chapter-item expanded "><a href="tools.html"><strong aria-hidden="true">3.</strong> Tools</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down
Loading

0 comments on commit 104b048

Please sign in to comment.