2 ** attach arduino to deck
3 *** TODO: redo video with safety goggles
5 <iframe width="560" height="315" src="https://www.youtube.com/embed/fCKTvFn4hdU" frameborder="0" allowfullscreen></iframe>
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
16 <iframe width="560" height="315" src="https://www.youtube.com/embed/JfFI6C1OLig" frameborder="0" allowfullscreen></iframe>
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
25 <iframe width="560" height="315" src="https://www.youtube.com/embed/tcC-Al8zxlM" frameborder="0" allowfullscreen></iframe>
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
32 <iframe width="560" height="315" src="https://www.youtube.com/embed/HPwlmW3UkqQ" frameborder="0" allowfullscreen></iframe>
34 [[https://youtu.be/HPwlmW3UkqQ][motor test video]]
35 *** attach motor to motor mount
37 <iframe width="560" height="315" src="https://www.youtube.com/embed/Tgndz5hH8tU" frameborder="0" allowfullscreen></iframe>
39 [[https://youtu.be/Tgndz5hH8tU][motor to motor mount video]]
40 ** attach motor assembly to deck
42 <iframe width="560" height="315" src="https://www.youtube.com/embed/4JT3nX-__eI" frameborder="0" allowfullscreen></iframe>
44 [[https://youtu.be/Tgndz5hH8tU][motor mount to deck video]]
45 ** attach caster to deck
47 <iframe width="560" height="315" src="https://www.youtube.com/embed/BogX2-5BYLQ" frameborder="0" allowfullscreen></iframe>
49 [[https://youtu.be/BogX2-5BYLQ][attach caster to deck video]]
50 ** attach wheel to motor
52 <iframe width="560" height="315" src="https://www.youtube.com/embed/jq2YKoxc46M" frameborder="0" allowfullscreen></iframe>
54 [[https://youtu.be/jq2YKoxc46M][attach wheel to motor video]]
55 ** solder solid core wire to battery pack leads
57 <iframe width="560" height="315" src="https://www.youtube.com/embed/Zuj5s_G_Rq4" frameborder="0" allowfullscreen></iframe>
59 [[https://youtu.be.com/Zuj5s_G_Rq4][battery wire leads video]]
60 ** attach the battery packs to the deck
62 <iframe width="560" height="315" src="https://www.youtube.com/embed/I9E-8ism_Es" frameborder="0" allowfullscreen></iframe>
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
69 <iframe width="560" height="315" src="https://www.youtube.com/embed/5PPpd3P8G8Q" frameborder="0" allowfullscreen></iframe>
71 [[https://youtu.be.com/5PPpd3P8G8Q][attach sonar to deck video]]
72 * wire & program robot
73 ** make the arduino blink
75 <iframe width="560" height="315" src="https://www.youtube.com/embed/EOPU1hPpqXI" frameborder="0" allowfullscreen></iframe>
77 [[https://youtu.be.com/EOPU1hPpqXI][make arduino blink video]]
79 if your arduino doesn't blink, make sure you have the right
80 board and port selected
82 <iframe width="560" height="315" src="https://www.youtube.com/embed/msfuZ8UldFA" frameborder="0" allowfullscreen></iframe>
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
88 <iframe width="560" height="315" src="https://www.youtube.com/embed/Torsycgv5Ag" frameborder="0" allowfullscreen></iframe>
90 [[https://youtu.be.com/Torsycgv5Ag][arduino sketchbook location setting video]]
91 ** arduino serial communication with computer
93 <iframe width="560" height="315" src="https://www.youtube.com/embed/gy9ef4aaNfw" frameborder="0" allowfullscreen></iframe>
95 [[https://youtu.be.com/gy9ef4aaNfw][arduino serial communication video]]
98 <iframe width="560" height="315" src="https://www.youtube.com/embed/wqRsIbiNaWY" frameborder="0" allowfullscreen></iframe>
100 [[https://youtu.be.com/wqRsIbiNaWY][hook up left sonar video]]
101 *** wire up 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
108 <iframe width="560" height="315" src="https://www.youtube.com/embed/QRTVVxo6Q00" frameborder="0" allowfullscreen></iframe>
110 [[https://youtu.be.com/QRTVVxo6Q00][troubleshooting continuity video]]
113 <iframe width="560" height="315" src="https://www.youtube.com/embed/qitvbDJVe0o" frameborder="0" allowfullscreen></iframe>
115 [[https://youtu.be.com/qitvbDJVe0o][both sonars video]]
116 *** wire up right sonar
120 <iframe width="560" height="315" src="https://www.youtube.com/embed/NpH8WCneN4g" frameborder="0" allowfullscreen></iframe>
122 [[https://youtu.be.com/NpH8WCneN4g][left motor video]]
123 *** wire up left motor
127 <iframe width="560" height="315" src="https://www.youtube.com/embed/YBmu9ioP4bw" frameborder="0" allowfullscreen></iframe>
129 [[https://youtu.be.com/YBmu9ioP4bw][both motors video]]
130 *** wire up right motor
134 <iframe width="560" height="315" src="https://www.youtube.com/embed/7wVVx8pjqdY" frameborder="0" allowfullscreen></iframe>
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
142 <iframe width="560" height="315" src="https://www.youtube.com/embed/oL6qntiHEEA" frameborder="0" allowfullscreen></iframe>
144 [[https://youtu.be.com/oL6qntiHEEA][follow video]]
147 <iframe width="560" height="315" src="https://www.youtube.com/embed/xMGoUElyPzg" frameborder="0" allowfullscreen></iframe>
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