Idea
In short
How do you build a PID line follower with encoders?
A line follower that uses PID steering and wheel encoders to hold speed on curves. You need Arduino Uno R3, TCRT5000 IR reflective sensor module × 5, N20 gear motor with encoder × 2, TB6612FNG Motor Driver, Li-Po 2S 7.4 V 2200 mAh 25C (RC) and Breadboard 830 Tie Points.
- Level
- Advanced
- Time
- About 420 min
- Parts
- 6
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
Tune a PID loop.
Parts list
- Development Boards
- Sensors
- Motors & Actuators
- Motor Drivers
- Batteries
- Prototyping
How to build it
- Calibrate each reflective sensor
- Compute a weighted line position
- Run a PID on steering
- Add speed control from encoders
- Tune P, I and D one at a time
Common questions
What parts do I need for the PID line follower with encoders?
Arduino Uno R3, TCRT5000 IR reflective sensor module × 5, N20 gear motor with encoder × 2, TB6612FNG Motor Driver, Li-Po 2S 7.4 V 2200 mAh 25C (RC) and Breadboard 830 Tie Points.
How long does the PID line follower with encoders take to build?
About 420 minutes for a advanced maker.
