feat: 智能家居控制系统 v1.0 初始版本

- 环境监测:温湿度/光照/空气质量传感器采集
- 智能控制:时间段/降温/通风三种自动模式
- 闹钟系统:3个闹钟+温和唤醒功能
- 远程控制:MQTT双向通信
- 本地显示:LVGL图形界面
- 双MCU架构,FreeRTOS 10任务并行
- 完整的1250行README文档
This commit is contained in:
Wang Beihong
2026-02-07 23:04:28 +08:00
commit a0febb1e5b
54 changed files with 7918 additions and 0 deletions

6
main/CMakeLists.txt Normal file
View File

@@ -0,0 +1,6 @@
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
PRIV_REQUIRES esp_wifi cjson nvs_flash lvgl_st7735s_use esp_driver_i2c esp_type_utils esp_timer espressif__servo esp_event esp_netif serial_mcu mqtt
WHOLE_ARCHIVE
)

31
main/idf_component.yml Normal file
View File

@@ -0,0 +1,31 @@
## IDF Component Manager Manifest File
dependencies:
## Required IDF version
idf:
version: '>=4.1.0'
# # Put list of dependencies here
# # For components maintained by Espressif:
# component: "~1.0.0"
# # For 3rd party components:
# username/component: ">=1.0.0,<2.0.0"
# username2/component2:
# version: "~1.0.0"
# # For transient dependencies `public` flag can be set.
# # `public` flag doesn't have an effect dependencies of the `main` component.
# # All dependencies of `main` are public by default.
# public: true
protocol_examples_common:
path: ../components/protocol_examples_common
espressif/esp_lvgl_port: ^2.7.0
k0i05/esp_ahtxx: ^1.2.7
espressif/bh1750: ^2.0.0
espressif/servo: ^0.1.0
espressif/mqtt: ^1.0.0
espressif/cjson: ^1.7.19

3127
main/main.c Normal file

File diff suppressed because it is too large Load Diff