# vannsarsxh/cg1111a_project architecture

> Architecture diagram of the GitHub repository vannsarsxh/cg1111a_project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vannsarsxh/cg1111a_project
- Repository: https://github.com/vannsarsxh/cg1111a_project

## Overview

This is a small mBOT maze-navigation firmware project. Its documented workflow uses ultrasonic, line, infrared, and colour sensing to navigate around obstacles and reach an endpoint. Only the README and the single firmware file are listed, and no source excerpts are available, so the graph keeps the implementation as one component and does not infer internal stages or actuator details.

Main entry points: [`CG1111A_PROJECT.ino`](https://github.com/vannsarsxh/cg1111a_project/blob/main/CG1111A_PROJECT.ino) (mBOT firmware)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_robot["Robot navigation"]
  node_firmware["mBOT firmware"]
end

node_maze(("Maze environment"))
node_sensors{{"Navigation sensors"}}

node_maze -->|"provide conditions"| node_sensors
node_sensors -->|"guide navigation"| node_firmware
node_firmware -->|"navigate to endpoint"| node_maze

click node_firmware "https://github.com/vannsarsxh/cg1111a_project/blob/main/CG1111A_PROJECT.ino"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_firmware toneBlue
class node_maze,node_sensors toneIndigo
```

## Components

### Robot navigation

- [mBOT firmware](https://github.com/vannsarsxh/cg1111a_project/blob/main/CG1111A_PROJECT.ino): `CG1111A_PROJECT.ino`

### Other components

- **Maze environment**
- **Navigation sensors**

## Connections

- Maze environment → Navigation sensors: provide conditions (evidence: `README.md`)
- Navigation sensors → mBOT firmware: guide navigation (evidence: `README.md`)
- mBOT firmware → Maze environment: navigate to endpoint (evidence: `README.md`)
