Skip to content

Heitan104/Embedded-Maze-Navigation-Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Embedded Maze Navigation Robot (HCS12 Assembly)

An embedded systems project using the HCS12 microcontroller to program an autonomous robot that navigates a black-line maze using light sensors and wall detection. Written entirely in assembly language, the robot uses a finite state machine (FSM) to follow the line, avoid dead ends, and reach the maze's goal efficiently.


🚀 Features

  • ✅ Light sensor-based black line detection and tracking
  • 🔁 FSM-driven navigation with real-time state transitions
  • 🧱 Wall detection and backtracking to avoid loops/dead ends
  • ⚡ Optimized performance:
    • 90%+ on-track accuracy (up from ~60% after tuning)
    • 50% reduction in idle states during maze traversal

🛠️ Technologies Used

  • HCS12 Microcontroller
  • Assembly Language (ASM)
  • CodeWarrior IDE
  • FSM Design Principles
  • Digital Light Sensors

All Working code can be found in /Sources/main.asm

👥 Team & My Role

Developed as part of a 3-person team for a university lab.
I led the FSM design and optimization, and contributed to sensor calibration and movement logic.


🧠 Learnings

  • Low-level hardware interfacing and real-time control using assembly
  • Designing efficient state machines for embedded navigation tasks
  • Calibrating noisy analog inputs (light sensors) for reliable decision-making

📬 Contact

For questions or collaboration ideas:
Heitan Kandasamyheitan104@gmail.com@Heitan104

About

Programmed an HCS12 Microprocessor to navigate through a Maze

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published