找回密码
 立即注册

微信扫码登录

搜索
查看: 3780|回复: 6

[技术探讨] esp32模块刷esphome固件能不能用来检测电池的电压?

[复制链接]
liqx 

3

主题

159

回帖

1314

积分

金牌会员

积分
1314
金钱
1152
HASS币
0
发表于 2022-5-2 07:50:23 | 显示全部楼层
Analog To Digital Sensor
The Analog To Digital (adc) Sensor allows you to use the built-in ADC in your device to measure a voltage on certain pins. On the ESP8266 only pin A0 (GPIO17) supports this. On the ESP32 pins GPIO32 through GPIO39 can be used.

模数传感器
模数 (adc) 传感器允许您使用设备中的内置 ADC 来测量某些引脚上的电压。 在 ESP8266 上,只有引脚 A0 (GPIO17) 支持此功能。 在 ESP32 引脚上,可以使用 GPIO32 到 GPIO39。

https://esphome.io/components/sensor/adc.html?highlight=adc
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-10-16 03:33 , Processed in 0.106249 second(s), 8 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表