Intro: Line Follower Rover
This project is a simple line follower robot, where in we used the 4Duino-24 as the controller of the robot or rover. The rover will be on track of the line with the IR sensor giving the direction moving forward, left, right, reverse and stop.
Step 1: How It Works
To run the rover press start, as the rover detect track of line it gradually moves through the track. If the rover does not detect any track of line or the stop button is pressed the rover will stop.
The second image shows the flow of code in the system.
Step 2: Components
- 3 Infrared Sensors
- Motor Driver
- 2 DC Motor
- A robot Chassis
*The images above are just example for components, you can use other sample of materials, except for the Arduino-24 which is essential to this project.
Step 3: Build
- Build the circuit as shown in the diagram. *Shown in the first image.
- Workshop 4 – 4Duino Extended Graphics environment is used to program this project.Workshop requires that the Arduino IDE installed as it calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino. Open this file using Workshop 4.
- Download the project here. *You will see the file as shown in the second image.
- Click on the “Compile” button.*Shown in the third image (This step could be skipped. However, compiling is essential for debugging purposes.)
- Connect the 4Duino to the PC using µUSB cable. Then navigate to the Comms tab and select the Comms port to which the 4Duino connected. *Shown in the fourth image.
- Go back to “Home” tab. This time, click on the “Comp’nLoad” button. *Shown in the fifth image
- Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.
- The module will prompt you to insert the uSD card.
Properly unmount the uSD Card from the PC and insert it to the uSD Card slot of the display module. The image above must appear on your display after completing the steps above.
After uploading, 4Duino will start running the code.
Step 5: Demonstration
This is how your rover will be.