| 1 | ;; tldr; AGPLv3+ |
| 2 | ;; copyright info at bottom |
| 3 | |
| 4 | (document |
| 5 | :title [challenge-bot] |
| 6 | (chapter |
| 7 | :title [mechanical] |
| 8 | (section |
| 9 | :title [arduino] |
| 10 | (subsection |
| 11 | :title [arduino placement]) |
| 12 | (subsection |
| 13 | :title [first hole] |
| 14 | (subsubsection |
| 15 | :title [choosing drill bit]) |
| 16 | (subsubsection |
| 17 | :title [inserting drill bit]) |
| 18 | (subsubsection |
| 19 | :title [holding drill]) |
| 20 | (subsubsection |
| 21 | :title [drilling])) |
| 22 | (subsection |
| 23 | :title [first screw] |
| 24 | (subsubsection |
| 25 | :title [fastening arduino to deck using ,(it [#6-32x3/8\"]) screw] |
| 26 | (p [the ",(it [#6])" part of ",(it [#6-32x3/8\"])" is how big |
| 27 | around the bolt is. it is related to wire gauge. bigger |
| 28 | numbers mean larger screw. smaller numbers means smaller |
| 29 | screws.]) |
| 30 | (p [,(bold [check]) |
| 31 | ,(itemize |
| 32 | (item |
| 33 | [in the motor assembly, there are ,(it [#4-40x1.25\"]) |
| 34 | screws. are those fatter, thinner, or the same |
| 35 | thickness as the ,(it [#6-32x3/8\"]) screws?]))]) |
| 36 | (p [the ,(it [32]) part is a measurement of how close the threads |
| 37 | are to each other. this is related to the angle of the |
| 38 | thread, which is also called ,(it [pitch]). it is a count |
| 39 | of how many times the thread wraps around one inch of the |
| 40 | screw body.]) |
| 41 | (p [the ,(it [head]) is the flat part where some tool, like the |
| 42 | alan wrench, can exert force to spin the screw.]) |
| 43 | (p [,(bold [check]) |
| 44 | ,(itemize |
| 45 | (item [how many times will the thread wrap around the |
| 46 | one inch of the screw body?]) |
| 47 | (item [what about 2 inches?]))])) |
| 48 | (subsubsection |
| 49 | :title [fasten the arduino board to the deck] |
| 50 | (p [push the 6-32 screw into the deck from the underside and at the |
| 51 | same time, spin the 6-32 screw clockwise while looking |
| 52 | down on its head. twist until the bottom of the screw is |
| 53 | about to stick out on the top side of the deck.]) |
| 54 | (p [hold the arduino board flat to the deck and line up the arduino |
| 55 | hole so the screw can come up through it. continue |
| 56 | tightening the screw into the deck, spinning the same |
| 57 | direction as before. tighten until the screw head touches |
| 58 | the deck. do not continue tightening]) |
| 59 | (p [the arduino should still be flat against the deck still, just |
| 60 | as it was before tightening the screw.])) |
| 61 | (subsubsection |
| 62 | :title [assessment] |
| 63 | (p [does the arduino stay with the deck when the deck moves? |
| 64 | can the arduino board still rotate a few degrees? |
| 65 | warning, if you rotate the arduino board too much, you |
| 66 | will unscrew it from the deck and you'll have to screw it |
| 67 | back in. rotating a few degrees should be ok.])) |
| 68 | (subsubsection |
| 69 | :title [arduino board move relative to deck] |
| 70 | (p [without any screws, the arduino board can move independently of |
| 71 | the deck.]) |
| 72 | (p [with the first screw, the arduino can rotate around one point |
| 73 | on the deck.]))) |
| 74 | (subsection |
| 75 | :title [second hole and screw]) |
| 76 | (subsection |
| 77 | :title [third and fourth hole and screw])) |
| 78 | (section |
| 79 | :title [breadboard]) |
| 80 | (section |
| 81 | :title [battery packs] |
| 82 | (subsection |
| 83 | :title [leads]) |
| 84 | (subsection |
| 85 | :title [deck attachment])) |
| 86 | (section |
| 87 | :title [motors] |
| 88 | (subsection |
| 89 | :title [leads]) |
| 90 | (subsection |
| 91 | :title [mount]) |
| 92 | (subsection |
| 93 | :title [deck attachment])) |
| 94 | (section |
| 95 | :title [wheels] |
| 96 | (subsection |
| 97 | :title [tread]) |
| 98 | (subsection |
| 99 | :title [motor])) |
| 100 | (section |
| 101 | :title [caster] |
| 102 | (subsection |
| 103 | :title [deck placement])) |
| 104 | (section |
| 105 | :title [sonars] |
| 106 | (subsection |
| 107 | :title [deck placement]))) |
| 108 | (chapter |
| 109 | :title [wiring and software] |
| 110 | (section |
| 111 | :title [serial] |
| 112 | (subsection |
| 113 | :title [software on computer] |
| 114 | (subsubsection |
| 115 | :title [arduino]) |
| 116 | (subsubsection |
| 117 | :title [fritzing])) |
| 118 | (subsection |
| 119 | :title [attach arduino and computer via cable]) |
| 120 | (subsection |
| 121 | :title [debugging common connection problems]) |
| 122 | (subsection |
| 123 | :title [arduino reset button])) |
| 124 | (section |
| 125 | :title [left sonar] |
| 126 | (subsection |
| 127 | :title [breadboard connectivity]) |
| 128 | (subsection |
| 129 | :title [cable]) |
| 130 | (subsection |
| 131 | :title [arduino headers]) |
| 132 | (subsection |
| 133 | :title [sound cm per microsecond at sea level])) |
| 134 | (section |
| 135 | :title [both sonars] |
| 136 | (subsection |
| 137 | :title [breadboard power rail] |
| 138 | (p [power rail can provide power to more than one device.]))) |
| 139 | (section |
| 140 | :title [left motor] |
| 141 | (subsection |
| 142 | :title [arduino digital output]) |
| 143 | (subsection |
| 144 | :title [quad half h bridge, aka motor controller]) |
| 145 | (subsection |
| 146 | :title [motor battery])) |
| 147 | (section |
| 148 | :title [both motors] |
| 149 | (subsection |
| 150 | :title [analogWrite])) |
| 151 | (section |
| 152 | :title [untethered] |
| 153 | (subsection |
| 154 | :title [arduino battery]) |
| 155 | (subsection |
| 156 | :title [off and on functions])) |
| 157 | (section |
| 158 | :title [follow] |
| 159 | (subsection |
| 160 | :title [same wiring as untethered]) |
| 161 | (subsection |
| 162 | :title [set motor]) |
| 163 | (subsection |
| 164 | :title [go]) |
| 165 | (subsection |
| 166 | :title [determining speed])) |
| 167 | (section |
| 168 | :title [stay on table] |
| 169 | (subsection |
| 170 | :title [stop]) |
| 171 | (subsection |
| 172 | :title [backup]) |
| 173 | (subsection |
| 174 | :title [turn around])))) |
| 175 | |
| 176 | ;; Copyright 2016 daniel watson |
| 177 | |
| 178 | ;; This file is part of challenge-bot. |
| 179 | |
| 180 | ;; challenge-bot is free software: you can redistribute it and/or modify |
| 181 | ;; it under the terms of the GNU Affero General Public License as |
| 182 | ;; published by the Free Software Foundation, either version 3 of the |
| 183 | ;; License, or (at your option) any later version. |
| 184 | |
| 185 | ;; challenge-bot is distributed in the hope that it will be useful, |
| 186 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 187 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 188 | ;; GNU Affero General Public License for more details. |
| 189 | |
| 190 | ;; You should have received a copy of the GNU Affero General Public |
| 191 | ;; License along with challenge-bot. If not, see |
| 192 | ;; <http://www.gnu.org/licenses/>. |