# ESP8266_PIR
ESP8266 Motion Detector to IFTTT
We just installed a Cat Door in our garage and I wanted to see how many times per day (actually night) our cat went in and out the door. We could tell the cat was using the door as we would find it outside sometimes and inside sometimes.
So, breaking out my parts box, I found a PIR motion sensor, an ESP8266 and a 5V battery.
I used the Adafruit HUZZAH ESP8266 as it has 5V regulator for powering the 3.3v ESP as well as good tutorials for initially getting it set up. I also used the Arduino IDE with the ESP8266 library, since I was already quite familiar with using it with the Huzzah ESP8266.
I decided to interface this to IFTTT (www.ifttt.com) to trigger any number of types of events. Initially, just an email each time motion was detected.
Note that IFTTT requires HTTPS SSL encryption. Thus this project includes code for that.
See ESP8266_PIR.pdf for details
### See Also: Deep Sleep Version
There is another version of this project to use ESP8266 Deep Sleep mode to significantly save battery power. BUT requires extra hardware, so more complex. See https://github.com/rgrokett/ESP8266_PIRv2
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
ESP8266_PIR ESP8266 运动检测器转 IFTTT 我们刚刚在车库里安装了一个猫门,我想看看我们的猫每天(实际上是晚上)进出门多少次。 我们可以看出猫正在使用门,因为我们有时会在外面发现它,有时会在里面发现它。 所以,打开我的零件盒,我找到了一个 PIR 运动传感器、一个 ESP8266 和一个 5V 电池。 我使用了 Adafruit HUZZAH ESP8266,因为它有 5V 稳压器,用于为 3.3v ESP 供电,以及用于初始设置的良好教程。 我还将 Arduino IDE 与 ESP8266 库一起使用,因为我已经非常熟悉将它与 Huzzah ESP8266 一起使用。 我决定将其连接到 IFTTT ( ) 以触发任意数量的事件类型。 最初,每次检测到运动时只需发送一封电子邮件。 请注意,IFTTT 需要 HTTPS SSL 加密。 因此,这个项目包括
资源详情
资源评论
资源推荐
收起资源包目录
ESP8266_PIR-master.zip (6个子文件)
ESP8266_PIR-master
LICENSE 34KB
README.md 1KB
ESP8266_PIR.pdf 970KB
ESP8266_PIR
ESP8266_PIR.ino 6KB
HTTPSRedirect.h 683B
HTTPSRedirect.cpp 4KB
共 6 条
- 1
sleepsoft
- 粉丝: 36
- 资源: 4634
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0