# sciapurv/esp32_scimorse_v1.1 architecture

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

- Interactive diagram: https://gitdiagram.com/sciapurv/esp32_scimorse_v1.1
- Repository: https://github.com/sciapurv/esp32_scimorse_v1.1

## Overview

SCiMORSE is an ESP32 Morse-code trainer with browser-based transmission and on-device learning controls. The documented web workflow is: connect a phone or laptop to the device’s Wi-Fi access point, enter text in its web interface, and transmit Morse with light and sound. On-device capabilities include practice, adjustable speed, a Morse chart, OLED feedback, and settings for LED and buzzer. Source excerpts were unavailable, so components and relationships below rely on README claims; firmware components share the single sketch path.

Main entry points: [`SCIMORSE_v1.1.ino`](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino) (Menus and Settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web Transmission"]
  node_access_point["Wi-Fi Access Point<br/>[SCIMORSE_v1.1.ino]"]
  node_web_interface["Web Interface<br/>[SCIMORSE_v1.1.ino]"]
  node_text_entry["Text Entry<br/>[SCIMORSE_v1.1.ino]"]
  node_morse_transmission["Morse Transmission<br/>[SCIMORSE_v1.1.ino]"]
end

subgraph group_learning["On-Device Learning"]
  node_buttons["Five-Button Controls<br/>[SCIMORSE_v1.1.ino]"]
  node_menu["Menus and Settings<br/>[SCIMORSE_v1.1.ino]"]
  node_practice["Practice Mode<br/>[SCIMORSE_v1.1.ino]"]
  node_speed["WPM Setting<br/>[SCIMORSE_v1.1.ino]"]
  node_chart["Morse Chart<br/>[SCIMORSE_v1.1.ino]"]
end

subgraph group_feedback["Hardware Feedback"]
  node_oled["OLED Feedback<br/>[SCIMORSE_v1.1.ino]"]
  node_led["LED Signals<br/>[SCIMORSE_v1.1.ino]"]
  node_buzzer["Buzzer Signals<br/>[SCIMORSE_v1.1.ino]"]
end

node_user(("Learner"))
node_browser["Phone or Laptop"]

node_user -->|"connects to"| node_access_point
node_browser -->|"connects to"| node_access_point
node_browser -->|"opens"| node_web_interface
node_user -->|"enters text"| node_text_entry
node_web_interface -->|"initiates"| node_morse_transmission
node_user -->|"operates"| node_buttons
node_buttons -->|"navigates"| node_menu
node_menu -->|"selects"| node_practice
node_menu -->|"adjusts"| node_speed
node_menu -->|"opens"| node_chart
node_menu -->|"toggles"| node_led
node_menu -->|"toggles"| node_buzzer
node_morse_transmission -->|"signals with"| node_led
node_morse_transmission -->|"signals with"| node_buzzer
node_practice -->|"shows feedback"| node_oled
node_chart -->|"displays on"| node_oled

click node_access_point "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_web_interface "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_text_entry "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_morse_transmission "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_buttons "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_menu "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_practice "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_speed "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_chart "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_oled "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_led "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino"
click node_buzzer "https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.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_access_point,node_web_interface,node_text_entry,node_morse_transmission toneBlue
class node_buttons,node_menu,node_practice,node_speed,node_chart toneAmber
class node_oled,node_led,node_buzzer toneMint
class node_user,node_browser toneIndigo
```

## Components

### Web Transmission

- [Wi-Fi Access Point](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Web Interface](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Text Entry](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Morse Transmission](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`

### On-Device Learning

- [Five-Button Controls](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Menus and Settings](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Practice Mode](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [WPM Setting](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Morse Chart](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`

### Hardware Feedback

- [OLED Feedback](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [LED Signals](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`
- [Buzzer Signals](https://github.com/sciapurv/esp32_scimorse_v1.1/blob/main/SCIMORSE_v1.1.ino): `SCIMORSE_v1.1.ino`

### Other components

- **Learner**
- **Phone or Laptop**

## Connections

- Learner → Wi-Fi Access Point: connects to (evidence: `README.md`)
- Phone or Laptop → Wi-Fi Access Point: connects to (evidence: `README.md`)
- Phone or Laptop → Web Interface: opens (evidence: `README.md`)
- Learner → Text Entry: enters text (evidence: `README.md`)
- Web Interface → Morse Transmission: initiates (evidence: `README.md`)
- Learner → Five-Button Controls: operates (evidence: `README.md`)
- Five-Button Controls → Menus and Settings: navigates (evidence: `README.md`)
- Menus and Settings → Practice Mode: selects (evidence: `README.md`)
- Menus and Settings → WPM Setting: adjusts (evidence: `README.md`)
- Menus and Settings → Morse Chart: opens (evidence: `README.md`)
- Menus and Settings → LED Signals: toggles (evidence: `README.md`)
- Menus and Settings → Buzzer Signals: toggles (evidence: `README.md`)
- Morse Transmission → LED Signals: signals with (evidence: `README.md`)
- Morse Transmission → Buzzer Signals: signals with (evidence: `README.md`)
- Practice Mode → OLED Feedback: shows feedback (evidence: `README.md`)
- Morse Chart → OLED Feedback: displays on (evidence: `README.md`)
