define wiring in separate file
[challenge-bot] / wiring-checklist.org
index e6bb601f4877bfeb8cfa0f1b8c445ee87505dc9e..3fbb2735332b4ba36c91067c88a73a99ffbe6e29 100644 (file)
     - [ ] 1x 120mm stiff white wire, solid core 22 AWG
     - [ ] 1x 120mm stiff orange wire, solid core 22 AWG
     - [ ] 1x 120mm stiff blue wire, solid core 22 AWG
-  - [ ] in fritzing, open build-stages/d_left_motor/left-motor.fzz
+  - [ ] on laptop, in fritzing, open
+    build-stages/d_left_motor/left-motor.fzz
   - [ ] hook up short wires first
     - [ ] with 35mm red wire, hook breadboard red rail near arduino
       to upper left pin of the black chip on the breadboard.
       this is pin 16 of the black sn754410ne chip, which is used as a
       motor controller.  this wire powers the chip's logic.
-    - [ ] with 35mm black wire, hook middle 2 pins nearer to the back of
+    - [ ] with 35mm black wires, hook middle 2 pins nearer to the back of
       the robot on the black chip to the blue rail.
       these are pins 4 and 5 of of the sn754410n3
     - [ ] with 63mm black wire, hook both breadboard blue rails together
     or use the right arrow in a circle to upload
   - [ ] turn on the motor battery pack
   - [ ] check that the left motor spins forwards
+  - [ ] turn off the motor battery pack
   - [ ] unplug usb cable from challenge-bot
+* e_both_motors
+  - [ ] unplug usb cable from challenge-bot, if it is still plugged in
+  - [ ] locate materials
+    - [ ] challenge-bot, laptop, usb cable
+    - [ ] 2x 35mm stiff black wire, solid core 22 AWG
+    - [ ] 1x 120mm stiff white wire, solid core 22 AWG
+    - [ ] 1x 120mm stiff orange wire, solid core 22 AWG
+    - [ ] 1x 120mm stiff blue wire, solid core 22 AWG
+  - [ ] on laptop, in fritzing, open
+    build-stages/e_both_motors/both-motors.fzz
+  - [ ] hook up short wires first
+    - [ ] with 35mm black wires, hook black chip's middle 2 pins on the
+      forward side of the chip to the breadboard's blue rail.  these
+      middle pins on the chip's forward side are pins 12 and 13
+  - [ ] hook up motor wires
+    - [ ] hook yellow wire to motor controller's pins to the left
+      of the center grounded pins.  this is the chip's pin 14.
+    - [ ] hook green wire to motor controller's pins to the right
+      of the center grounded pins.  this is the chip's pin 11.
+  - [ ] connect motor controller and arduino
+    - [ ] with 120mm white wire, connect arduino digital pin 5 to
+      motor controller's forward right pin, the chip's pin 9.
+    - [ ] with 120mm orange wire, connect arduino digital pin 4 to
+      motor controller's forward second-to-left pin between red
+      and yellow connected pins.  this is the chip's pin 15.
+    - [ ] with 120mm blue wire, connect arduino digital pin 3 to
+      motor controller's pin forward second-to-left pin between
+      green and white pins.  this is the chip's pin 10.
+  - [ ] on laptop, in arduino, using up arrow in box, open e_both_motors
+    sketch, and close all other arduino windows
+  - [ ] control+u to upload
+  - [ ] turn battery pack on
+  - [ ] check that both motors spin forwards
+  - [ ] turn off the motor battery pack
+  - [ ] unplug usb cable from challenge-bot
+* f_untethered
+  - [ ] unplug usb cable from challenge-bot, if it is still plugged in
+  - [ ] locate materials
+    - [ ] challenge-bot, laptop
+  - [ ] on laptop, in fritzing, open
+    build-stages/f_untethered/untethered.fzz
+  - [ ] on laptop
+  - [ ] hook up black 9v battery to power arduino
+    - [ ] hook black battery pack's red wire to arduino "vin" pin
+    - [ ] hook black battery pack's black wire to breadboard blue
+      ground rail.
+  - [ ] unplug usb cable from challenge-bot, if it is still plugged in
+  - [ ] turn on clear motor battery pack, 4xAA
+  - [ ] turn on black 9v battery pack
+  - [ ] check that robot rolls forwards using only onboard power
+  - [ ] turn off clear motor battery pack, 4xAA
+  - [ ] turn off black 9v battery pack
+* g_follow
+  - [ ] locate materials
+    - [ ] challenge-bot, laptop, usb cable
+  - [ ] connect arduino and computer with usb cable
+  - [ ] on laptop, in arduino, open g_follow sketch
+    - [ ] close other arduino windows
+  - [ ] control+u to upload
+  - [ ] wait for g_follow to finish uploading
+  - [ ] unplug usb cable
+  - [ ] turn on clear motor battery pack
+  - [ ] turn on black arduino battery pack
+  - [ ] check wheel spin controlled by sonars
+    - [ ] check left wheel and left sonar
+      - [ ] move hand closer to left sonar
+      - [ ] check that left wheel initially rolls forwards, stops, and
+        then backwards, as your hand gets closer to the left sonar
+    - [ ] check right wheel and right sonar
+      - [ ] move hand closer to right sonar
+      - [ ] check that right wheel initially rolls forwards, stops, and
+        then backwards, as your hand gets closer to the right sonar
+  - [ ] set challenge-bot down on wheels
+  - [ ] use hands in front of the robot's sonar sensors and check if
+    you can control how the robot rolls around
+  - [ ] turn off clear motor battery pack
+  - [ ] turn off black 9v battery pack
+* h_stay_on_table
+  - [ ] locate materials
+    - [ ] challenge-bot, laptop, usb cable
+  - [ ] connect arduino and computer with usb cable
+  - [ ] on laptop, in arduino, open h_stay_on_table sketch
+    - [ ] close other arduino windows
+  - [ ] upload with control+u
+  - [ ] wait for upload to finish
+  - [ ] unplug usb cable
+  - [ ] turn on clear motor battery pack
+  - [ ] turn on black arduino battery pack
+  - [ ] set robot down on a its box or a table
+  - [ ] check that robot stays on the table
+  - [ ] check if robot can roll off an edge at a shallow angle
+    - [ ] if it does, check if you can change the placement of the
+      sonars to detect approaching an edge from a shallow angle.
+  - [ ] turn off clear motor battery pack
+  - [ ] turn off black arduino battery pack