Skip to content

Commit 955f1b4

Browse files
committed
Added readme
1 parent 548113a commit 955f1b4

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

README.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,40 @@
11
# SmartHome-Central
2-
If you want to use solution without OTA (Over-The-Air updates):
3-
* delete `main.py`and `OTA.py` from the root
4-
* rename `index.py` to `main.py`
2+
3+
My personal project to learn [Micropython](https://github.com/micropython/micropython) and by utilizing [LVGL](https://github.com/lvgl/lv_binding_micropython) on ILI9341 display
4+
5+
![How it looks](https://user-images.githubusercontent.com/2889604/102701277-187aeb80-425e-11eb-94d0-472f06900519.jpg)
6+
7+
Wire connection diagram
8+
9+
| ESP32 Pin | ILI9341 PIN |
10+
|-----|-----|
11+
| 3v3 | VCC |
12+
| GND | GND |
13+
| 26 | CS |
14+
| 33 | Reset |
15+
| 27 | DC |
16+
| 23 | SDI (Mosi) |
17+
| 18 | SCK |
18+
| 32 | LED |
19+
| 19 | SDO (Miso) |
20+
| 14 | T_CLK |
21+
| 15 | T_CS |
22+
| 13 | T_DIN |
23+
| 12 | T_DO |
24+
| 35 (not used) | T_IRQ |
25+
26+
27+
28+
I could not do with just one ESP32 device (and avoid proxy and MQTT) I could not achieve BLE + HTTP + LVGL in one ESP32 generic device (no PSRAM chip). LVGL [does not play nice](https://github.com/lvgl/lv_binding_micropython/issues/109) together with BLE so I came up with idea to split into two devices- [Proxy](https://github.com/lixas/SmartHome-Central) and Central.
29+
30+
As main thermometers, capable of advertising data via BLE I've used cheap (4€) Xiaomi Thermometer [LYWSD03MMC](https://www.aliexpress.com/item/4000427410383.html) with [custom firmware](https://github.com/atc1441/ATC_MiThermometer)
31+
32+
![Solution Diagram](https://user-images.githubusercontent.com/2889604/102700761-19f5e500-4259-11eb-84ff-5db9f9a1eae0.jpeg)
33+
34+
It uses OpenWeatherMap as weather data provider. To use your location, edit `sensor/weather.py` @115 request url
35+
36+
37+
38+
Planned:
39+
* OTA (Over-The-Air) updates
40+
* Shopping list

0 commit comments

Comments
 (0)