【文件属性】:
文件名称:waterflow_sensor_aka_pulse_counter
文件大小:192KB
文件格式:ZIP
更新时间:2021-02-08 07:10:48
C++
水流传感器-通过MQTT发送数据的脉冲计数器
用Arduino IDE编写。
该计数器使用ESP-01的GPIO3上的中断。
它是“仅通话”客户端。
在检测到脉冲时发送数据。
它会不断增加脉冲,直到断电/复位为止。
MQTT消息包含
pulses - Number of pulses counted since last device boot.
moved_last_half_hour - "1" if rising or falling edges were detected on last half hour.
last_pulse - Last falling pulse detected datetime.
since - ESP8266 last boot date.
版权所有
该库是免费软件。 您可以根据MIT许可条款使用/重新分发它。
【文件预览】:
waterflow_sensor_aka_pulse_counter-main
----waterflow_sensor.h(730B)
----LICENSE(1KB)
----README.md(808B)
----waterflow_sensor.ino(4KB)
----schematic.png(188KB)