JFET

Call for Orders | IoT Watchdog

 
Overview

本产品采用ESP8266与电灯科技的组合设计了一款能够检测房门开启次数,以及房门是否长时间未关闭。
---
产品采用锂电池供电,800ma的锂电池 在ESP8266深度睡眠模式下能够供电长达很长时间,在加上电路
---
其他组件的功耗,经过计算大概可以算出,能够工作长达很长时间之久。
---

![图片.png]---

产品为了简化设计难度,只用了一个干簧管搭配磁铁进行检测门的关闭与开启,大大简化了设计的难
---
度,也增强了设计的可靠性。
---
---

---

---

!!!!!!!!!!!!!!!!!!!!!!!!!!
---

由于一开始对ESP8266的不了解,在做的过程中发现ESP8266深度睡眠后只能通过复位进行唤醒,
---
由于本人知识浅薄一时间也没有想到如何用一个干簧管进行唤醒。(这一点也请大家有好的想法留言评论区 不胜感谢)。
---

至此 本次设计放弃了深度睡眠功能,只能通过干簧管来检测门的开关, 门关闭时 软件每隔30秒
---
上传一次。门打开时 软件即刻上传一次,若门未关闭,则每隔30秒上传一次数据。
---


具体可见下列函数功能
---


```
void Open_or_close()
{
if(analogRead(5))//门闭合
{
num = 1;
if (millis() - timer1 > report_interval)
{
timer1 = millis();
Battery_ADC();
pubSensors();
}
}
else//门打开
{
if(num == 1)
{
count++;
//将新数据写入RTC用户存储区数据
ESP.rtcUserMemoryWrite(0, &count, sizeof(count));
Battery_ADC();
pubSensors();
num = 0;
}
else
{
if (millis() - timer1 > report_interval)
{
timer1 = millis();
Battery_ADC();
pubSensors();
}
}
}
}
```
---

电池电量方面是采用两个电阻进行对电池分压后供ADC采集。ADC采集为10位ADC,对应0~1023 则对应电量为 0~100 .
---

具体可见下列函数功能
---

```
void Battery_ADC(void)
{
battery = analogRead(A0);
battery = map(battery, 0, 1023, 0, 100); // 0~1023 对应 0~100
}
```

3D外壳也已经设计了。鉴于该版本硬件设计的不如意,就不浪费钱制作外壳了。
---
![图片.png]---
![图片.png]---

物联网平台采用的时ThingsCloud平台 ,可免费生成APP 与 小程序。
---


![图片.png]---


![图片.png]---


![图片.png]---



最后说一下,我在参这这次物联网训练营的总结。
在立创物联网训练营的学习过程中,我深入了解了物联网技术的应用及实践,掌握了许多有关硬件设计、电子
---
软件和互联网云平台的知识。通过训练营的学习,我懂得了制作一款物联网设备需要多方面的配合和协作,不仅需
---
要具备实验能力,还要具备设计思想、团队协作以及沟通交流能力等方面的能力,这是完美的物联网产品所必须具备的功能.
---

该装置的设计研发历程是一个充满挑战的过程,反复实验和不断地改进。我们团队成员需要充分协作,将各个单元的知识和
---
技术研发集成在一起。在开发过程中,我们一直注重实用性和质量,不断优化设备的精度和稳定性,解决万一出现故障时,
---
can be processed in a timely manner. Through the current test, our door opening and closing reminder device performs very stably in terms of hardware, the APP interface is clear and coherent, and the user experience is also excellent.
This
makes us confident throughout the entire development process.

In this training camp activity, I gained a lot of practical knowledge and applied this knowledge to my hardware device design and development. I learned how to use
ESP8266
for hardware control, how to manage power and calculate available power, and how to detect the door status when the automatic door is open or closed.
---
In addition, there are many professionals in the training camp to provide us with technical support and guidance. In this process, we fully feel the importance of teamwork and technical knowledge
---
sharing, which will be very important for our future work and life. are of great significance.
---


In short, LiChuang IoT training camp provided me with very useful learning opportunities, allowing me to fully understand the trends and future development directions of IoT technology applications,
---
and provided me with a solid foundation for my future IoT product development and development. Main job was a huge help. I hope to continue to study IoT technology in depth in the future and participate in more development
projects
to continuously improve and enhance technical strength.
---
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-21 12:35:25
  • Help: AT32F425 pinout information
  • DIY practical household constant current charger
  • China Mobile launches Super SIM card, enabling one card to travel around the world
  • Electrical Principles Test Paper
  • Tips for implementing I2C with MSP
  • 12-bit ADC

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号