Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自制能源监测仪 #330

Open
Bpazy opened this issue Aug 12, 2024 · 2 comments
Open

自制能源监测仪 #330

Bpazy opened this issue Aug 12, 2024 · 2 comments

Comments

@Bpazy
Copy link
Owner

Bpazy commented Aug 12, 2024

硬件: ES32 + PZEM-004T + DHT20
固件: ESPHome

ESP32

采购于淘宝的「泽杰旗舰店」,ESP32 WROOM CH340 芯片版本的开发板。

管脚定义:
image

PZEM-004T

该模块主要用于测量交流电压、电流、有功功率、频率、功率因数和有功能量,模块无显示功能,数据通过 TTL 接口读取。

esphome 接入文档: https://esphome.io/components/sensor/pzemac.html

有一个现有项目的配置文件可参考: https://github.com/helloworlde/pzem-004t

(该组件废弃)DS18B20

变更为 DHT20

温度检测。需要 4.7k 上拉电阻,如图:
image

DHT20

内置 AHT20,esphome 接入文档: https://esphome.io/components/sensor/aht10.html

@Bpazy
Copy link
Owner Author

Bpazy commented Aug 14, 2024

ESPHome 配置

转到仓库: https://github.com/Bpazy/pzem-004t

@Bpazy
Copy link
Owner Author

Bpazy commented Aug 19, 2024

成品展示

image
a
a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant