Introduction: Arduino Line Follower
The line follower follows a 1.5cm black line on a white background. It uses 8 infrared sensors to detect the light and then follow it using PID logic. The IR sensor works by emmitting infrared rays and then varying the resistance based on the intensity of light recieved. Based on this the arduino detects where the line exactly is relative to it.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Tools and Components Required
- Arduino Nano x 1
- TB6612FNG x 1
- Electronic Speed Controller (ESC) x 1
- Elecronic Ducted Fan (EDF) x 1
- Pololu 12v micro metal gear motor x 2
- QRD1113 IR sensors x 8
- 50 Ohms resistors x 8
- JSumo IR Switch x 1Turnigy 460 mah 2s 20C - 40C LiPo battery x 1
- Step Up voltage regulator x 1
- Soldering Iron
- Screw Driver
Step 2: Arduino Connections
This image shows the connection of all the parts to each other and to the Arduino
Step 3: Sensor Array
This image shows the structure and connections of the sensor array
Step 4: Code
This is the code of the line follower. It uses PID logic to follow the line