讨论群: 810581215
在 1.0 基础上添加 TYPE-C、DC、快拆接口方便刷机和供电,替换 C3 模块为乐鑫的(安信可和乐鑫关系崩了),PCB 兼容两个版本的 C3 模块,不带天线 ESP32-C3-WROOM-02U-N4 和带天线 ESP32-C3-WROOM-02-H4 ,支持 5V~12V 供电
名称 | 型号 | 数量 | PCB 标注 | 链接 |
---|---|---|---|---|
ME1117A33B3G 封装 SOT-223 | - | 1 | 1117-3 | 购买 |
AOD4184 D4184 N 沟道场效应 MOS 管 50A 40V | - | 1 | A1 | 购买 |
贴片电阻 0603 100R | 0603 100R | 1 | R1 | 购买 |
贴片电阻 0603 10K | 0603 10K | 3 | R2/R3/R4 | 购买 |
整流二极管 SMA 1N4007 M7 214 封装 | - | 1 | D1 | 购买 |
2.4G 内置柔性 FPC 软天线 | - | 1 | - | 购买 |
Type-C 母座 16P | - | 1 | TYPE-C | 购买 |
DC 直流电源插座 | 5.5-2.1mm/2.5mm | 1 | DC | 购买 |
KF142R-5.08-2 | 2P | 1 | KF142R | 购买 |
ESP32-C3-WROOM-02U-N4 | - | 1 | ESP32-C3-WROOM-02-H4 | 购买 |
ESP32-C3-WROOM-02-H4 | - | 1 | ESP32-C3-WROOM-02-H4 | 购买 |
-
灯带
substitutions: device_name: balcony_espwml_sink_light esphome: name: ${device_name} esp32: board: esp32-c3-devkitm-1 framework: type: arduino version: latest logger: level: debug debug: update_interval: 5s api: encryption: key: !secret api_encryption_key ota: - platform: esphome password: !secret ota_password wifi: ssid: !secret wifi_ssid password: !secret wifi_password fast_connect: on web_server: port: 80 version: 3 include_internal: true text_sensor: - platform: wifi_info ip_address: name: ${device_name}_ip icon: mdi:ip-outline internal: true mac_address: name: ${device_name}_mac icon: mdi:map-marker-outline internal: true sensor: - platform: wifi_signal name: ${device_name}_signal icon: mdi:signal internal: true - platform: debug free: name: ${device_name}_free unit_of_measurement: "KB" internal: true filters: - lambda: |- return x / 1024; block: name: ${device_name}_max_block unit_of_measurement: "KB" internal: true filters: - lambda: |- return x / 1024; loop_time: name: ${device_name}_loop_time internal: true - platform: internal_temperature name: ${device_name}_cpu_temprature icon: mdi:thermometer internal: true button: - platform: restart name: ${device_name}_reboot internal: true output: - platform: ledc frequency: 1220Hz pin: 0 id: ${device_name}_ledc light: - platform: monochromatic output: ${device_name}_ledc name: ${device_name} # 过渡长度 default_transition_length: 3s
-
风扇
substitutions: device_name: balcony_espwml_sink_light esphome: name: ${device_name} esp32: board: esp32-c3-devkitm-1 framework: type: arduino version: latest logger: level: debug debug: update_interval: 5s api: encryption: key: !secret api_encryption_key ota: - platform: esphome password: !secret ota_password wifi: ssid: !secret wifi_ssid password: !secret wifi_password fast_connect: on web_server: port: 80 version: 3 include_internal: true text_sensor: - platform: wifi_info ip_address: name: ${device_name}_ip icon: mdi:ip-outline internal: true mac_address: name: ${device_name}_mac icon: mdi:map-marker-outline internal: true sensor: - platform: wifi_signal name: ${device_name}_signal icon: mdi:signal internal: true - platform: debug free: name: ${device_name}_free unit_of_measurement: "KB" internal: true filters: - lambda: |- return x / 1024; block: name: ${device_name}_max_block unit_of_measurement: "KB" internal: true filters: - lambda: |- return x / 1024; loop_time: name: ${device_name}_loop_time internal: true - platform: internal_temperature name: ${device_name}_cpu_temprature icon: mdi:thermometer internal: true button: - platform: restart name: ${device_name}_reboot internal: true output: - platform: ledc frequency: 40000Hz pin: 0 id: ${device_name}_ledc fan: - platform: speed output: ${device_name}_ledc name: ${device_name}