Skip to content

Commit db9f0f6

Browse files
author
committed
Deployed 8f7c63d with MkDocs version: 1.6.1
1 parent 8f7c63d commit db9f0f6

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

BasicExercises/ledPattern/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ <h3 id="what-do-we-expect-to-see-from-the-demonstration">What do we expect to se
11261126
<h2 id="appendix-potino-code">Appendix: POT.INO Code</h2>
11271127
<p><a name="potInoCode"></a></p>
11281128
<div class="language-Arduino highlight"><span class="filename">POT.ino Arduino Code</span><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="c1">// Global Name Space</span>
1129-
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="kr">int</span><span class="w"> </span><span class="n">potAnalogPin</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"> </span><span class="c1">// FSR is connected to analog 0</span>
1129+
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="kr">int</span><span class="w"> </span><span class="n">potAnalogPin</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">5</span><span class="p">;</span><span class="w"> </span><span class="c1">// FSR is connected to analog 0</span>
11301130
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="kr">int</span><span class="w"> </span><span class="n">LEDpin</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">11</span><span class="p">;</span><span class="w"> </span><span class="c1">// connect Red LED to pin 11 (PWM pin)</span>
11311131
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="kr">int</span><span class="w"> </span><span class="n">potReading</span><span class="p">;</span><span class="w"> </span><span class="c1">// the analog reading from the FSR resistor divider</span>
11321132
</span><span id="__span-0-5"><a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="kr">int</span><span class="w"> </span><span class="n">LEDbrightness</span><span class="p">;</span>

