Idea
In short
How do you build a two-sensor line follower?
A cheap two-wheel chassis follows a black line using two reflective sensors and a motor driver. You need Arduino Uno R3, TCRT5000 IR reflective sensor module × 2, Robot car chassis kit 2WD (acrylic), L298N Dual H-Bridge Module, 9 V battery, 9 V battery, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 240 min
- Parts
- 8
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 bang-bang control for line following.
Parts list
- Development Boards
- Sensors
- Mechanical & Hardware
- Motor Drivers
- Batteries
- Batteries
- Prototyping
- Prototyping
How to build it
- Assemble the chassis
- Tune the sensor threshold
- Steer by sensor state
- Limit speed to stay on the line
- Add a stop on a crossing line
Common questions
What parts do I need for the two-sensor line follower?
Arduino Uno R3, TCRT5000 IR reflective sensor module × 2, Robot car chassis kit 2WD (acrylic), L298N Dual H-Bridge Module, 9 V battery, 9 V battery, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the two-sensor line follower take to build?
About 240 minutes for a intermediate maker.
