BLE to WiFi gateway (ESP32) for Home Assistant

Jan 1, 2021 6:23 PM

zCougar

Views

1169

Likes

9

Dislikes

1

SMA to U.FL adapter cable mounted to 12V wall adapter

Flashing ESP32-WROOM-32U with ESPHome firmware

1.27mm (.050″) pitch connector for easy cabling. Connector to another side can be soldered later if needed (for a serial programming)

RC delay circuit for EN pin as suggested by Espressif. Connecting EN to VCC only via 10k resistor works as well but capacitor makes it more reliable and there is enough space to add that

12V to 3.3V step down converter sealed inside heat-shrinkable tube and connected with module. 12V adapter was needed only because I didn't have 5V to 3.3V converter on hand

This is how it looks like before connecting antenna and wrapping all pieces inside the adapter. Some Kapton tape was added around the ESP32 module to keep everything together and insulated

ESP32 module attached to the adapter enclosure with a piece of double sided tape

Fully mounted adapter. Could be also glued together but this is good enough right now and you never know when you need to open that up

homeassistant

esp32

iot

homeautomation

diy

1.27mm ≈ 50 thousandths of an inch

4 years ago | Likes 1 Dislikes 0

Whats it for

4 years ago | Likes 1 Dislikes 0

Reading XIAOMI Mijia Bluetooth Thermometer/Hygrometer data and sending to Home Assistant

4 years ago | Likes 1 Dislikes 0