(document
:title [challenge-bot]
+ (toc)
(chapter
:title [mechanical]
+ :number "0"
(p [let's build your robot!])
(section
:title [arduino to deck]
+ :number "0"
(p [let's attach the arduino to the deck.])
(subsection
:title [required materials]
(item [there should be no warping on the arduino.
this could happen if the screws are too tight.]))))
(section
- :title [breadboard]
- (p [next, let's attach other parts to the deck.
- we'll start with the breadboard.
- there are many ways to do this, but one handy approach is
- glue dots.
- glue dots can be placed easily, are good at attaching flat
- surfaces that directly touch and do not get much stress.])
- (figure :legend "breadboard to deck / required materials"
- (image
- :file "1-breadboard-to-deck/0-required-materials.png"))
- (p [for this section, we will need the deck with arduino attached,
- breadboard, and glue dots.])
- (figure :legend "breadboard to deck / video"
- (video
- :file "1-breadboard-to-deck/0-breadboard-to-deck.ogv"))
- (enumerate
- (item [take your breadboard out of its bag.])
- (item [peel the backing.])
- (item [put the shiny medal plate on the back.])
- (item [break 4 glue dots away from the rest. put the rest back
- into the bag.])
- (item [break off a glue dot from the group of 4, and peel away the
- backing, exposing a sticky side.])
- (item [put the glue dot on one corner of the shiny side of the
- breadboard.
- make sure to push it down firmly.])
- (item [repeat for the other corners.])
- (item [put the breadboard on the center of the deck.
- position it so the black chip is on the right, and the
- blue line is up against the arduino.])
- (item [press firmly in each of the corners.]))
- (p [check])
- (enumerate
- (item [should the black chip be on the right or the left?])
- (item [how many glue dots should be on the breadboard?])))
- (section
- :title [battery packs]
+ :title [battery wiring]
(subsection
:title [leads]
(subsubsection
(enumerate
(item [should the wires melt the solder?])
(item [why should we clean off the tip of the soldering iron?])
- (item [why do we put more solder back on the tip of the iron?]))))
- (subsection
- :title [deck attachment]
- (subsubsection
- :title [motor battery pack attachment]
- (p [attach the motor battery pack to the robot deck.])
- (figure
- :legend "batteries / placement / motor pack"
- (video
- :file "2-batteries/1-placement/0-motor-battery-pack.ogv"))
- (p [we will use glue dots to attach the motor battery pack to the
- deck.
- the pack could be placed anywhere, but we will place it
- in the lower left side of the robot.
- this battery pack has 4 AA batteries in it.
- each battery has 1.5 volts difference between the positive
- and negative side.
- the batteries are connected in series.
- the total voltage difference for the whole battery pack is
- the sum of the individual voltages, which is 6 volts.])
- (enumerate
- (item [make sure you are placing dots on the side of the battery
- pack without the on/off switch.])
- (item [peel off a glue dot for each of the corners of the
- battery pack.])
- (item [when placing the battery pack, make sure the screw hole
- aligns with a hole on the deck.]))
- (p [check])
- (enumerate
- (item [why place the glue dots on the side of the battery pack
- without the on/off switch?])))
- (subsubsection
- :title [arduino battery pack attachment]
- (p [attach the arduino battery pack to the robot deck.])
- (figure
- :legend "batteries / placement / arduino pack"
- (video
- :file "2-batteries/1-placement/1-arduino-battery-pack.ogv"))
- (p [next, we will attach the arduino battery pack to the deck.
- again, the pack could be placed anywhere, but we will
- place it in the lower right side of the robot.])
- (enumerate
- (item [make sure you are placing dots on the side of the battery
- pack without the on/off switch, just as before.])
- (item [peel off a glue dot for each end of the pack.])
- (item [when placing the battery pack, make sure the screw hole
- aligns with a hole on the deck.]))
- (p [check])
- (enumerate
- (item [why align the screw with a hole on the deck?])))))
+ (item [why do we put more solder back on the tip of the iron?])))))
(section
- :title [motors]
+ :title [motor wiring]
(subsection
:title [leads]
(p [attach leads to the motors to supply the motor with power.])
as you can while tightening it down.
this will give more clearance to the wheels of the robot
so they do not rub the deck.])))
+ (section
+ :title [breadboard]
+ (p [next, let's attach other parts to the deck.
+ we'll start with the breadboard.
+ there are many ways to do this, but one handy approach is
+ glue dots.
+ glue dots can be placed easily, are good at attaching flat
+ surfaces that directly touch and do not get much stress.])
+ (figure :legend "breadboard to deck / required materials"
+ (image
+ :file "1-breadboard-to-deck/0-required-materials.png"))
+ (p [for this section, we will need the deck with arduino attached,
+ breadboard, and glue dots.])
+ (figure :legend "breadboard to deck / video"
+ (video
+ :file "1-breadboard-to-deck/0-breadboard-to-deck.ogv"))
+ (enumerate
+ (item [take your breadboard out of its bag.])
+ (item [peel the backing.])
+ (item [put the shiny medal plate on the back.])
+ (item [break 4 glue dots away from the rest. put the rest back
+ into the bag.])
+ (item [break off a glue dot from the group of 4, and peel away the
+ backing, exposing a sticky side.])
+ (item [put the glue dot on one corner of the shiny side of the
+ breadboard.
+ make sure to push it down firmly.])
+ (item [repeat for the other corners.])
+ (item [put the breadboard on the center of the deck.
+ position it so the black chip is on the right, and the
+ blue line is up against the arduino.])
+ (item [press firmly in each of the corners.]))
+ (p [check])
+ (enumerate
+ (item [should the black chip be on the right or the left?])
+ (item [how many glue dots should be on the breadboard?])))
+ (section
+ :title [battery attachment]
+ (subsection
+ :title [motor battery pack attachment]
+ (p [attach the motor battery pack to the robot deck.])
+ (figure
+ :legend "batteries / placement / motor pack"
+ (video
+ :file "2-batteries/1-placement/0-motor-battery-pack.ogv"))
+ (p [we will use glue dots to attach the motor battery pack to the
+ deck.
+ the pack could be placed anywhere, but we will place it
+ in the lower left side of the robot.
+ this battery pack has 4 AA batteries in it.
+ each battery has 1.5 volts difference between the positive
+ and negative side.
+ the batteries are connected in series.
+ the total voltage difference for the whole battery pack is
+ the sum of the individual voltages, which is 6 volts.])
+ (enumerate
+ (item [make sure you are placing dots on the side of the battery
+ pack without the on/off switch.])
+ (item [peel off a glue dot for each of the corners of the
+ battery pack.])
+ (item [when placing the battery pack, make sure the screw hole
+ aligns with a hole on the deck.]))
+ (p [check])
+ (enumerate
+ (item [why place the glue dots on the side of the battery pack
+ without the on/off switch?])))
+ (subsection
+ :title [arduino battery pack attachment]
+ (p [attach the arduino battery pack to the robot deck.])
+ (figure
+ :legend "batteries / placement / arduino pack"
+ (video
+ :file "2-batteries/1-placement/1-arduino-battery-pack.ogv"))
+ (p [next, we will attach the arduino battery pack to the deck.
+ again, the pack could be placed anywhere, but we will
+ place it in the lower right side of the robot.])
+ (enumerate
+ (item [make sure you are placing dots on the side of the battery
+ pack without the on/off switch, just as before.])
+ (item [peel off a glue dot for each end of the pack.])
+ (item [when placing the battery pack, make sure the screw hole
+ aligns with a hole on the deck.]))
+ (p [check])
+ (enumerate
+ (item [why align the screw with a hole on the deck?]))))
(section
:title [caster]
(p [the caster will go at the back of the robot and provide a third
(item [what kind of screw is used?])))
(section
:title [sonars]
- (subsection
- :title [deck placement])))
+ (p [we are almost done with mechanical assembly!
+ this next step is to add the sonar sensors to the robot.
+ sonar sensors are what the robot uses to detect distances.
+ it sends out a signal, then listens for a response and
+ keeps track of how long it takes.])
+ (figure
+ :legend "sonar sensors"
+ (video :file "6-sonar-sensors-to-deck.ogv"))
+ (p [check])
+ (enumerate
+ (item [are your sonar sensors pointy pins facing in toward the
+ arduino?])
+ (item [was it difficult to get the sonar into the holder?])
+ (item [what would happen if it was easy to slip the sonar sensor
+ into the sonar holder?]))))
(chapter
:title [wiring and software]
(section
:title [serial]
+ :number "0"
(subsection
:title [software on computer]
(subsubsection