Skip to content

About

A multi-sensor Arduino rover featuring light following, obstacle avoidance, line tracking, and integrated autonomous behaviors.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Arduino Autonomous Rover

Project nickname: Tricolore Rover 🇫🇷🐢

Tricolore Rover

Tricolore Rover — a multi-sensor Arduino rover with a turtle-inspired custom body design.

Arduino · C++ · Multi-Sensor Robotics · Line Following · Obstacle Avoidance

A multi-sensor mobile robot built on the Arduino platform, featuring light following, obstacle avoidance, line tracking, and integrated autonomous behaviors.

The project documents the progressive development of a small autonomous rover — from individual sensing and control experiments to a more complete multi-sensor robotic system.


Overview

This project explores several fundamental capabilities of autonomous mobile robots:

  • Light-source following
  • Obstacle detection and avoidance
  • Line tracking
  • Multi-sensor perception
  • Reactive motion control
  • Integrated autonomous behavior

Rather than treating these capabilities as isolated demonstrations, the repository records how they were progressively developed and combined into a more complete rover.

The project was built collaboratively and originated from a university robotics project, but this repository is organized primarily as a record of the robot's engineering development, implementation, and experimentation.


Capabilities

Light Following

The first development stage focuses on reactive navigation toward a detected light source.

The robot uses light-sensing information to estimate the direction of the source and adjust its motion accordingly.

Key ideas:

  • Light intensity sensing
  • Direction estimation
  • Differential motion control
  • Reactive navigation

Source and demonstrations:

Task1-LightFollower/
├── code/
└── videos/

Obstacle Avoidance

The second stage introduces environmental awareness and collision avoidance.

The robot detects nearby obstacles and modifies its trajectory to maintain safe movement.

Key ideas:

  • Proximity sensing
  • Obstacle detection
  • Collision avoidance
  • Reactive steering

Source and demonstrations:

Task2-ObstacleAvoidance/
├── code/
└── videos/

Line Following

The third stage focuses on following a predefined ground path.

Sensor readings are used to estimate the robot's position relative to the line and continuously correct its direction.

Key ideas:

  • Ground-line sensing
  • Path tracking
  • Steering correction
  • Continuous feedback control

Source and demonstrations:

Task3-LineFollower/
├── code/
└── videos/

Integrated Navigation

The final stage combines multiple sensing and control strategies into a more complete autonomous behavior.

Instead of operating as isolated subsystems, the robot must coordinate different sensor inputs and decide how to respond to changing environmental conditions.

Key ideas:

  • Multi-sensor integration
  • Behavior coordination
  • Reactive decision making
  • Autonomous motion
  • Integrated robot control

Source and demonstrations:

Task4-Comprehensive/
├── code/
└── videos/

Development Progression

The project evolved through several stages:

Light Following
      |
      v
Obstacle Avoidance
      |
      v
Line Following
      |
      v
Multi-Sensor Integration
      |
      v
Autonomous Rover

Each stage introduces a new perception or control capability before moving toward system-level integration.


System Concept

A simplified view of the robot architecture is:

                 Environment
                      |
        +-------------+-------------+
        |             |             |
        v             v             v
   Light Sensors   Line Sensors   Obstacle Sensors
        |             |             |
        +-------------+-------------+
                      |
                      v
               Sensor Processing
                      |
                      v
               Decision Logic
                      |
                      v
                Motor Control
                      |
                      v
               Rover Movement

The final integrated behavior combines information from multiple sensing systems before issuing motion commands.


Repository Structure

Arduino-Autonomous-Rover/
│
├── Task1-LightFollower/
│   ├── code/
│   └── videos/
│
├── Task2-ObstacleAvoidance/
│   ├── code/
│   └── videos/
│
├── Task3-LineFollower/
│   ├── code/
│   └── videos/
│
├── Task4-Comprehensive/
│   ├── code/
│   └── videos/
│
├── Body structure.md
└── README.md

The current directory names are retained from the original development process.

A future cleanup may rename them according to functionality:

Task1-LightFollower       -> light-following
Task2-ObstacleAvoidance   -> obstacle-avoidance
Task3-LineFollower        -> line-following
Task4-Comprehensive       -> integrated-navigation

Development Environment

Hardware Platform

  • Arduino-based mobile robot
  • Motors and motor-control hardware
  • Light-sensing components
  • Line-tracking sensors
  • Obstacle-detection sensors

