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"
39 (image :file "arduino-to-deck/4-place-arduino-closeup.png"))
40 [the arduino should line up with the holes on the deck.
41 place the arduino's top edge along the underside of the
42 deck's holes closest to the edge of the deck.
43 on the arduino, there's a hole on the top left.
44 that hole should be mid-way between two of the holes in the
45 grid of holes on the deck.
46 put the arduino hole between the third and fourth holes
47 from the left side of the deck.]))
53 :title [fastening arduino to deck using #6-32x3/8\" screw]
54 (p [the "#6" part of "#6-32x3/8\"" is how big around the bolt is.
55 it is related to wire gauge.
56 bigger numbers mean larger screw.
57 smaller numbers means smaller screws.])
61 [in the motor assembly, there are #4-40x1.25\" screws.
62 are those fatter, thinner, or the same thickness as the
63 #6-32x3/8\" screws?]))])
64 (p [the "32" part is a measurement of how close the threads are to
66 this is related to the angle of the thread, which is also
68 it is a count of how many times the thread wraps around one
69 inch of the screw body.])
70 (p [the head is the flat part where some tool, like the alan
71 wrench, can exert force to spin the screw.])
74 (item [how many times will the thread wrap around one inch of
76 (item [what about 2 inches?
77 how many times will the thread wrap around two
78 inches of the screw body?]))]))
80 :title [fasten the arduino board to the deck]
81 (p [push the 6-32 screw into the deck from the underside and at the
82 same time, spin the 6-32 screw clockwise while looking
84 twist until the bottom of the screw is
85 about to stick out on the top side of the deck.])
86 (p [hold the arduino board flat to the deck and line up the arduino
87 hole so the screw can come up through it.
88 continue tightening the screw into the deck, spinning the same
90 tighten until the screw head touches the deck.
91 do not continue tightening after that.])
92 (p [the arduino should still be flat against the deck still, just
93 as it was before tightening the screw.]))
96 (p [does the arduino stay with the deck when the deck moves?
97 can the arduino board still rotate a few degrees?
98 warning, if you rotate the arduino board too much, you
99 will unscrew it from the deck and you'll have to screw it
101 rotating a few degrees should be ok.]))
103 :title [arduino board move relative to deck]
104 (p [without any screws, the arduino board can move independently of
106 (p [with the first screw, the arduino can rotate around one point
109 :title [second hole and screw])
111 :title [third and fourth hole and screw]))
115 :title [battery packs]
119 :title [deck attachment]))
127 :title [deck attachment]))
137 :title [deck placement]))
141 :title [deck placement])))
143 :title [wiring and software]
147 :title [software on computer]
153 :title [attach arduino and computer via cable])
155 :title [debugging common connection problems])
157 :title [arduino reset button]))
161 :title [breadboard connectivity])
165 :title [arduino headers])
167 :title [sound cm per microsecond at sea level]))
171 :title [breadboard power rail]
172 (p [power rail can provide power to more than one device.])))
176 :title [arduino digital output])
178 :title [quad half h bridge, aka motor controller])
180 :title [motor battery]))
184 :title [analogWrite]))
188 :title [arduino battery])
190 :title [off and on functions]))
194 :title [same wiring as untethered])
200 :title [determining speed]))
202 :title [stay on table]
208 :title [turn around]))))
210 ;; Copyright 2016 daniel watson
212 ;; This file is part of challenge-bot.
214 ;; challenge-bot is free software: you can redistribute it and/or modify
215 ;; it under the terms of the GNU Affero General Public License as
216 ;; published by the Free Software Foundation, either version 3 of the
217 ;; License, or (at your option) any later version.
219 ;; challenge-bot is distributed in the hope that it will be useful,
220 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
221 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
222 ;; GNU Affero General Public License for more details.
224 ;; You should have received a copy of the GNU Affero General Public
225 ;; License along with challenge-bot. If not, see
226 ;; <http://www.gnu.org/licenses/>.