Skip to content

Task 6 - Edge Detection Alphabot

Task

Edge Detection Alphabot

Functions To Do

  1. IR Sensor Input
    • Lower sensor values (< 700) indicatse drop-off.
    • If the far-left (sensorV[0]) or far-right (sensorV[4]) sensor detects an edge (value < 700) -- Stops immediately, Reverses briefly (to back away from the edge). Turns right (to reorient away from the edge).
  2. Motor Control
    • Functions for forward, backward, left, right, and stop.

Output

Solution

Edge_Detection_Alphabot