From 96fdb9ab5081c5c4c86794d1b63171690a5b4597 Mon Sep 17 00:00:00 2001 From: pierre Date: Sun, 19 Jan 2025 10:09:31 +0100 Subject: [PATCH] Actualiser mystrom-wifi-button-plus/README.md --- mystrom-wifi-button-plus/README.md | 41 ++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/mystrom-wifi-button-plus/README.md b/mystrom-wifi-button-plus/README.md index f9d677a..77061a3 100644 --- a/mystrom-wifi-button-plus/README.md +++ b/mystrom-wifi-button-plus/README.md @@ -13,19 +13,34 @@ JP1 ## Schematics -``` -━━━┓ - ┣━ I2C bus (GPIO21/GPIO22) ━ SHTC3 - E ┣━ Top left key (GPIO38) & deep sleep wake up - S ┣━ Top right key (GPIO39) - P ┣━ Bottom left key (GPIO37) - ┣━ Bottom right key (GPIO36) - 3 ┣━ Red LED (GPIO4) - 2 ┣━ Green LED (GPIO18) - ┣━ White LED (GPIO23) - ┣━ USB power probe (GPIO33) - ┣━ ADC ━ Battery probe (GPIO32) -━━━┛ +```mermaid +erDiagram + ESP32 { + } + + ESP32 ||--|| GPIOs : "" + ESP32 ||--|| I2C : "" + ESP32 ||--|| ADC : "" + + I2C { + GPIO21-GPIO22 SHTC3 + } + + + ADC { + GPIO32 Battery-probe + } + + GPIOs { + GPIO38 Top-left-key + GPIO39 Top-right-key + GPIO37 Bottom-left-key + GPIO36 Bottom-right-key + GPIO04 Red-LED + GPIO18 Green-LED + GPIO23 White-LED + GPIO33 USB-power-probe + } ```