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