积分 679
金钱 521
威望 0
贡献 0
HASS币 10
高级会员
积分 679
金钱 521
HASS币 10
看到大神发的一个帖子https://bbs.hassbian.com/thread-5978-1-1.html ,于是想按照这个思路做一个手势感应的开关。按照文档https://github.com/arendst/Sonoff-Tasmota/wiki/APDS-9960 都配置好之后,发现这个传感器的基本上处于罢工的状态。
10:49:12 MQT: tele/sonoff/SENSOR = {"Time":"2019-10-22T10:49:12","DHT11":{"Temperature":31.6,"Humidity":36.0},"TempUnit":"C"}
10:49:35 MQT: tele/sonoff/SENSOR = {"Time":"2019-10-22T10:49:35","DHT11":{"Temperature":31.6,"Humidity":36.0},"APDS9960":{"None":1},"TempUnit":"C"}
只会偶尔传来一个NONE的参数。
把手势感应关掉之后,又能传来正常的RGBC参数。
22:08:23 MQT: tele/sonoff/SENSOR = {"Time":"2019-10-22T22:08:23","DHT11":{"Temperature":27.9,"Humidity":59.0},"APDS9960":{"Red":570,"Green":452,"Blue":426,"Ambient":403,"CCT":5314,"Proximity":4},"TempUnit":"C"}
主要想问一下各位大佬,这种情况有什么好的调试方法?
另外文档里面有说到,要在VCC和GND之间加一个会增加他的灵敏度,这个是有什么原理的嘛?
Beside that an „as-good-as-possible“ wiring and maybe an additional capacitor over VCC and GROUND might be helpful.