Projects / Ideas / Camera line follower

Camera line follower

AdvancedRoboticsIdeaReviewed
In short

How do you build a camera line follower?

A Pi camera finds a line and follows curves faster than IR sensors can. You need Raspberry Pi Zero 2 W, Raspberry Pi Camera Module 3, TB6612FNG Motor Driver, BO motor straight 100 RPM × 2, Robot car chassis kit 2WD (acrylic), Li-ion 18650 pack 3S 2P (11.1 V) and LM2596 Buck Module.

Level
Advanced
Time
About 300 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Use computer vision for line following.

How to build it

  1. Mount the camera angled down
  2. Threshold the line
  3. Find its centre
  4. Steer with PID
  5. Slow for sharp bends

Related projects

Common questions

What parts do I need for the camera line follower?

Raspberry Pi Zero 2 W, Raspberry Pi Camera Module 3, TB6612FNG Motor Driver, BO motor straight 100 RPM × 2, Robot car chassis kit 2WD (acrylic), Li-ion 18650 pack 3S 2P (11.1 V) and LM2596 Buck Module.

How long does the camera line follower take to build?

About 300 minutes for a advanced maker.