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