diff --git a/mystrom-motion-sensor/README.md b/mystrom-motion-sensor/README.md index d71e137..d006b47 100644 --- a/mystrom-motion-sensor/README.md +++ b/mystrom-motion-sensor/README.md @@ -18,20 +18,29 @@ MAIN (antenna on the left) (○) TP7/GND (○) TP5/GPIO0 - - ``` ## Schematics -``` -━━━┓ - E ┣━ I2C bus (GPIO22/GPIO19) ━ TSL2561 - S ┣ ━ TMP102 - P ┣━ Plus key (GPIO14) - ┣━ PIR sensor (GPIO33) - 3 ┣━ Red LED (GPIO16) - 2 ┣━ White LED (GPIO17) -━━━┛ + +```mermaid +erDiagram + ESP32 { + } + + ESP32 ||--|| GPIOs : "" + ESP32 ||--|| I2C : "" + + I2C { + GPIO22-GPIO19 TSL2561 + GPIO22-GPIO19 TMP102 + } + + GPIOs { + GPIO14 Plus-key + GPIO33 PIR-sensor + GPIO16 Red-LED + GPIO17 White-LED + } ``` \ No newline at end of file