RobotBuild/index.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,10 @@ <h2 id="introduction">Introduction</h2>
12411241
<p class="admonition-title">Note</p>
12421242
<p>Many of the pictures for this Mechanical Component Assembly section were taken during the prototyping phase of the system design and are of a slightly earlier version of the robot chassis. As a result, there may be slight differences with the robot chassis in your kit, but the describes in this documentation are all for the final chassis design.</p>
12431243
</div>
1244+
<div class="admonition info">
1245+
<p class="admonition-title">Info</p>
1246+
<p>For those of you that are not familliar with breadboard circuits, Sparkfun have in intersting article on <debughl><a href="https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard/" target="_blank">How to Use a Breadboard</a></debughl>, describing their use and construction.</p>
1247+
</div>
12441248
<h2 id="adding-the-mechanical-components-to-the-chassis">Adding the mechanical components to the chassis</h2>
12451249
<p>This section will discuss the assembly of the mechanical system, and <a href="#ElecConn" title="Electronic Component Layout and Connections">a later section</a> will discuss the assembly of the electronic circuitry.</p>
12461250
<figure>
@@ -1278,13 +1282,17 @@ <h3 id="attaching-the-fit0450-and-skinny-wheel">Attaching the FIT0450 and Skinny
12781282
<p><em><strong>Note:</strong> This video has no commentary</em></p>
12791283
<figcaption>Motor and wheel assembly video</figcaption>
12801284
</figure>
1285+
<div class="admonition note">
1286+
<p class="admonition-title">Note: Skinny Wheels May need drilling out</p>
1287+
<p>The M3 mounting hole on some of the skinny wheels is too small. This will need drilling out to 3mm. Please see one of the lab technical staff in the lab session if this is the case.</p>
1288+
</div>
12811289
<h3 id="attaching-the-moulded-plastic-wheels">Attaching the Moulded Plastic wheels</h3>
12821290
<div class="admonition note">
12831291
<p class="admonition-title">Do this Before Attaching The MG996 Servo</p>
12841292
<p>These wheels must be attached before the servo, because the servo obscures access to the screw heads for the left wheel.</p>
12851293
</div>
12861294
<h4 id="attaching-the-lefthand-moulded-plastic-wheel">Attaching the Lefthand Moulded Plastic Wheel</h4>
1287-
<p>The lefthand moulded plastic wheel is the wheel next to the servo, at the front of the robot, and should be attached first. To attach this wheel, you require an <problemhl>M3x20 bolt and an M3 nyloc nut</problemhl>. The moulded plastic wheels are attached to the lugs at the front of the robot chassis.</p>
1295+
<p>The lefthand moulded plastic wheel is the wheel next to the servo, at the front of the robot, and should be attached first. To attach this wheel, you require an M3x20 bolt and an M3 nyloc nut. The moulded plastic wheels are attached to the lugs at the front of the robot chassis.</p>
12881296
<p>The bolt for this wheel <strong>Must</strong> be pushed through from the between the lugs, with the head infront of the rectangular servo hole. This is to ensure that the servo hole is not obsured and an be inserted correctly.</p>
12891297
<p><debughl><a href="#nylocWheel1Vid">Fig 5</a></debughl> shows a short video showing assembly of the lefthand wheel beside the servo. (Note: This video was recorded for a previous version of the chassis using an M4x20 bolt, not the M3x20 that is neccessary for the newer chassises.)</p>
12901298
<figure>
@@ -1294,7 +1302,7 @@ <h4 id="attaching-the-lefthand-moulded-plastic-wheel">Attaching the Lefthand Mou
12941302
<figcaption>Video showing the attachment of the lefthand moulded plastic wheel beside the servo.</figcaption>
12951303
</figure>
12961304
<h4 id="attaching-the-righthand-moulded-plastic-wheel">Attaching the Righthand Moulded Plastic Wheel</h4>
1297-
<p>The righthand moulded plastic wheel is the wheel away from the servo, at the front of the robot, and should be inserted second. To attach this wheel, you require an <problemhl>M4x20 bolt and an M4 nyloc nut</problemhl>.The presence of the lefthand wheel makes screwing in the bolt difficult, if inserted from between the lugs - we advise inserting the screw from the outside of the lugs, with the bolt on the inside.</p>
1305+
<p>The righthand moulded plastic wheel is the wheel away from the servo, at the front of the robot, and should be inserted second. To attach this wheel, you require an M3x20 bolt and an M3 nyloc nut. The presence of the lefthand wheel makes screwing in the bolt difficult, if inserted from between the lugs - we advise inserting the screw from the outside of the lugs, with the bolt on the inside.</p>
12981306
<div class="admonition note">
12991307
<p class="admonition-title">Note on wheel screw tightness</p>
13001308
<p>When fastening the screws on the moulded plastic screws, ensure that you have sufficiently tightened the nyloc nut to prevent too much wobble in the wheel, but the wheel is still able to spin freely.</p>
@@ -1317,7 +1325,7 @@ <h3 id="attaching-the-mg996-servo">Attaching the MG996 Servo</h3>
13171325
<p class="admonition-title">Attach the moulded plastic wheels before the MG996 Servo</p>
13181326
<p>You must attach both plastic wheels before attaching the MG996 servo, otherwise, the MG996 servo bolts will obscure the placement of the moulded plastic wheel screw.</p>
13191327
</div>
1320-
<p>The MG996 servo is attached to the robot chassis using 4x M3x12 screws, as illustrated in <debughl><a href="#servoNuts">Fig 8</a></debughl>.</p>
1328+
<p>The MG996 servo is attached to the robot chassis using 4x M3x12 screws, as illustrated in <debughl><a href="#servoNuts">Fig 8</a></debughl>. The top screws obscure access to the bottom screws, so it is recomended that you fit the bottom screws before the top screws.</p>
13211329
<figure>
13221330
<a name="servoNuts"></a>
13231331
<a class="glightbox" href="../Images/Fixing%20screws%20for%20the%20MG996%20Servo.jpg" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="Fixing screws for the MG996 Servo" src="../Images/Fixing%20screws%20for%20the%20MG996%20Servo.jpg"></a>
@@ -1403,7 +1411,7 @@ <h3 id="arduino-and-external-power-supplies-lines">Arduino and External Power Su
14031411
<li>The +5V supply from the Arduino</li>
14041412
<li>The external +5V from the AC-DC Plug-in Power Supply.</li>
14051413
</ol>
1406-
<p><span style="font-weight:bolder;color:red;">UNDER NO CIRCUMSTANCE</span> should the +5V lines of these power supplied be connected together. You must, however, connect all the <abbr title="Electrical Ground or 0V">GND</abbr> lines of these power supplies, and other systems, to a common <abbr title="Electrical Ground or 0V">GND</abbr> net/node on your robot chassis to ensure that all the working from the same reference voltage.</p>
1414+
<p><span style="font-weight:bolder;color:red;">UNDER NO CIRCUMSTANCE</span> should the +5V line from the Arduino be connected to the External 5V line. You must, however, connect all the <abbr title="Electrical Ground or 0V">GND</abbr> lines of these power supplies, and other systems, to a common <abbr title="Electrical Ground or 0V">GND</abbr> net/node on your robot chassis to ensure that all the working from the same reference voltage.</p>
14071415
<p>The external +5V should only be connected to the V<sub>m</sub> connection of the motor drive board and the V+ power connections of any servo used on your system. The Arduino +5V should be used for the V<sub>cc</sub> connection of the motor drive board and any other connection requiring +5V, <span style="color:red;">which is not connected to the external +5V</span>.</p>
14081416
<div class="admonition danger">
14091417
<p class="admonition-title">Danger: You can destroy your Laptop motherboard if you get this wrong</p>
@@ -1602,9 +1610,9 @@ <h3 id="circuit-layout-for-the-dc-motor-exercise">Circuit Layout for the DC Moto
16021610
<tr> <td>AI2</td><td>Channel A Bridge Configuration Input 2</td><td>N/C</td> </tr>
16031611
<tr> <td>AI1</td><td>Channel A Bridge Configuration Input 1</td><td>N/C</td> </tr>
16041612
<tr> <td>Standby</td><td>Driver Chip Standby Signal</td><td>Arduino +5V</td> </tr>
1605-
<tr> <td>BI1</td><td>Channel B Bridge Configuration Input 1</td><td>Arduino DIO 8</td> </tr>
1606-
<tr> <td>BI2</td><td>Channel B Bridge Configuration Input 2</td><td>Arduino DIO 7</td> </tr>
1607-
<tr> <td>PWMB</td><td>Channel B PWM Signal</td><td>Arduino DIO 5</td> </tr>
1613+
<tr> <td>BI1</td><td>Channel B Bridge Configuration Input 1</td><td>Arduino DIO 7</td> </tr>
1614+
<tr> <td>BI2</td><td>Channel B Bridge Configuration Input 2</td><td>Arduino DIO 8</td> </tr>
1615+
<tr> <td>PWMB</td><td>Channel B PWM Signal</td><td>Arduino DIO 9</td> </tr>
16081616
<tr> <td>GND</td><td>Ground</td><td>Power Supply GND</td> </tr>
16091617
</tbody>
16101618
<caption>Pin connections to the TB6612FG motor driver board.</caption>
@@ -1651,7 +1659,7 @@ <h3 id="the-12-way-header-connections">The 12-Way Header Connections</h3>
16511659
<tr> <td>3</td><td>Encoder A Signal</td><td>Arduino DIO 3</td> </tr>
16521660
<tr> <td>4</td><td>Encoder B Signal</td><td>Arduino DIO 2</td> </tr>
16531661
<tr> <td>5</td><td>Encoder GND</td><td>GND</td> </tr>
1654-
<tr> <td>6</td><td>Encoder +5V</td><td>Arduino +5V</td> </tr>
1662+
<tr> <td>6</td><td>Encoder +5V</td><td>External +5V</td> </tr>
16551663
<tr> <td>7</td><td>Servo Signal</td><td>Arduino DIO 6</td> </tr>
16561664
<tr> <td>8</td><td>Servo +5V</td><td>External +5V</td> </tr>
16571665
<tr> <td>9</td><td>Servo GND</td><td>GND</td> </tr>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)