Kit 4 - Motion and Distance
Project 7: Line Detector (Basic)

The TCRT5000 reports a black line vs a white surface; the green LED lights over the line. Change "Surface reflectivity" in the inspector.

Parts:
  Resistor 220 ohm 1/4W x1
  LED 5mm Green x1
  TCRT5000 Line Sensor x1

Circuit notes:
  TCRT5000: VCC 5V, GND, DO -> D13 (HIGH over a dark surface / no surface), AO -> A0 (higher = darker)
  Green LED anode -> 220 ohm -> D5 (PWM), cathode -> GND

Try it first in the simulator: https://jrlearners.com/arduinoforge/?example=k4-07-line-detector
