Skip to content

Commit e68ec94

Browse files
authored
Revised notes
1 parent e610426 commit e68ec94

File tree

4 files changed

+36
-16
lines changed

4 files changed

+36
-16
lines changed

examples/GLC_ObstacleAvoidance/GLC_ObstacleAvoidance.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Gobbit Line Command Simple obstacle avoidance
2-
// with the Gobbit and a Maxbotics EZ-0 ultrasonic sensor
2+
// with the Gobbit and a Maxbotics EZ-0 or EZ-1 ultrasonic sensor
33

44
// If the Adafruit motor shield v2.3 is to be used...
55
// M1 and M2 terminals will be used. Right motor on M1, Left on M2.

examples/GLC_PID_Tuning_draft/GLC_PID_Tuning_draft.ino

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// PID line following tuning using the Gobbit Line Command library
22
// and Gobbit robot.
33
//
4-
// 02/25/2017 initial draft, missing aggrssive/coarse tuning instructions.
4+
// 03/24/2017 rough draft, missing aggressive/coarse tuning instructions.
55

66
// #define ADAFRUIT_MS if the Adafruit motor shield v2.3 is to be used.
77
// M1 and M2 will be used. Right motor on M1, Left on M2.
@@ -20,7 +20,11 @@
2020
* poster board (about 22" x 28") with lines kept 5" from the edge of the poster board.
2121
* See: http://www.instructables.com/id/Line-following-Robot-with-Arduino/?ALLSTEPS
2222
*
23-
* For assembly, wiring, programming, and other examples, see: http://www.primalengineering.com/robots
23+
* For assembly: http://primalengineering.com/robots/Downloads/GBT-101-INSTR-R2_LineFollowAssemblyInstructions.PDF
24+
*
25+
* For wiring: http://primalengineering.com/robots/Downloads/Gobbit_LineFollowWiring_03222017.pdf
26+
*
27+
* For additional programming, hardware, and other projects: http://www.primalengineering.com/robots
2428
*
2529
* Parts list:
2630
*
@@ -37,7 +41,7 @@
3741
* Pololu QTR-8RC RC Reflectance Sensor Array
3842
*
3943
* see: Zagros Robot Starter Kit - Gobbit
40-
* (http://www.zagrosrobotics.com/)
44+
* http://www.zagrosrobotics.com/
4145
*
4246
* 2) Black electrical tape line course on white background
4347
*

examples/MotorDirTest/MotorDirTest.ino

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
#define SKETCH_VERSION "01282017a"
1+
#define SKETCH_VERSION "03242017a"
22
/*
33
* Motor Direction Testing sketch to determine correct wiring
44
* of Left and Right gear motors with the Gobbit robot chassis.
55
*
6-
* For assembly, wiring, programming, and other examples, see: http://www.primalengineering.com/robots
6+
* For a video using this sketch: https://youtu.be/5EnlZLv1E80
7+
*
8+
* For assembly: http://primalengineering.com/robots/Downloads/GBT-101-INSTR-R2_LineFollowAssemblyInstructions.PDF
9+
*
10+
* For wiring: http://primalengineering.com/robots/Downloads/Gobbit_LineFollowWiring_03222017.pdf
11+
*
12+
* For additional programming, hardware, and other projects: http://www.primalengineering.com/robots
713
*
814
* Parts list:
915
*
@@ -20,7 +26,7 @@
2026
* Pololu QTR-8RC RC Reflectance Sensor Array
2127
*
2228
* see: Zagros Robot Starter Kit - Gobbit
23-
* (http://www.zagrosrobotics.com/)
29+
* http://www.zagrosrobotics.com/
2430
*
2531
* 2) Black electrical tape line course on white background
2632
*

examples/QTRTest/QTRTest.ino

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
#define SKETCH_VERSION "01282017a"
1+
#define SKETCH_VERSION "03222017a"
22
/*
33
* QTR-8RC line sensor Testing sketch to determine correct wiring
44
* of sensor with the Gobbit robot chassis.
55
*
6-
* For assembly, wiring, programming, and other examples, see: http://www.primalengineering.com/robots
6+
* For a video using this sketch: https://youtu.be/Y3DGQTP38wU
7+
*
8+
* For assembly: http://primalengineering.com/robots/Downloads/GBT-101-INSTR-R2_LineFollowAssemblyInstructions.PDF
9+
*
10+
* For wiring: http://primalengineering.com/robots/Downloads/Gobbit_LineFollowWiring_03222017.pdf
11+
*
12+
* For additional programming, hardware, and other projects: http://www.primalengineering.com/robots
713
*
814
* Parts list:
915
*
1016
* 1) Gobbit Robot with line following configuration
11-
* Components:
17+
* Components:
1218
* Gobbit Chassis with motors, switch, and battery holder
1319
* Sparkfun Redboard (arduino uno clone)
1420
* Motor shield
@@ -20,7 +26,7 @@
2026
* Pololu QTR-8RC RC Reflectance Sensor Array
2127
*
2228
* see: Zagros Robot Starter Kit - Gobbit
23-
* (http://www.zagrosrobotics.com/)
29+
* http://www.zagrosrobotics.com/
2430
*
2531
* 2) Black electrical tape line course on white background
2632
*
@@ -33,11 +39,15 @@
3339
* To Use:
3440
* 1) Upload sketch to Arduino/Redboard.
3541
* 2) Run the Serial Monitor at 115200 baud with your Arduino/Redboard connected to your computer via USB.
36-
* 3) Place the robot on a lined track with the sensor over the line.
37-
* 4) Slowly wave the sensor over the line, keeping all the wheels of the robot touching or close to the track.
38-
* a) The serial monitor should read __ at each sensor that does not see the line.
39-
* b) The serial monitor should read -- where some line is partially seen.
40-
* c) The serial monitor should read XX where the line can be fully seen.
42+
* 3) Stand the robot up on the end with the ball caster, with the sensor facing away from you. From this
43+
* perspective, the readout on the serial monitor will match left to right with the robot left/right.
44+
* 4) Slowly wave your finger or a pencil/pen close to the sensor from side to side.
45+
* a) The serial monitor should read __ at each sensor that detects the IR light refleced from your finger.
46+
* b) The serial monitor should read -- where only some reflected light is detected.
47+
* c) The serial monitor should read XX where very little reflection is detected.
48+
* d) If it appears to be working properly, place the robot on your course.
49+
* i) The sensors over the line should read XX since it is black and does not reflect much light.
50+
* ii) The sensors over the white of the course should read __ since the white reflects a lot of light.
4151
* 5) If your readings do not match what you would expect:
4252
* a) Unplug the robot
4353
* b) Check your wiring and fix any errors.

0 commit comments

Comments
 (0)