APP下载

基于单片机的智能型液体电蚊香控制系统设计

2021-08-26刘泽宇徐烨枫齐斌

河南科技 2021年9期
关键词:单片机

刘泽宇 徐烨枫 齐斌

摘 要:本文以单片机为基础,设计了一款智能型液体电蚊香控制系统。系统采用STC系列单片机作为主控制器,实现其浓度调节、自主定时、强制关停的功能;通过改变发热元件的功率来调节液体电蚊香药液的挥发浓度;通过DS1302时钟芯片计时实现液体电蚊香的定时功能。其中,定时功能包括自主定时关停及强制定时关停。在未启动自主定时状态下,按键动作累计时间超过设定值12 h,强制定时关停程序运行,使整个系统自动断电。

关键词:智能液体电蚊香;单片机;药液挥发浓度;智能关停

中图分类号:TM925.92 文献标识码:A 文章编号:1003-5168(2021)09-0021-04

Abstract: Based on the single-chip microcomputer, this paper designed an intelligent liquid electric mosquito coil control system. The system uses STC series single-chip microcomputer as the main controller to realize the functions of concentration adjustment, independent timing, and forced shutdown; the volatilization concentration of the liquid electric mosquito-repellent incense is adjusted by changing the power of the heating element; the timing function of the liquid electric mosquito coil is realized through the timing of the DS1302 clock chip. Among them, the timing function includes autonomous timing shutdown and mandatory timing shutdown. In the state of not starting the autonomous timing, the cumulative time of the button action exceeds the set value for 12 hours, and the program is forced to shut down the program running regularly, so that the entire system is automatically powered off.

Keywords: smart liquid electric mosquito coil;single chip microcomputer;volatile concentration of liquid medicine;intelligent shutdown

據统计,液体电蚊香产品占驱蚊产品(包括液体电蚊香、电蚊香片、盘式蚊香和花露水等)市场份额的30%,足见使用液体电蚊香产品驱蚊深受广大群众喜爱。但是,液体电蚊香产品在实际使用过程中存在一定的不足,主要体现在两方面:一是液体电蚊香产品只具有单一挥洒浓度,无法区别对待不同地区蚊虫的耐受药液程度,对于某地区耐药性低的蚊虫,挥洒药液浓度可能过量,造成浪费,而对于某地区耐药性高的蚊虫,挥洒药液浓度可能过低,达不到驱蚊效果。二是现有液体电蚊香产品仅能通过人工通断电方式实现液体电蚊香的启停功能,很多家庭使用后经常会忘记关停液体电蚊香,造成浪费和用电安全隐患[1]。

基于上述认识,人们急需对液体电蚊香产品进行改进,以提高液体电蚊香的驱蚊效果,节约药液使用量,保证安全用电。……

登录APP查看全文

猜你喜欢

单片机
基于单片机的SPWM控制逆变器的设计与实现
基于单片机的层次渐变暖灯的研究
基于单片机的多功能智能插排
基于单片机的便捷式LCF测量仪
小议PLC与单片机之间的串行通信及应用
MSP430单片机在仿真中要注意的几点问题
基于单片机的平衡控制系统设计
基于单片机的三维LED点阵设计
Microchip推出两个全新PIC单片机系列
基于Proteus的单片机控制系统的仿真设计