机电工程技术2025,Vol.54Issue(5):190-196,7.DOI:10.3969/j.issn.1009-9492.2025.05.034
基于STM32的智能药盒设计
Design of Intelligent Medicine Box Based on STM32
摘要
Abstract
In response to the phenomenon of chronic disease patients forgetting or taking the wrong medication during long-term medication,the STM32 based on intelligent medication box design is proposed.The design uses STM32F407 as the main control chip,and the main peripheral modules in the hardware circuit design include buzzer module,LCD display screen module,button module,storage module,push rod drive module,stepper motor drive module,4G network module,GPS positioning module.For software design,the uCOS-II operating system and create six subtasks is built to perform functions including button control,4G network module and electronic device interaction with guardians,automatic medication dispensing,heart rate signal reception and processing,positioning,and LCD screen display.A physical model is constructed for 10 tests.Among them,the GPS positioning latitude and longitude information differs from the mobile positioning information by 2"in longitude and 1"in latitude.The accuracy of timely reminders for medication reaches 100%.The accuracy of automatic medication dispensing reaches 100%.Fix the MAX30102 heart rate and blood oxygen sensor module at the wrist pulse for 5 tests,and the accuracy of heart rate judgment results reaches 100%.The sensor module is fixed at the finger position for 5 tests,and the accuracy reaches 80%.Through comprehensive analysis,this design effectively solves the phenomenon of forgetting to take medication and taking the wrong medication,predicts the patient's health status in a timely manner,and improves the probability of timely treatment in emergency situations.关键词
智能药盒/STM32/操作系统/自动配药Key words
intelligent medicine box/STM32/operating system/automatic dispensing分类
信息技术与安全科学引用本文复制引用
徐国垒,王智,罗冬华..基于STM32的智能药盒设计[J].机电工程技术,2025,54(5):190-196,7.基金项目
广西壮族自治区中青年教师科研基础能力提升项目(2022KY1634) (2022KY1634)