IR LineFollower
How it works
This Line Following robot uses IR sensors to travel on the line. IR sensors work by using a specific light sensor to detect the light wave length that the sensor wants, which is Infrared(IR). The 3pin IR module that I've used has an IR LED that produces light at the same wavelength that the IR sensor wants. When an object is close to the sensor, the IR light from the LED bounces of the object and back into the sensor. This results in a large jump in the intensity.Since the sensor works by looking for a reflected light it can detect how bright the object is. For example, If the an object white it will reflect more of the IR light than a black object. So it is possible to make the sensor return the value of the brightness, but in our project we are just looking for the black object which is the tape. Finally, what this all means, is that the IR module will detect if the floor is black or not and if it is black it will stop one of the wheels, which it will make the robot turn.

Building
You have made it to the building part of this project! You will need these things.
- 2 IR modules(something like this will work)
- Motor Driver
- 2 Motors
- batteries
- Board for the main body of the build(I used a cardboard)
- Breadboard with some wires.
- Electrical Tape(Black) for the line.
Steps to build. Just follow the Circuit.
If you completed the circuit and mounted the components onto the main frame, it should work and look something like this below.
Troubleshooting
If the car moves but doesn't follow the line
try to switch output pins for the motor.
try connecting the wire from the sensors to difference pins.
Citation





Comments
Post a Comment