Assembling the CheapBot Line Follower In 8 easy steps.

14
Assembling the CheapBot Line Follower In 8 easy steps

Transcript of Assembling the CheapBot Line Follower In 8 easy steps.

Page 1: Assembling the CheapBot Line Follower In 8 easy steps.

Assembling the CheapBot Line Follower

In 8 easy steps

Page 2: Assembling the CheapBot Line Follower In 8 easy steps.

Schematic

Page 3: Assembling the CheapBot Line Follower In 8 easy steps.

Step by Step

• The bare PCB

Page 4: Assembling the CheapBot Line Follower In 8 easy steps.

Step 1

• Add Resistors

Page 5: Assembling the CheapBot Line Follower In 8 easy steps.

Step 2

• Add IR LEDs

Page 6: Assembling the CheapBot Line Follower In 8 easy steps.

Step 3

• Add Phototransistors

Page 7: Assembling the CheapBot Line Follower In 8 easy steps.

Line Follower with IR LEDs and Phototransistors

Page 8: Assembling the CheapBot Line Follower In 8 easy steps.

Step 4

• Solder the Interface Cable using the strain relief holes

Page 9: Assembling the CheapBot Line Follower In 8 easy steps.

Note

• Function of the Interface Cable header pins

Page 10: Assembling the CheapBot Line Follower In 8 easy steps.

Step 5

• Attach two plastic bumpers using four sheet metal screws

Page 11: Assembling the CheapBot Line Follower In 8 easy steps.

Step 6

• Attach line follower to the bottom of the robot

Page 12: Assembling the CheapBot Line Follower In 8 easy steps.

Step 7

• Plug in the Interface Cable

Page 13: Assembling the CheapBot Line Follower In 8 easy steps.

Test the Behavior of the Line Follower

SYMBOL Detectors = B0SYMBOL RightDetect = BIT0SYMBOL LeftDetect = BIT1

Line_Finder_Check:Detectors = 0RightDetect = PINC.0LeftDetect = PINC.1DEBUGGOTO Line_Finder_Check

Page 14: Assembling the CheapBot Line Follower In 8 easy steps.

Step 8

• Write the line follower program

– Drive the robot forward– Check both sides of the line follower– Steer which ever way detects the black line– Repeat until both sides of line detector see

black