Skip to content

lixas/SmartHome-Central

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micropython + LVGL firmware for ESP32 PSRAM and 16MB flash boards added

SmartHome-Central

My personal project to learn Micropython and by utilizing LVGL on ILI9341 display

How it looks

Wire connection diagram

ESP32 Pin ILI9341 PIN
3v3 VCC
GND GND
26 CS
33 Reset
27 DC
23 SDI (Mosi)
18 SCK
32 LED
19 SDO (Miso)
14 T_CLK
15 T_CS
13 T_DIN
12 T_DO
35 (not used) T_IRQ

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 together with BLE so I came up with idea to split into two devices- Proxy and Central.

As main thermometers, capable of advertising data via BLE I've used cheap (4€) Xiaomi Thermometer LYWSD03MMC with custom firmware

Solution Diagram

It uses OpenWeatherMap as weather data provider. To use your location, edit sensor/weather.py @115 request url

Planned:

  • OTA (Over-The-Air) updates
  • Shopping list

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages