# ferman333/esp32-dr-examples architecture

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

- Interactive diagram: https://gitdiagram.com/ferman333/esp32-dr-examples
- Repository: https://github.com/ferman333/esp32-dr-examples

## Overview

This repository is a collection of independent ESP32/Arduino hardware sketches, not one integrated application. Its examples cover wireless communication, sensors and peripherals, displays and controls, storage, and camera streaming. A typical sketch reads or receives device input and then reports, displays, stores, or transmits it; the exact workflows vary by example. The camera examples are the best-supported internal view: their HTTP handlers serve camera-related responses and use a bundled web asset, while board configuration selects pin definitions. Other sketch relationships are left unspecified because their source was not sampled and the README is empty.

Main entry points: [`web_camera01/app_httpd.cpp`](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/app_httpd.cpp) (Camera HTTP handlers), [`web_camera01/board_config.h`](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/board_config.h) (Camera board config), [`web_camera02/app_httpd.cpp`](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/app_httpd.cpp) (Camera HTTP handlers), [`web_camera02/board_config.h`](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/board_config.h) (Camera board config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_wireless["Wireless communication"]
  node_bt["Bluetooth serial<br/>[BTSerial01.ino]"]
  node_ble1["BLE server example<br/>[ble-server01.ino]"]
  node_ble2["BLE server variant<br/>[ble-server02.ino]"]
  node_espnow_tx["ESP-NOW sender<br/>[esp_now_send01.ino]"]
  node_espnow_rx["ESP-NOW receiver<br/>[esp_now_recv01.ino]"]
  node_wifi["Wi-Fi examples<br/>[wifi01-esp32.ino]"]
end

subgraph group_sensing["Sensors and telemetry"]
  node_gps_web["GPS web telemetry"]
  node_gps_wifi["GPS Wi-Fi example"]
  node_gps_lcd["GPS LCD example"]
  node_sensor_examples["Sensor sketches<br/>[gy87_01.ino]"]
  node_ina["Power monitor<br/>[ina219_01.ino]"]
  node_temperature["Temperature examples<br/>[temperatura1.ino]"]
end

subgraph group_interaction["Displays and controls"]
  node_display["Display examples<br/>[oled01.ino]"]
  node_lcd["LCD examples"]
  node_ir["IR receive and send"]
  node_motor["Motor control<br/>[motor_L298N-01.ino]"]
end

subgraph group_camera["Camera examples"]
  node_web1["Camera HTTP handlers<br/>[app_httpd.cpp]"]
  node_webui1["Bundled camera UI<br/>[camera_index.h]"]
  node_pins1["Camera pin map<br/>[camera_pins.h]"]
  node_board1["Camera board config<br/>[board_config.h]"]
  node_web2["Camera HTTP handlers<br/>[app_httpd.cpp]"]
  node_webui2["Bundled camera UI<br/>[camera_index.h]"]
  node_pins2["Camera pin map<br/>[camera_pins.h]"]
  node_board2["Camera board config<br/>[board_config.h]"]
  node_sdcam["SD camera example<br/>[sd-camera01.ino]"]
end

subgraph group_storage["Local storage"]
  node_sd["SD card example<br/>[SD_card01.ino]"]
  node_littlefs["LittleFS example<br/>[LITTLEFS_ex01.ino]"]
end

node_user(("User / device peer"))

node_web1 -->|"uses embedded UI"| node_webui1
node_web2 -->|"uses embedded UI"| node_webui2
node_board1 -->|"includes pin map"| node_pins1
node_board2 -->|"includes pin map"| node_pins2

click node_bt "https://github.com/ferman333/esp32-dr-examples/blob/main/BTSerial01/BTSerial01.ino"
click node_ble1 "https://github.com/ferman333/esp32-dr-examples/blob/main/ble-server01/ble-server01.ino"
click node_ble2 "https://github.com/ferman333/esp32-dr-examples/blob/main/ble-server02/ble-server02.ino"
click node_espnow_tx "https://github.com/ferman333/esp32-dr-examples/blob/main/esp_now_send01/esp_now_send01.ino"
click node_espnow_rx "https://github.com/ferman333/esp32-dr-examples/blob/main/esp_now_recv01/esp_now_recv01.ino"
click node_wifi "https://github.com/ferman333/esp32-dr-examples/blob/main/wifi01-esp32/wifi01-esp32.ino"
click node_gps_web "https://github.com/ferman333/esp32-dr-examples/blob/main/GPS_Reciever_Data_on_Web_Server/GPS_Reciever_Data_on_Web_Server.ino"
click node_gps_wifi "https://github.com/ferman333/esp32-dr-examples/blob/main/gps_esp32-wifi01/gps_esp32-wifi01.ino"
click node_gps_lcd "https://github.com/ferman333/esp32-dr-examples/blob/main/gps_esp32_lcd01/gps_esp32_lcd01.ino"
click node_sensor_examples "https://github.com/ferman333/esp32-dr-examples/blob/main/gy87_01/gy87_01.ino"
click node_ina "https://github.com/ferman333/esp32-dr-examples/blob/main/ina219_01/ina219_01.ino"
click node_temperature "https://github.com/ferman333/esp32-dr-examples/blob/main/temperatura1/temperatura1.ino"
click node_display "https://github.com/ferman333/esp32-dr-examples/blob/main/oled01/oled01.ino"
click node_lcd "https://github.com/ferman333/esp32-dr-examples/blob/main/lcd-screen01-esp32/lcd-screen01-esp32.ino"
click node_ir "https://github.com/ferman333/esp32-dr-examples/blob/main/IR-recv_and_sender01/IR-recv_and_sender01.ino"
click node_motor "https://github.com/ferman333/esp32-dr-examples/blob/main/motor_L298N-01/motor_L298N-01.ino"
click node_web1 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/app_httpd.cpp"
click node_webui1 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/camera_index.h"
click node_pins1 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/camera_pins.h"
click node_board1 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/board_config.h"
click node_web2 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/app_httpd.cpp"
click node_webui2 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/camera_index.h"
click node_pins2 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/camera_pins.h"
click node_board2 "https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/board_config.h"
click node_sdcam "https://github.com/ferman333/esp32-dr-examples/blob/main/sd-camera01/sd-camera01.ino"
click node_sd "https://github.com/ferman333/esp32-dr-examples/blob/main/SD_card01/SD_card01.ino"
click node_littlefs "https://github.com/ferman333/esp32-dr-examples/blob/main/LITTLEFS_ex01/LITTLEFS_ex01.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_bt,node_ble1,node_ble2,node_espnow_tx,node_espnow_rx,node_wifi,node_user toneBlue
class node_gps_web,node_gps_wifi,node_gps_lcd,node_sensor_examples,node_ina,node_temperature toneAmber
class node_display,node_lcd,node_ir,node_motor toneMint
class node_web1,node_webui1,node_pins1,node_board1,node_web2,node_webui2,node_pins2,node_board2,node_sdcam toneRose
class node_sd,node_littlefs toneIndigo
```

## Components

### Wireless communication

- [Bluetooth serial](https://github.com/ferman333/esp32-dr-examples/blob/main/BTSerial01/BTSerial01.ino): `BTSerial01/BTSerial01.ino`
- [BLE server example](https://github.com/ferman333/esp32-dr-examples/blob/main/ble-server01/ble-server01.ino): `ble-server01/ble-server01.ino`
- [BLE server variant](https://github.com/ferman333/esp32-dr-examples/blob/main/ble-server02/ble-server02.ino): `ble-server02/ble-server02.ino`
- [ESP-NOW sender](https://github.com/ferman333/esp32-dr-examples/blob/main/esp_now_send01/esp_now_send01.ino): `esp_now_send01/esp_now_send01.ino`
- [ESP-NOW receiver](https://github.com/ferman333/esp32-dr-examples/blob/main/esp_now_recv01/esp_now_recv01.ino): `esp_now_recv01/esp_now_recv01.ino`
- [Wi-Fi examples](https://github.com/ferman333/esp32-dr-examples/blob/main/wifi01-esp32/wifi01-esp32.ino): `wifi01-esp32/wifi01-esp32.ino`

### Sensors and telemetry

- [GPS web telemetry](https://github.com/ferman333/esp32-dr-examples/blob/main/GPS_Reciever_Data_on_Web_Server/GPS_Reciever_Data_on_Web_Server.ino): `GPS_Reciever_Data_on_Web_Server/GPS_Reciever_Data_on_Web_Server.ino`
- [GPS Wi-Fi example](https://github.com/ferman333/esp32-dr-examples/blob/main/gps_esp32-wifi01/gps_esp32-wifi01.ino): `gps_esp32-wifi01/gps_esp32-wifi01.ino`
- [GPS LCD example](https://github.com/ferman333/esp32-dr-examples/blob/main/gps_esp32_lcd01/gps_esp32_lcd01.ino): `gps_esp32_lcd01/gps_esp32_lcd01.ino`
- [Sensor sketches](https://github.com/ferman333/esp32-dr-examples/blob/main/gy87_01/gy87_01.ino): `gy87_01/gy87_01.ino`
- [Power monitor](https://github.com/ferman333/esp32-dr-examples/blob/main/ina219_01/ina219_01.ino): `ina219_01/ina219_01.ino`
- [Temperature examples](https://github.com/ferman333/esp32-dr-examples/blob/main/temperatura1/temperatura1.ino): `temperatura1/temperatura1.ino`

### Displays and controls

- [Display examples](https://github.com/ferman333/esp32-dr-examples/blob/main/oled01/oled01.ino): `oled01/oled01.ino`
- [LCD examples](https://github.com/ferman333/esp32-dr-examples/blob/main/lcd-screen01-esp32/lcd-screen01-esp32.ino): `lcd-screen01-esp32/lcd-screen01-esp32.ino`
- [IR receive and send](https://github.com/ferman333/esp32-dr-examples/blob/main/IR-recv_and_sender01/IR-recv_and_sender01.ino): `IR-recv_and_sender01/IR-recv_and_sender01.ino`
- [Motor control](https://github.com/ferman333/esp32-dr-examples/blob/main/motor_L298N-01/motor_L298N-01.ino): `motor_L298N-01/motor_L298N-01.ino`

### Camera examples

- [Camera HTTP handlers](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/app_httpd.cpp): `web_camera01/app_httpd.cpp`
- [Bundled camera UI](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/camera_index.h): `web_camera01/camera_index.h`
- [Camera pin map](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/camera_pins.h): `web_camera01/camera_pins.h`
- [Camera board config](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera01/board_config.h): `web_camera01/board_config.h`
- [Camera HTTP handlers](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/app_httpd.cpp): `web_camera02/app_httpd.cpp`
- [Bundled camera UI](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/camera_index.h): `web_camera02/camera_index.h`
- [Camera pin map](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/camera_pins.h): `web_camera02/camera_pins.h`
- [Camera board config](https://github.com/ferman333/esp32-dr-examples/blob/main/web_camera02/board_config.h): `web_camera02/board_config.h`
- [SD camera example](https://github.com/ferman333/esp32-dr-examples/blob/main/sd-camera01/sd-camera01.ino): `sd-camera01/sd-camera01.ino`

### Local storage

- [SD card example](https://github.com/ferman333/esp32-dr-examples/blob/main/SD_card01/SD_card01.ino): `SD_card01/SD_card01.ino`
- [LittleFS example](https://github.com/ferman333/esp32-dr-examples/blob/main/LITTLEFS_ex01/LITTLEFS_ex01.ino): `LITTLEFS_ex01/LITTLEFS_ex01.ino`

### Other components

- **User / device peer**

## Connections

- Camera HTTP handlers → Bundled camera UI: uses embedded UI (evidence: `web_camera01/app_httpd.cpp`)
- Camera HTTP handlers → Bundled camera UI: uses embedded UI (evidence: `web_camera02/app_httpd.cpp`)
- Camera board config → Camera pin map: includes pin map (evidence: `web_camera01/board_config.h`)
- Camera board config → Camera pin map: includes pin map (evidence: `web_camera02/board_config.h`)
