『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4519|回复: 0

[求助] 关于SONOFF连接APDS 9960想做手势感应开关的问题

[复制链接]

3

主题

158

帖子

679

积分

高级会员

Rank: 4

积分
679
金钱
521
HASS币
10
发表于 2019-10-22 22:10:31 | 显示全部楼层 |阅读模式
看到大神发的一个帖子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.

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 15:32 , Processed in 0.204020 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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