An open API service indexing awesome lists of open source software.

https://github.com/heitan104/embedded-maze-navigation-robot

Programmed an HCS12 Microprocessor to navigate through a Maze
https://github.com/heitan104/embedded-maze-navigation-robot

assembly-language codewarrior fsm hardware hcs12 photodiode

Last synced: 8 months ago
JSON representation

Programmed an HCS12 Microprocessor to navigate through a Maze

Awesome Lists containing this project

README

          

# 🤖 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 Kandasamy** – [heitan104@gmail.com](mailto:heitan104@gmail.com) – [@Heitan104](https://github.com/Heitan104)