Objective
Use the distances measured on both sides of a corridor to adjust the two motor outputs and steer the robot.
8051 / ROBOT CONTROL
An AT89C51 robot-control project using two time-of-flight sensors, software I²C, and timer interrupts to adjust motor outputs along a corridor.
01 / OVERVIEW
Use the distances measured on both sides of a corridor to adjust the two motor outputs and steer the robot.
The public project includes 8051 Assembly firmware, a Proteus project, and PCB design views. The minimum-system board provides power regulation, a 12 MHz clock, reset circuitry, and I/O headers.
02 / CONTROL PATH
Two VL53L0X sensors sit at the front-left and front-right, angled slightly forward.
Each sensor uses its own software I²C interface in the 8051 Assembly firmware.
Sensor readings update timer reload values. Timer0 and Timer1 interrupts generate PWM on P1.0 and P1.1.
Adjusting the two motor outputs changes the steering along the corridor.
03 / HARDWARE
The board includes power regulation, a 12 MHz clock, reset circuitry, and external I/O headers for the AT89C51 system.
04 / IMPLEMENTATION EVIDENCE
| Artifact | What it contains |
|---|---|
| Assembly firmware | Sensor setup and reads, separate software I²C interfaces, and timer interrupt routines. |
| Proteus project | The supplied project uses ASEM-51 and was created for Proteus 8.13 or a compatible version. |
| PCB design views | Layout and 3D representation of the minimum-system board. |
The public materials document the implementation. They do not provide quantified corridor-tracking error or a measured completion rate.
REFERENCE MATERIAL
More detail is available in the original repository.
View GitHub repository