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 top edge of the arduino should line up with the underside
41 of the holes closest to the edge of the deck.
42 on the arduino, there's a hole on the top left.
43 that hole should be mid-way between two of the holes in the
44 grid of holes on the deck.
45 put the arduino hole between the third and fourth holes
46 from the left side of the deck.]))
52 :title [fastening arduino to deck using #6-32x3/8\" screw]
53 (p [the "#6" part of "#6-32x3/8\"" is how big around the bolt is.
54 it is related to wire gauge.
55 bigger numbers mean larger screw.
56 smaller numbers means smaller screws.])
60 [in the motor assembly, there are #4-40x1.25\" screws.
61 are those fatter, thinner, or the same thickness as the
62 #6-32x3/8\" screws?]))])
63 (p [the "32" part is a measurement of how close the threads are to
65 this is related to the angle of the thread, which is also
67 it is a count of how many times the thread wraps around one
68 inch of the screw body.])
69 (p [the head is the flat part where some tool, like the alan
70 wrench, can exert force to spin the screw.])
73 (item [how many times will the thread wrap around one inch of
75 (item [what about 2 inches?
76 how many times will the thread wrap around two
77 inches of the screw body?]))]))
79 :title [fasten the arduino board to the deck]
80 (p [push the 6-32 screw into the deck from the underside and at the
81 same time, spin the 6-32 screw clockwise while looking
83 twist until the bottom of the screw is
84 about to stick out on the top side of the deck.])
85 (p [hold the arduino board flat to the deck and line up the arduino
86 hole so the screw can come up through it.
87 continue tightening the screw into the deck, spinning the same
89 tighten until the screw head touches the deck.
90 do not continue tightening after that.])
91 (p [the arduino should still be flat against the deck still, just
92 as it was before tightening the screw.]))
95 (p [does the arduino stay with the deck when the deck moves?
96 can the arduino board still rotate a few degrees?
97 warning, if you rotate the arduino board too much, you
98 will unscrew it from the deck and you'll have to screw it
100 rotating a few degrees should be ok.]))
102 :title [arduino board move relative to deck]
103 (p [without any screws, the arduino board can move independently of
105 (p [with the first screw, the arduino can rotate around one point
108 :title [second hole and screw])
110 :title [third and fourth hole and screw]))
114 :title [battery packs]
118 :title [deck attachment]))
126 :title [deck attachment]))
136 :title [deck placement]))
140 :title [deck placement])))
142 :title [wiring and software]
146 :title [software on computer]
152 :title [attach arduino and computer via cable])
154 :title [debugging common connection problems])
156 :title [arduino reset button]))
160 :title [breadboard connectivity])
164 :title [arduino headers])
166 :title [sound cm per microsecond at sea level]))
170 :title [breadboard power rail]
171 (p [power rail can provide power to more than one device.])))
175 :title [arduino digital output])
177 :title [quad half h bridge, aka motor controller])
179 :title [motor battery]))
183 :title [analogWrite]))
187 :title [arduino battery])
189 :title [off and on functions]))
193 :title [same wiring as untethered])
199 :title [determining speed]))
201 :title [stay on table]
207 :title [turn around]))))
209 ;; Copyright 2016 daniel watson
211 ;; This file is part of challenge-bot.
213 ;; challenge-bot is free software: you can redistribute it and/or modify
214 ;; it under the terms of the GNU Affero General Public License as
215 ;; published by the Free Software Foundation, either version 3 of the
216 ;; License, or (at your option) any later version.
218 ;; challenge-bot is distributed in the hope that it will be useful,
219 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
220 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
221 ;; GNU Affero General Public License for more details.
223 ;; You should have received a copy of the GNU Affero General Public
224 ;; License along with challenge-bot. If not, see
225 ;; <http://www.gnu.org/licenses/>.