设计简介:
项目名:垃圾桶
项目编号:mcuclub-dz-155
单片机:STM32F103C8T6
功能简介:
1、通过4个舵机分别带动对应的垃圾桶盖(可回收垃圾、厨余垃圾、有害垃圾、其他垃圾)
2、通过语音识别模块,识别各垃圾,并自动打开对应垃圾桶盖
3、通过按键可手动打开垃圾桶盖
4、通过红外对管检测垃圾是否装满,没满则亮绿灯,满了则亮红灯,装满则通过WIFI将提示信息发送到管理员手机上
5、手机端APP可控制垃圾桶打开和关闭
总字数:12661
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
基于STM32单片机的智能分类垃圾桶设计
摘 要
最近几年,随着当前我国的经济不断发展,人们的生活垃圾也越来越多。智能分类垃圾桶的设计,在一定程度上可以减轻环卫工人的工作量及其环卫工作管理需要花费的财力和物力。
此次设计的垃圾桶采用STM32单片机作为此次设计的主控芯片,通过4个舵机分别带动对应的垃圾桶盖,然后配合红外对射管对垃圾桶量的检测,当监测到垃圾桶满,红色指示灯点亮,反之绿色指示灯点亮,监测到垃圾桶垃圾装满时,通过WiFi模块及时将垃圾桶的信息传输到环卫管理工作人员的手机上,用户可以通过语音对各种垃圾进行识别,并打开对应的垃圾桶盖子。此次设计通过对实物的硬件和软件进行设计,最终对实现的功能和性能进行测试,使其可以具有较高的稳定性和可靠性。
关键词:垃圾桶;WiFi模块;STM32;语音播报;舵机
Intelligent Garbage can based on SCM
Abstract
In recent years, with the continuous development of China’s economy, people’s household waste has also increased. The design of intelligent sorting garbage bins can to some extent reduce the workload of sanitation workers and the financial and material resources required for sanitation work management.
The garbage bin in this design uses the STM32 microcontroller as the main control chip. Four servo motors drive the corresponding garbage bin covers, and then cooperate with infrared radiation tubes to detect the amount of garbage bin. When the garbage bin is detected to be full, the red indicator light will light up, and vice versa, the green indicator light will light up. When the garbage bin is detected to be full, the information of the garbage bin will be promptly transmitted to the mobile phones of environmental sanitation management personnel through the WiFi module, Users can recognize various types of garbage through voice and open the corresponding trash can lid. This design involves designing the physical hardware and software, and ultimately testing the functionality and performance of the implementation to ensure high stability and reliability.
Key words: trash can; WiFi module; STM32; Voice broadcasting; steering engine
目录
摘 要 I
Abstract II
1绪论 1
2 系统设计方案 5
3 硬件设计 8
4 系统程序设计 13
5 实物测试 17
6 结论与展望 20
参考文献 23
附录A:原理图 25
附录B:PCB 26
附录C:主程序 27
致谢 43