# khurana13/arduino-uno-q-edge-ai-bootcamp architecture

> Architecture diagram of the GitHub repository khurana13/arduino-uno-q-edge-ai-bootcamp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/khurana13/arduino-uno-q-edge-ai-bootcamp
- Repository: https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp

## Overview

This repository is a collection of Arduino UNO Q bootcamp labs, not a single application. The user-facing progression is from terminal and Python LED control to MCU sketch control and an edge-AI object-detection demonstration. The Python examples show their runtime entry points and LED APIs; the other labs are represented from the README, since their implementation files were not excerpted. The object-detection internals are therefore kept at the documented capability level.

Main entry points: [`Lab 05 - Real Time Object Detection`](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/tree/main/Lab%2005%20-%20Real%20Time%20Object%20Detection) (Object Detection App), [`Lab 02 - LED Blinking Using Python/main.py`](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2002%20-%20LED%20Blinking%20Using%20Python/main.py) (LED Blink App), [`Lab 03 - RGB LED Color Cycle Using Python/main.py`](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2003%20-%20RGB%20LED%20Color%20Cycle%20Using%20Python/main.py) (RGB Cycle App), [`Lab 01 - Terminal-Based LED Control/command.txt`](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2001%20-%20Terminal-Based%20LED%20Control/command.txt) (Terminal Commands)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_linux["Linux Control"]
  node_terminal["Terminal Commands<br/>[command.txt]"]
  node_sysfs["LED System Files"]
end

subgraph group_python["Python LED Labs"]
  node_blink["LED Blink App<br/>[main.py]"]
  node_rgbcycle["RGB Cycle App<br/>[main.py]"]
  node_apputils["Arduino App Utilities"]
  node_ledsapi["LED Color API"]
end

subgraph group_mcu["MCU Sketch"]
  node_sketch["RGB LED Sketch<br/>[rgb_led_cycle.ino]"]
end

subgraph group_ai["Edge AI"]
  node_camera["Live Camera"]
  node_detection["Object Detection App"]
  node_model["AI Model"]
  node_visualization["Detection Results"]
end

node_user(("Learner"))
node_led["Onboard LEDs"]

node_user -->|"runs commands"| node_terminal
node_terminal -->|"controls through"| node_sysfs
node_sysfs -->|"sets LED state"| node_led
node_user -->|"runs app"| node_blink
node_blink -->|"starts loop"| node_apputils
node_blink -->|"writes brightness"| node_sysfs
node_sysfs -->|"controls red LED"| node_led
node_user -->|"runs app"| node_rgbcycle
node_rgbcycle -->|"starts loop"| node_apputils
node_rgbcycle -->|"sets colors"| node_ledsapi
node_ledsapi -->|"controls RGB LED"| node_led
node_user -->|"programs MCU"| node_sketch
node_sketch -->|"drives RGB colors"| node_led
node_user -->|"runs lab"| node_detection
node_camera -->|"provides live input"| node_detection
node_detection -->|"identifies objects"| node_model
node_detection -->|"displays detections"| node_visualization

click node_terminal "https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2001%20-%20Terminal-Based%20LED%20Control/command.txt"
click node_blink "https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2002%20-%20LED%20Blinking%20Using%20Python/main.py"
click node_rgbcycle "https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2003%20-%20RGB%20LED%20Color%20Cycle%20Using%20Python/main.py"
click node_sketch "https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2004%20-%20RGB%20LED%20Control%20Using%20Arduino%20Sketch%20on%20the%20MCU/rgb_led_cycle.ino"
click node_detection "https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/tree/main/Lab%2005%20-%20Real%20Time%20Object%20Detection"

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_terminal,node_sysfs toneBlue
class node_blink,node_rgbcycle,node_apputils,node_ledsapi toneAmber
class node_sketch toneMint
class node_camera,node_detection,node_model,node_visualization toneRose
class node_user,node_led toneIndigo
```

## Components

### Linux Control

- [Terminal Commands](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2001%20-%20Terminal-Based%20LED%20Control/command.txt): `Lab 01 - Terminal-Based LED Control/command.txt`
- **LED System Files**

### Python LED Labs

- [LED Blink App](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2002%20-%20LED%20Blinking%20Using%20Python/main.py): `Lab 02 - LED Blinking Using Python/main.py`
- [RGB Cycle App](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2003%20-%20RGB%20LED%20Color%20Cycle%20Using%20Python/main.py): `Lab 03 - RGB LED Color Cycle Using Python/main.py`
- **Arduino App Utilities**
- **LED Color API**

### MCU Sketch

- [RGB LED Sketch](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/blob/main/Lab%2004%20-%20RGB%20LED%20Control%20Using%20Arduino%20Sketch%20on%20the%20MCU/rgb_led_cycle.ino): `Lab 04 - RGB LED Control Using Arduino Sketch on the MCU/rgb_led_cycle.ino`

### Edge AI

- **Live Camera**
- [Object Detection App](https://github.com/khurana13/arduino-uno-q-edge-ai-bootcamp/tree/main/Lab%2005%20-%20Real%20Time%20Object%20Detection): `Lab 05 - Real Time Object Detection`
- **AI Model**
- **Detection Results**

### Other components

- **Learner**
- **Onboard LEDs**

## Connections

- Learner → Terminal Commands: runs commands (evidence: `README.md`)
- Terminal Commands → LED System Files: controls through (evidence: `README.md`)
- LED System Files → Onboard LEDs: sets LED state (evidence: `README.md`)
- Learner → LED Blink App: runs app (evidence: `README.md`)
- LED Blink App → Arduino App Utilities: starts loop (evidence: `Lab 02 - LED Blinking Using Python/main.py`)
- LED Blink App → LED System Files: writes brightness (evidence: `Lab 02 - LED Blinking Using Python/main.py`)
- LED System Files → Onboard LEDs: controls red LED (evidence: `README.md`)
- Learner → RGB Cycle App: runs app (evidence: `README.md`)
- RGB Cycle App → Arduino App Utilities: starts loop (evidence: `Lab 03 - RGB LED Color Cycle Using Python/main.py`)
- RGB Cycle App → LED Color API: sets colors (evidence: `Lab 03 - RGB LED Color Cycle Using Python/main.py`)
- LED Color API → Onboard LEDs: controls RGB LED (evidence: `README.md`)
- Learner → RGB LED Sketch: programs MCU (evidence: `README.md`)
- RGB LED Sketch → Onboard LEDs: drives RGB colors (evidence: `README.md`)
- Learner → Object Detection App: runs lab (evidence: `README.md`)
- Live Camera → Object Detection App: provides live input (evidence: `README.md`)
- Object Detection App → AI Model: identifies objects (evidence: `README.md`)
- Object Detection App → Detection Results: displays detections (evidence: `README.md`)
