Introduction: LINUS: the Line Following Robot
This is my attempt at a line following robot. I basically upgraded it as i went so i am just going to give and overview of the build and allow you to use your thinking. I used Lego as the base and then made my own sensor array. The first sensor array had 8 sensors but i realized that only 4 were being used so i made another with only four sensors. At first used the Arduino Uno and then upgraded to standalone Arduino.
Attachments
Step 1: Parts Required
These are the parts i used
2 x 6 V 310 RPM Geared Motors
1 x Lego Base
2 x Lego Tyres
1 x Atmega 328
1 x Vero Board
4 x IR Led
4 x Phototransistors
1 x 28 Pin IC Base
1 x 9 V Battery
1 x 9 V Battery Clip
1 x Arduino Motor Shield
(I used the one i made myself)
https://www.instructables.com/id/Arduino-L298-Motor-Shield/
2 x Slide Switch
1 x IR Receiver
1 x Crystal Oscilator 16 Mhz
1 x Tactile Switch
2 x 2 AA Battery Holder
Indicator Leds
Resistors (10 k and 220 Ohm)
Jumper Wire
Male Header Strip
Heat Shrink Tube
Zip Ties
Double Side Tape
Female header Strip
Some instrument to program you micro controller. I used USPasp
Basic tools and some skills are also required
Step 2: Motor Assembly
Step 3: Sensor Array
Step 4: Add Batteries
Step 5: Make the Circuit
Step 6: Finalizing the Hardware
Step 7: Programming
if(in == <Hex value>){<code>}
else if(in == <Hex value> ){<code>}
else if(in == <Hex value>){<code>}
else if(in == <Hex value>){<code>}
else if(in == <Hex value>){<code>}
Then in this basic code add you hex value and the response is already added. Next for the line following i used a basic analog value but if you use the arduino and along with serial read you can set exact values for your own track.
Step 8: Conclusion
Please vote for me if you liked my instructable.
I will add a video shortly
Thanks for viewing







