Introduction: Line Follower Rover

About: 4D Makers is a group of curious engineers and enthusiasts who finds great satisfaction in creating and building anything from electronics.

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

  • 4Duino-24
  • 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

  1. Build the circuit as shown in the diagram. *Shown in the first image.
  2. 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.
  3. Download the project here. *You will see the file as shown in the second image.
  4. Click on the “Compile” button.*Shown in the third image (This step could be skipped. However, compiling is essential for debugging purposes.)
  5. 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.
  6. Go back to “Home” tab. This time, click on the “Comp’nLoad” button. *Shown in the fifth image
  7. 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.
  8. The module will prompt you to insert the uSD card.

Step 4:

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.