# janapalanithish/wireless-component-analyzer architecture

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

- Interactive diagram: https://gitdiagram.com/janapalanithish/wireless-component-analyzer
- Repository: https://github.com/janapalanithish/wireless-component-analyzer

## Overview

This is an ESP32 wireless component analyzer. Its documented capabilities are resistor, capacitor, and diode measurement plus short/open fault detection; the README also describes a physical scan button and a web dashboard. The source excerpts are unavailable, so the graph represents only README-documented capabilities and relationships; it does not infer firmware internals, wireless protocol, or dashboard controls.

Main entry points: [`mpmc_pr.ino`](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino) (Analyzer firmware), [`index.html`](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/index.html) (Web dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_device["Analyzer device"]
  node_button["Scan button<br/>[mpmc_pr.ino]"]
  node_firmware["Analyzer firmware<br/>[mpmc_pr.ino]"]
  node_resistance["Resistance measurement<br/>[mpmc_pr.ino]"]
  node_capacitance["Capacitance measurement<br/>[mpmc_pr.ino]"]
  node_diode["Diode testing<br/>[mpmc_pr.ino]"]
  node_faults["Fault detection<br/>[mpmc_pr.ino]"]
end

subgraph group_interface["User interface"]
  node_dashboard["Web dashboard<br/>[index.html]"]
end

node_user(("User"))
node_dut(("Test component"))

node_button -->|"triggers scan"| node_firmware
node_dut -->|"is measured by"| node_firmware
node_firmware -->|"measures"| node_resistance
node_firmware -->|"measures"| node_capacitance
node_firmware -->|"tests"| node_diode
node_firmware -->|"detects"| node_faults
node_user -->|"uses"| node_dashboard
node_firmware -->|"reports wirelessly"| node_dashboard

click node_button "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_firmware "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_resistance "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_capacitance "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_diode "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_faults "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino"
click node_dashboard "https://github.com/janapalanithish/wireless-component-analyzer/blob/main/index.html"

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_button,node_firmware,node_resistance,node_capacitance,node_diode,node_faults,node_user toneBlue
class node_dashboard toneAmber
class node_dut toneIndigo
```

## Components

### Analyzer device

- [Scan button](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`
- [Analyzer firmware](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`
- [Resistance measurement](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`
- [Capacitance measurement](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`
- [Diode testing](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`
- [Fault detection](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/mpmc_pr.ino): `mpmc_pr.ino`

### User interface

- [Web dashboard](https://github.com/janapalanithish/wireless-component-analyzer/blob/main/index.html): `index.html`

### Other components

- **User**
- **Test component**

## Connections

- Scan button → Analyzer firmware: triggers scan (evidence: `README.md`)
- Test component → Analyzer firmware: is measured by (evidence: `README.md`)
- Analyzer firmware → Resistance measurement: measures (evidence: `README.md`)
- Analyzer firmware → Capacitance measurement: measures (evidence: `README.md`)
- Analyzer firmware → Diode testing: tests (evidence: `README.md`)
- Analyzer firmware → Fault detection: detects (evidence: `README.md`)
- User → Web dashboard: uses (evidence: `README.md`)
- Analyzer firmware → Web dashboard: reports wirelessly (evidence: `README.md`)
