摘要
针对高龄患者吃药难、电子药盒使用蓝牙时数据连接不稳定、设计复杂易导致误操作等问题,文中提出了以STM32为控制核心、以DS1302为时钟控制的电子药盒。该药盒主要包括液晶显示屏、时钟电路和语音提示等功能模块。电子药盒基于STM32,经过对单片机和时钟电路的程序设计控制对应的传感器,通过LCD1602显示屏输出当前信息,通过传感器确定药盒盖子状态,通过GSM模块提前提示患者服药,到了设置时间后将自动进行语音提示,形成了简单便携、成本低廉和有语音提示的智能语音药盒系统。
In view of the difficulty of taking medicine for elderly patients,this paper proposes an electronic medicine box with STM32 single chip microcomputer as the control core and DS1302 as the clock control.The medicine box mainly includes LCD,clock circuit,voice prompt and other functional modules. The system is controlled by STM32. Through the design of microcomputer STM32 and electrocircuit of clock,the corresponding sensor is controlled and the current information is printed through the LCD1602screen. The system determines whether the cover is open through an infrared sensor,and prompts the patient through a short message of the GSM module. When the time set by the system is up,the voice module will automatically broadcast the cover. This design is simple,portable,low cost,can solve the elderly patients to take medicine difficult problem.
作者
胡秋霞
田杰
陈诺
HU Qiuxia;TIAN Jie;CHEN Nuo(College of Computing,Xi’an Aeronautical University,Xi’an 710077,China)
出处
《电子设计工程》
2023年第4期43-46,52,共5页
Electronic Design Engineering
基金
西安航空学院示范课建设项目(22KCSZ31)
陕西省自然科学基金面上项目(2023-JC-YB-194)。
关键词
智能药盒
单片机
红外传感器
语音
smart pillbox
single chip microcomputer
infrared sensor
voice