# ronan-dee/plc_iot_industrial_esp32 architecture

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

- Interactive diagram: https://gitdiagram.com/ronan-dee/plc_iot_industrial_esp32
- Repository: https://github.com/ronan-dee/plc_iot_industrial_esp32

## Overview

This repository is a hands-on course and example collection for building PLC and Industrial IoT systems with an ESP32 industrial controller, rather than one unified runtime application. The documented learning path moves from controller fundamentals and I/O through automation logic and analog sensing, then industrial protocols, MQTT, dashboards and data analysis, and finally AI and projects. The graph maps these stages to the available lesson folders and examples. Relationships follow the README’s course outline; source excerpts were not provided, so implementation-level calls are not inferred.

Main entry points: [`README.md`](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md) (Course overview), [`EP_01/Resource.md`](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_01/Resource.md) (PLC and ESP32), [`EP_02/EP2_Ladder_ESP32.ino`](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_02/EP2_Ladder_ESP32.ino) (Digital I/O), [`EP_03/Example.md`](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_03/Example.md) (PLC logic)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Course foundations"]
  node_course["Course overview<br/>[README.md]"]
  node_intro["PLC and ESP32<br/>[Resource.md]"]
end

subgraph group_controller["PLC control"]
  node_digital["Digital I/O"]
  node_logic["PLC logic<br/>[Example.md]"]
  node_proximity["Proximity sensing"]
  node_analog["Analog I/O"]
  node_adio["I/O configuration"]
end

subgraph group_communications["Industrial communications"]
  node_modbus["Modbus examples"]
  node_protocols["Protocol concepts"]
end

subgraph group_iot["IoT and applications"]
  node_mqtt["MQTT examples"]
  node_dashboard["Node-RED flows"]
  node_data["Data analysis<br/>[README.md]"]
  node_ai["AI applications<br/>[Prompt_AI.txt]"]
  node_projects["Integration projects<br/>[README.md]"]
end

node_learner(("Learner"))

node_learner -->|"follows"| node_course
node_course -->|"starts with"| node_intro
node_course -->|"covers next"| node_digital
node_course -->|"covers next"| node_logic
node_course -->|"covers sensing"| node_proximity
node_course -->|"covers sensing"| node_analog
node_course -->|"covers configuration"| node_adio
node_course -->|"covers protocols"| node_protocols
node_course -->|"includes examples"| node_modbus
node_course -->|"covers IoT"| node_mqtt
node_course -->|"covers dashboards"| node_dashboard
node_course -->|"covers analysis"| node_data
node_course -->|"covers AI"| node_ai
node_course -->|"culminates in"| node_projects

click node_course "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md"
click node_intro "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_01/Resource.md"
click node_digital "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_02/EP2_Ladder_ESP32.ino"
click node_logic "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_03/Example.md"
click node_proximity "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_04/Example_01/EP_04_EX01_Ploximity.ino"
click node_analog "https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_05/Example_Code"
click node_adio "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_06/EQSP32_ADIO_Configuration_Demo/EQSP32_ADIO_Configuration_Demo.ino"
click node_modbus "https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_08/Source_Code"
click node_protocols "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_07/Industrial-Communication-Protocols.pdf"
click node_mqtt "https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_09/Source_Code"
click node_dashboard "https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_07/Node_Red_Flow"
click node_data "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md"
click node_ai "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_02/Prompt_AI.txt"
click node_projects "https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md"

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_course,node_intro toneBlue
class node_digital,node_logic,node_proximity,node_analog,node_adio toneAmber
class node_modbus,node_protocols toneMint
class node_mqtt,node_dashboard,node_data,node_ai,node_projects toneRose
class node_learner toneIndigo
```

## Components

### Course foundations

- [Course overview](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md): `README.md`
- [PLC and ESP32](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_01/Resource.md): `EP_01/Resource.md`

### PLC control

- [Digital I/O](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_02/EP2_Ladder_ESP32.ino): `EP_02/EP2_Ladder_ESP32.ino`
- [PLC logic](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_03/Example.md): `EP_03/Example.md`
- [Proximity sensing](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_04/Example_01/EP_04_EX01_Ploximity.ino): `EP_04/Example_01/EP_04_EX01_Ploximity.ino`
- [Analog I/O](https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_05/Example_Code): `EP_05/Example_Code`
- [I/O configuration](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_06/EQSP32_ADIO_Configuration_Demo/EQSP32_ADIO_Configuration_Demo.ino): `EP_06/EQSP32_ADIO_Configuration_Demo/EQSP32_ADIO_Configuration_Demo.ino`

### Industrial communications

- [Modbus examples](https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_08/Source_Code): `EP_08/Source_Code`
- [Protocol concepts](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_07/Industrial-Communication-Protocols.pdf): `EP_07/Industrial-Communication-Protocols.pdf`

### IoT and applications

- [MQTT examples](https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_09/Source_Code): `EP_09/Source_Code`
- [Node-RED flows](https://github.com/ronan-dee/plc_iot_industrial_esp32/tree/main/EP_07/Node_Red_Flow): `EP_07/Node_Red_Flow`
- [Data analysis](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md): `README.md`
- [AI applications](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/EP_02/Prompt_AI.txt): `EP_02/Prompt_AI.txt`
- [Integration projects](https://github.com/ronan-dee/plc_iot_industrial_esp32/blob/main/README.md): `README.md`

### Other components

- **Learner**

## Connections

- Learner → Course overview: follows (evidence: `README.md`)
- Course overview → PLC and ESP32: starts with (evidence: `README.md`)
- Course overview → Digital I/O: covers next (evidence: `README.md`)
- Course overview → PLC logic: covers next (evidence: `README.md`)
- Course overview → Proximity sensing: covers sensing (evidence: `README.md`)
- Course overview → Analog I/O: covers sensing (evidence: `README.md`)
- Course overview → I/O configuration: covers configuration (evidence: `README.md`)
- Course overview → Protocol concepts: covers protocols (evidence: `README.md`)
- Course overview → Modbus examples: includes examples (evidence: `README.md`)
- Course overview → MQTT examples: covers IoT (evidence: `README.md`)
- Course overview → Node-RED flows: covers dashboards (evidence: `README.md`)
- Course overview → Data analysis: covers analysis (evidence: `README.md`)
- Course overview → AI applications: covers AI (evidence: `README.md`)
- Course overview → Integration projects: culminates in (evidence: `README.md`)
