2 ;; copyright info at bottom
9 :title [arduino to deck]
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"))
16 (item [medical kit with bandages])
17 (item [safety goggles])
18 (item [drill bit \(we will determine size in a moment\)])
23 (item [#6-32x3/8\", four of them]))]))
27 :title [choosing drill bit])
29 :title [inserting drill bit])
31 :title [holding drill])
33 :title [arduino placement]
34 (p [the arduino should be placed as shown in this picture.]
35 (figure :legend "arduino to deck / place arduino"
36 (image :file "arduino-to-deck/3-place-arduino.png"))
38 (figure :legend "arduino to deck / place arduino closeup"
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
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.])
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
68 this is related to the angle of the thread, which is also
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.])
76 (item [how many times will the thread wrap around one inch of
78 (item [what about 2 inches?
79 how many times will the thread wrap around two
80 inches of the screw body?]))]))
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
86 twist until the bottom of the screw is
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
89 hole so the screw can come up through it.
90 continue tightening the screw into the deck, spinning the same
92 tighten until the screw head touches the deck.
93 do not continue tightening after that.])
94 (p [the arduino should still be flat against the deck still, just
95 as it was before tightening the screw.]))
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
103 rotating a few degrees should be ok.]))
105 :title [arduino board move relative to deck]
106 (p [without any screws, the arduino board can move independently of
108 (p [with the first screw, the arduino can rotate around one point
111 :title [second hole and screw])
113 :title [third and fourth hole and screw]))
117 :title [battery packs]
121 :title [deck attachment]))
129 :title [deck attachment]))
139 :title [deck placement]))
143 :title [deck placement])))
145 :title [wiring and software]
149 :title [software on computer]
155 :title [attach arduino and computer via cable])
157 :title [debugging common connection problems])
159 :title [arduino reset button]))
163 :title [breadboard connectivity])
167 :title [arduino headers])
169 :title [sound cm per microsecond at sea level]))
173 :title [breadboard power rail]
174 (p [power rail can provide power to more than one device.])))
178 :title [arduino digital output])
180 :title [quad half h bridge, aka motor controller])
182 :title [motor battery]))
186 :title [analogWrite]))
190 :title [arduino battery])
192 :title [off and on functions]))
196 :title [same wiring as untethered])
202 :title [determining speed]))
204 :title [stay on table]
210 :title [turn around]))))
212 ;; Copyright 2016 daniel watson
214 ;; This file is part of challenge-bot.
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.
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.
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/>.