Software

  • Arduino
  • C / C++
  • Arduino IDE

Design Story

The rover was not designed purely as a functional prototype.

Near the end of development, one teammate — a dedicated supporter of the French national football team — suggested giving the robot a more distinctive personality.

We created a turtle-inspired exterior concept in Blender with a French-themed visual design and later used the concept as the basis for the physical body shell.

What started as an inside joke between teammates eventually became one of the most recognizable parts of the rover.

For that reason, the project informally carries the nickname:

Tricolore Rover 🇫🇷🐢

More information about the mechanical appearance can be found in:

Body structure.md

Demonstrations

Each development stage contains its corresponding demonstration material.

Light Following

Task1-LightFollower/videos/

Obstacle Avoidance

Task2-ObstacleAvoidance/videos/

Line Following

Task3-LineFollower/videos/

Integrated Navigation

Task4-Comprehensive/videos/

These demonstrations record the behavior of individual subsystems as well as the final integrated system.


Running the Code

Clone the repository:

git clone https://github.com/LiangTian-cs/Arduino-Autonomous-Rover.git
cd Arduino-Autonomous-Rover

Choose the subsystem you want to examine.

For example:

cd Task1-LightFollower/code

Then:

  1. Open the corresponding Arduino source file in Arduino IDE.
  2. Connect the Arduino board to the computer.
  3. Select the correct board.
  4. Select the correct serial port.
  5. Compile the program.
  6. Upload it to the robot.

Hardware configuration may differ between development stages, so sensor and pin assignments should be checked before uploading a program to another robot.


Engineering Focus

This repository primarily demonstrates experience with:

  • Embedded programming
  • Arduino development
  • C / C++
  • Sensor interfacing
  • Mobile robotics
  • Reactive control
  • Line following
  • Obstacle avoidance
  • Multi-sensor integration
  • Hardware/software integration
  • Iterative robot development

Project Evolution

One of the main ideas behind this project is incremental system development.

Instead of attempting to build a complete autonomous robot immediately, individual behaviors were developed and tested separately:

Perception Module
       +
Control Behavior
       |
       v
Independent Experiment
       |
       v
Verification
       |
       v
Integration

This approach made it easier to identify problems at the subsystem level before integrating multiple behaviors into the final rover.


Current Limitations

The repository still reflects parts of its original development process.

Current limitations include:

  • Directory names still use the original Task1–Task4 convention
  • Different development stages may use different hardware configurations
  • Some parameters are tuned for the original robot
  • Code has not yet been reorganized into reusable Arduino libraries
  • Hardware documentation can be expanded
  • Wiring and pin-configuration documentation can be improved
  • Automated testing is limited because the project depends heavily on physical hardware

Future Improvements

Possible future improvements include:

  • Rename development-stage directories by functionality
  • Standardize source-code naming
  • Document complete pin assignments
  • Add wiring diagrams
  • Add a complete bill of materials
  • Document sensor models
  • Separate reusable robot-control modules
  • Improve code comments and configuration management
  • Add photos of the final rover
  • Add Blender renders of the body design
  • Add short GIF demonstrations to this README
  • Document experimental results
  • Compare different control strategies
  • Improve integrated autonomous navigation

Possible Future Repository Structure

A cleaner future organization could look like:

Arduino-Autonomous-Rover/
│
├── light-following/
│   ├── src/
│   └── demos/
│
├── obstacle-avoidance/
│   ├── src/
│   └── demos/
│
├── line-following/
│   ├── src/
│   └── demos/
│
├── integrated-navigation/
│   ├── src/
│   └── demos/
│
├── hardware/
│   ├── wiring.md
│   ├── components.md
│   └── mechanical-design.md
│
├── media/
│   ├── images/
│   └── renders/
│
└── README.md

Acknowledgements

This project was developed collaboratively by a small robotics team.

The original development process consisted of several progressive robotics challenges, which were later organized here as a unified record of the rover's sensing, control, mechanical design, and system-integration work.

Special credit also goes to the teammate whose enthusiasm for the French national football team unintentionally gave the rover its visual identity.


Project Status

Completed physical rover prototype with multiple autonomous behaviors.

The current repository preserves both the intermediate subsystem implementations and the final integrated development stage.

Future work will primarily focus on documentation, repository organization, modularization, and improving the presentation of the completed robot.

About

A multi-sensor Arduino rover featuring light following, obstacle avoidance, line tracking, and integrated autonomous behaviors.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages