define wiring in separate file
[challenge-bot] / instructions.org
1 * build robot
2 ** attach arduino to deck
3 *** TODO: redo video with safety goggles
4 #+BEGIN_HTML
5 <iframe width="560" height="315" src="https://www.youtube.com/embed/fCKTvFn4hdU" frameborder="0" allowfullscreen></iframe>
6 #+END_HTML
7 [[https://youtu.be/fCKTvFn4hdU][attach arduino to deck video]]
8 *** keep in mind a few things while drilling holes
9 **** wear safety goggles
10 **** don't put new holes near existing holes
11 **** orient the arduino with usb toward front left corner of deck
12 **** center arduino left-right wise
13 **** a little back from the front most to make room to plug in usb
14 ** attach breadboard to deck
15 #+BEGIN_HTML
16 <iframe width="560" height="315" src="https://www.youtube.com/embed/JfFI6C1OLig" frameborder="0" allowfullscreen></iframe>
17 #+END_HTML
18 [[https://youtu.be/JfFI6C1OLig][attach breadboard to deck video]]
19 make sure the blue line is close to the arduino header,
20 and the h-bridge is to the right
21 ** build motor assembly
22 *** solder motor leads
23 **** TODO: redo video to include electrical taping under wires
24 #+BEGIN_HTML
25 <iframe width="560" height="315" src="https://www.youtube.com/embed/tcC-Al8zxlM" frameborder="0" allowfullscreen></iframe>
26 #+END_HTML
27 [[https://youtu.be/tcC-Al8zxlM][solder motor leads video]]
28 **** put electrical tape under wires (not shown in video)
29 **** zip tie wires to motor body
30 *** test the motor lead soldering
31 #+BEGIN_HTML
32 <iframe width="560" height="315" src="https://www.youtube.com/embed/HPwlmW3UkqQ" frameborder="0" allowfullscreen></iframe>
33 #+END_HTML
34 [[https://youtu.be/HPwlmW3UkqQ][motor test video]]
35 *** attach motor to motor mount
36 #+BEGIN_HTML
37 <iframe width="560" height="315" src="https://www.youtube.com/embed/Tgndz5hH8tU" frameborder="0" allowfullscreen></iframe>
38 #+END_HTML
39 [[https://youtu.be/Tgndz5hH8tU][motor to motor mount video]]
40 ** attach motor assembly to deck
41 #+BEGIN_HTML
42 <iframe width="560" height="315" src="https://www.youtube.com/embed/4JT3nX-__eI" frameborder="0" allowfullscreen></iframe>
43 #+END_HTML
44 [[https://youtu.be/Tgndz5hH8tU][motor mount to deck video]]
45 ** attach caster to deck
46 #+BEGIN_HTML
47 <iframe width="560" height="315" src="https://www.youtube.com/embed/BogX2-5BYLQ" frameborder="0" allowfullscreen></iframe>
48 #+END_HTML
49 [[https://youtu.be/BogX2-5BYLQ][attach caster to deck video]]
50 ** attach wheel to motor
51 #+BEGIN_HTML
52 <iframe width="560" height="315" src="https://www.youtube.com/embed/jq2YKoxc46M" frameborder="0" allowfullscreen></iframe>
53 #+END_HTML
54 [[https://youtu.be/jq2YKoxc46M][attach wheel to motor video]]
55 ** solder solid core wire to battery pack leads
56 #+BEGIN_HTML
57 <iframe width="560" height="315" src="https://www.youtube.com/embed/Zuj5s_G_Rq4" frameborder="0" allowfullscreen></iframe>
58 #+END_HTML
59 [[https://youtu.be.com/Zuj5s_G_Rq4][battery wire leads video]]
60 ** attach the battery packs to the deck
61 #+BEGIN_HTML
62 <iframe width="560" height="315" src="https://www.youtube.com/embed/I9E-8ism_Es" frameborder="0" allowfullscreen></iframe>
63 #+END_HTML
64 [[https://youtu.be.com/I9E-8ism_Es][attach battery packs to deck video]]
65 *** attach 4xAA battery pack to deck
66 *** attach 9v battery to deck
67 ** attach sonar to deck
68 #+BEGIN_HTML
69 <iframe width="560" height="315" src="https://www.youtube.com/embed/5PPpd3P8G8Q" frameborder="0" allowfullscreen></iframe>
70 #+END_HTML
71 [[https://youtu.be.com/5PPpd3P8G8Q][attach sonar to deck video]]
72 * wire & program robot
73 ** make the arduino blink
74 #+BEGIN_HTML
75 <iframe width="560" height="315" src="https://www.youtube.com/embed/EOPU1hPpqXI" frameborder="0" allowfullscreen></iframe>
76 #+END_HTML
77 [[https://youtu.be.com/EOPU1hPpqXI][make arduino blink video]]
78 *** troubleshooting
79 if your arduino doesn't blink, make sure you have the right
80 board and port selected
81 #+BEGIN_HTML
82 <iframe width="560" height="315" src="https://www.youtube.com/embed/msfuZ8UldFA" frameborder="0" allowfullscreen></iframe>
83 #+END_HTML
84 [[https://youtu.be.com/msfuZ8UldFA][arduino pick board and port settings video]]
85 ** set up arduino sketchbook
86 you can set arduino's default location to look for libraries
87 #+BEGIN_HTML
88 <iframe width="560" height="315" src="https://www.youtube.com/embed/Torsycgv5Ag" frameborder="0" allowfullscreen></iframe>
89 #+END_HTML
90 [[https://youtu.be.com/Torsycgv5Ag][arduino sketchbook location setting video]]
91 ** arduino serial communication with computer
92 #+BEGIN_HTML
93 <iframe width="560" height="315" src="https://www.youtube.com/embed/gy9ef4aaNfw" frameborder="0" allowfullscreen></iframe>
94 #+END_HTML
95 [[https://youtu.be.com/gy9ef4aaNfw][arduino serial communication video]]
96 ** left sonar
97 #+BEGIN_HTML
98 <iframe width="560" height="315" src="https://www.youtube.com/embed/wqRsIbiNaWY" frameborder="0" allowfullscreen></iframe>
99 #+END_HTML
100 [[https://youtu.be.com/wqRsIbiNaWY][hook up left sonar video]]
101 *** wire up left sonar
102 *** test left sonar
103 *** troubleshooting continuity
104 here's how to identify exactly where the problem is, if the
105 sonar doesn't work correctly.
106 **** TODO: make new video with sonar cable instead of individual sonar wires
107 #+BEGIN_HTML
108 <iframe width="560" height="315" src="https://www.youtube.com/embed/QRTVVxo6Q00" frameborder="0" allowfullscreen></iframe>
109 #+END_HTML
110 [[https://youtu.be.com/QRTVVxo6Q00][troubleshooting continuity video]]
111 ** both sonars
112 #+BEGIN_HTML
113 <iframe width="560" height="315" src="https://www.youtube.com/embed/qitvbDJVe0o" frameborder="0" allowfullscreen></iframe>
114 #+END_HTML
115 [[https://youtu.be.com/qitvbDJVe0o][both sonars video]]
116 *** wire up right sonar
117 *** test both sonars
118 ** left motor
119 #+BEGIN_HTML
120 <iframe width="560" height="315" src="https://www.youtube.com/embed/NpH8WCneN4g" frameborder="0" allowfullscreen></iframe>
121 #+END_HTML
122 [[https://youtu.be.com/NpH8WCneN4g][left motor video]]
123 *** wire up left motor
124 *** test left motor
125 ** both motors
126 #+BEGIN_HTML
127 <iframe width="560" height="315" src="https://www.youtube.com/embed/YBmu9ioP4bw" frameborder="0" allowfullscreen></iframe>
128 #+END_HTML
129 [[https://youtu.be.com/YBmu9ioP4bw][both motors video]]
130 *** wire up right motor
131 *** test both motors
132 ** untethered robot
133 #+BEGIN_HTML
134 <iframe width="560" height="315" src="https://www.youtube.com/embed/7wVVx8pjqdY" frameborder="0" allowfullscreen></iframe>
135 #+END_HTML
136 [[https://youtu.be.com/7wVVx8pjqdY][untethered robot video]]
137 *** wire up 9v battery pack
138 *** unplug usb from arduino
139 *** turn on both battery packs
140 ** follow
141 #+BEGIN_HTML
142 <iframe width="560" height="315" src="https://www.youtube.com/embed/oL6qntiHEEA" frameborder="0" allowfullscreen></iframe>
143 #+END_HTML
144 [[https://youtu.be.com/oL6qntiHEEA][follow video]]
145 ** stay on table
146 #+BEGIN_HTML
147 <iframe width="560" height="315" src="https://www.youtube.com/embed/xMGoUElyPzg" frameborder="0" allowfullscreen></iframe>
148 #+END_HTML
149 [[https://youtu.be.com/xMGoUElyPzg][stay on table video]]
150 * TODO: don't say "so now" at the beginning of every video
151 * TODO: say title of video as first words