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