Workshop Guide
Workshop Guide
AIM:-
To make a line follower bot, which follows a path, usually shown
by a black track on a light surface.
COMPONENTS PROVIDED:-
Each of the 30 teams will be provided a kit for building this bot.
Blink example:-
//the setup function runs only once
void setup() {
pinMode(13, OUTPUT); // initialize digital pin 13 as an output.
}
PROCEDURE:-
• Solder jumper wires to the motor and attach them to the
chassis using double sided tape.
• Attach the fixed wheels to the shaft and attach the castor
wheel to the chassis.
• Attach the Arduino Nano, the Li-ion cell pack, the motor
driver and the 8-channel IR sensor to the chassis.
• Make the connections according to the circuit diagram(your
connections may not be exactly the same).
• Program the Arduino and test the bot.
CIRCUIT DIAGRAM:-
SAMPLE CODE:-
//Specify Motor connections
//Specify Sensor connections
//Declare variables to store sensor outputs
void setup() {
// put your setup code here, to run once:
void loop() {
// put your main code here, to run repeatedly:
delay(10);
}