2025-01-19 11:38:34 +01:00
|
|
|
# ESPHome configuration for myStrom motion sensor
|
2025-01-18 20:22:35 +01:00
|
|
|
|
|
|
|
## Flash
|
|
|
|
|
|
|
|
```
|
2025-01-18 23:23:35 +01:00
|
|
|
DAUGHTER (marking right way up)
|
2025-01-19 11:48:24 +01:00
|
|
|
|
2025-01-18 23:23:35 +01:00
|
|
|
JP2 [VCC][GND]
|
|
|
|
|
|
|
|
MAIN (antenna on the left)
|
|
|
|
|
|
|
|
(○) TP6/VCC
|
|
|
|
|
|
|
|
TP2/RX (○)
|
2025-01-19 13:30:24 +01:00
|
|
|
(○) I2C bus
|
|
|
|
TP1/TX (○) (○) I2C bus
|
2025-01-18 23:23:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(○) TP7/GND
|
|
|
|
(○) TP5/GPIO0
|
2025-01-19 11:48:24 +01:00
|
|
|
|
|
|
|
WIRING
|
|
|
|
|
|
|
|
GPIO0 ➙ GND (Bootloader mode)
|
|
|
|
TX ➙ Programmer's RX
|
|
|
|
RX ➙ Programmer's TX
|
|
|
|
VCC ➙ +3.3V
|
|
|
|
GND ➙ 0V (GND)
|
2025-01-18 20:22:35 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Schematics
|
|
|
|
|
2025-01-19 11:26:18 +01:00
|
|
|
|
|
|
|
```mermaid
|
2025-01-19 11:42:31 +01:00
|
|
|
---
|
|
|
|
title: myStrom motion sensor peripherals diagram
|
|
|
|
---
|
2025-01-19 11:26:18 +01:00
|
|
|
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
|
|
|
|
}
|
2025-01-18 20:22:35 +01:00
|
|
|
|
|
|
|
```
|