# jesusdavidrinconrivera/esp32-5sensores-i2c architecture

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

- Interactive diagram: https://gitdiagram.com/jesusdavidrinconrivera/esp32-5sensores-i2c
- Repository: https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c

## Overview

Este repositorio reúne sketches Arduino para ESP32 y documentación para leer cinco circuitos Atlas EZO por I2C. El flujo documentado comienza verificando la placa con el sketch del LED y continúa con lecturas de pH, EC, DO, ORP y RTD. El README también describe las capacidades y calibración de cada circuito. No hay extractos de código disponibles, así que las relaciones se limitan a las que documenta el README; el sketch de calibración se incluye sin atribuirle comportamiento no verificado.

Main entry points: [`esp32_5sensores_i2c.ino`](https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/esp32_5sensores_i2c.ino) (Lectura I2C), [`ESP32_LedTest/ESP32_LedTest.ino`](https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/ESP32_LedTest/ESP32_LedTest.ino) (Prueba LED)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_firmware["Sketche​s ESP32"]
  node_ledtest["Prueba LED<br/>[ESP32_LedTest.ino]"]
  node_main["Lectura I2C"]
  node_calibration["Sketch calibración"]
end

subgraph group_sensors["Circuitos EZO"]
  node_do{{"EZO-DO"}}
  node_orp{{"EZO-ORP"}}
  node_ph{{"EZO-pH"}}
  node_ec{{"EZO-EC"}}
  node_rtd{{"EZO-RTD"}}
end

node_user(("Usuario"))

node_user -->|"verifica primero"| node_ledtest
node_main -->|"lee por I2C"| node_do
node_main -->|"lee por I2C"| node_orp
node_main -->|"lee por I2C"| node_ph
node_main -->|"lee por I2C"| node_ec
node_main -->|"lee por I2C"| node_rtd

click node_ledtest "https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/ESP32_LedTest/ESP32_LedTest.ino"
click node_main "https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/esp32_5sensores_i2c.ino"
click node_calibration "https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/ESP32_Calibracion/ESP32_Calibracion.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_ledtest,node_main,node_calibration toneBlue
class node_do,node_orp,node_ph,node_ec,node_rtd toneAmber
class node_user toneIndigo
```

## Components

### Sketche​s ESP32

- [Prueba LED](https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/ESP32_LedTest/ESP32_LedTest.ino): `ESP32_LedTest/ESP32_LedTest.ino`
- [Lectura I2C](https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/esp32_5sensores_i2c.ino): `esp32_5sensores_i2c.ino`
- [Sketch calibración](https://github.com/jesusdavidrinconrivera/esp32-5sensores-i2c/blob/master/ESP32_Calibracion/ESP32_Calibracion.ino): `ESP32_Calibracion/ESP32_Calibracion.ino`

### Circuitos EZO

- **EZO-DO**
- **EZO-ORP**
- **EZO-pH**
- **EZO-EC**
- **EZO-RTD**

### Other components

- **Usuario**

## Connections

- Usuario → Prueba LED: verifica primero (evidence: `README.md`)
- Lectura I2C → EZO-DO: lee por I2C (evidence: `README.md`)
- Lectura I2C → EZO-ORP: lee por I2C (evidence: `README.md`)
- Lectura I2C → EZO-pH: lee por I2C (evidence: `README.md`)
- Lectura I2C → EZO-EC: lee por I2C (evidence: `README.md`)
- Lectura I2C → EZO-RTD: lee por I2C (evidence: `README.md`)
