From 9e794c9347447e10035b9a3f5c846b20b4159a25 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sun, 5 Mar 2017 22:47:58 -0800 Subject: [PATCH] finish b_left sonar, c_both_sonars, d_left_motor checklists --- wiring-checklist.org | 118 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 116 insertions(+), 2 deletions(-) diff --git a/wiring-checklist.org b/wiring-checklist.org index 9d4d54a..a1773e1 100644 --- a/wiring-checklist.org +++ b/wiring-checklist.org @@ -42,5 +42,119 @@ - [ ] 1x laptop - [ ] 1x usb cable - [ ] 1x sonar cable - - [ ] 1x 35mm red stiff wire - - [ ] 1x 35mm black stiff wire + - [ ] 1x 35mm red stiff wire (solid core, 22 AWG) + - [ ] 1x 35mm black stiff wire (solid core, 22 AWG) + - [ ] on laptop, open fritzing + - [ ] in fritzing, open build-stages/b_left_sonar/left-sonar.fzz + - [ ] plug in short wires first + - [ ] plug in short red wire to connect arduino's 5v and breadboard's + red rail, any hole in the red rail is fine. + - [ ] plug in short black wire to connect arduino's GND and breadboard's + blue rail, any hole in the blue rail is fine. + - [ ] connect left sonar sensor to power and arduino with sonar cable + - [ ] plug cable housing + - [ ] red wire connects to sonar pin labeled "vcc" + - [ ] blue wire connects to sonar pin labeled "Trig" + - [ ] yellow wire connects to sonar pin labeled "Echo" + - [ ] black wire connects to sonar pin labeled "GND" + - [ ] plug in other end of cable wires + - [ ] red wire into breadboard red rail + - [ ] blue wire into arduino pin digital 12 + - [ ] yellow wire into arduino pin digital 11 + - [ ] black wire into breadboard blue rail + - [ ] in arduino, use the up arrow button to open "b_left_sonar" sketch + - [ ] close any arduino window other than the b_left_sonar sketch + - [ ] close the serial monitor + - [ ] close the a_serial sketch + - [ ] connect arduino and laptop using usb cable + - [ ] in b_left_sonar arduino sketch, use control+u to upload + - [ ] control+shift+m to open the serial monitor + - [ ] check if arduino is getting good values from the sonar sensor + - [ ] put your hand in front of the left sonar and watch the numbers + in the serial monitor. + - [ ] as you bring your hand closer to the left sonar sensor, check + that the ping time numbers decrease + - [ ] as you bring your hand away from the left sonar sensor, check + that the numbers increase + - [ ] unplug usb cable from challenge-bot +* c_both_sonars + - [ ] unplug usb cable from challenge-bot, if it is still plugged in + - [ ] locate materials + - [ ] 1x challenge-bot, laptop, usb cable + - [ ] 1x laptop + - [ ] 1x usb cable + - [ ] 1x sonar cable + - [ ] in fritzing, open build-stages/c_both_sonars/both-sonars.fzz + - [ ] connect left sonar sensor to power and arduino with sonar cable + - [ ] plug cable housing + - [ ] red wire connects to sonar pin labeled "vcc" + - [ ] blue wire connects to sonar pin labeled "Trig" + - [ ] yellow wire connects to sonar pin labeled "Echo" + - [ ] black wire connects to sonar pin labeled "GND" + - [ ] plug in other end of cable wires + - [ ] red wire into breadboard red rail + - [ ] blue wire into arduino pin digital 12 + - [ ] yellow wire into arduino pin digital 11 + - [ ] black wire into breadboard blue rail + - [ ] in arduino, use the up arrow button to open "c_both_sonars" sketch + - [ ] close any arduino window other than the c_both_sonars sketch + - [ ] close the serial monitor + - [ ] close the b_left_sonar sketch + - [ ] connect arduino and laptop using usb cable + - [ ] in c_both_sonars arduino sketch, use control_u to upload, + or click on the right arrow in a circle + - [ ] in arduino, use control+shift+M to open serial monitor + - [ ] in serial monitor, check that sonar sensors are giving good values + - [ ] put your hand in front of the right sonar sensor and watch + the right sonar sensor distance numbers in the serial monitor. + - [ ] as you bring your hand closer to the right sonar sensor, + check that the ping time and distance decrease + - [ ] as you bring your hand away, check for increasing numbers + - [ ] unplug usb cable from challenge-bot +* d_left_motor + - [ ] 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 35mm stiff red wire, solid core 22 AWG + - [ ] 1x 55mm 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 + - [ ] 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 + 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 + - [ ] hook up motor wires + - [ ] hook motor green wire to motor controller + to the left of the chip's middle pins, in pin 3. + - [ ] hook motor yellow wire to chip on the right of the chip's + middle 2 pins, pin 6. + - [ ] connect arduino to motor controller bottom half to control left motor + - [ ] using white wire, fhook arduino digital pin 10 to motor + controller's bottom left pin. this is the motor controller's + pin 1. this wire allows the arduino to control the speed of the + left motor. + - [ ] using orange wire, hook arduino digital pin 9 to motor + controller's pin 2, between the pins attached to the white and green + wires. + - [ ] using blue wire, hook arduino digital pin 8 to motor + controller's pin 7, to the right of the pin attached to the + yellow wire. + - [ ] connect motor battery to motor controller. + - [ ] connect the battery's black wire to the breadboard's + rear blue rail + - [ ] connect the battery's red wire to the black chip's bottom + right pin. this pin's input power is put through to the motors + - [ ] in arduino, use middle up arrow in a box to open up d_left_motor + - [ ] close any arduino window other than d_left_motor sketch window + - [ ] while on arduino d_left_motor sketch, use control+u to upload, + or use the right arrow in a circle to upload + - [ ] turn on the motor battery pack + - [ ] check that the left motor spins forwards + - [ ] unplug usb cable from challenge-bot -- 2.30.2