项目编号:mcuclub-dz-194
设计简介:
项目名:垃圾桶(1个)(实物)
项目编号:mcuclub-dz-194
单片机类型:STM32F103C8T6
具体功能:
1、通过舵机控制垃圾桶的打开和关闭1
2、通过红外避障管检测垃圾桶前是否有人,如果有人,自动打开,直到人离开,3s后自动关闭垃圾桶
3、通过分离式红外对射管检测垃圾桶是否装满,如果未装满亮绿灯,装满亮红灯,并不能打开垃圾桶盖,同时启动打包装置(继电器模拟)
4、通过按键可设置垃圾桶间隔多长时间进行消毒,消毒期间不能打开垃圾桶盖
5、通过MQ-2检测烟雾值,通过DS18B20检测温度值,当烟雾值或温度值大于设置最大值,进行蜂鸣器报警,通过按键可设置烟雾最大值、温度最大值
6、通过OLED显示测量数据
7、通过语音识别模块可语音打开垃圾桶
总字数:20891
实物链接:点击跳转
设计说明书链接:点击跳转
答辩PPT链接:点击跳转
基于单片机的语音识别智能垃圾桶设计
摘 要
近年来,随着社会经济的不断发展、城市规模的不断扩大以及人们消费水平的不断提高,城市生活产生的垃圾总量也在不断增加,由此导致的环境污染问题日益严峻,虽待解决。垃圾桶作为收纳废弃物的一种工具,正在城市生活垃圾管理系统中被应用,不仅分类垃圾桶得到大面积普及,而且智能垃圾桶也得到飞速发展,它们的出现极大地方便了环卫工人的清洁以及有效降低了废弃物对环境的影响。智能垃圾桶地应势而生,也蕴含着高新技术的突破和发展,对于任何高新技术产品都应当具有一定的实用性,而怎样以最低的成本去开发出一款高性能低功耗以及长使用寿命的实用产品才是本设计研究的重点。
首先,为开发出一款基于语音识别的多功能智能垃圾桶,本设计明确以微控制器STM32F103C8T6 为智能控制中心,结合分离式红外测距模块(垃圾量检测),红外避障管模块(检测是否有人),烟雾检测模块(火灾发生),温度检测模块(火灾发送),电机模块(控制垃圾桶盖开关)、报警模块,OLED智能显示模块,语音识别播报模块,消毒模块以及外围辅助电路,去构成一个基于语音识别的多功能智能垃圾管理系统。其次,确定各模块的器件方案选型、硬件电路原理图设计以及程序控制代码撰写烧录,从而验证预期既定的智能语音垃圾桶功能。系统是以STM32 为核心的控制板,当用户说出唤醒词如“小智小智”,语音识别芯片SU-03T启动识别程序,识别出用户开关垃圾桶关键词,STM32 并发出指令控制对应舵机的转动,实现垃圾桶盖的开启和关闭,实现基本的语音控制垃圾桶开关功能:同时,通过对系统控制算法的设计以及数据信号的处理,在垃圾桶内置传感器的作用下能实时智能检测桶内垃圾的容量和温度、烟雾浓度,并在智能OLED显示屏中显示,检测到垃圾桶满进行报警提醒达到桶满预警的目的。此外可以通过红外避障识别当前是否有人,检测到有人自动控制垃圾桶。最后,对各个模块和整机进行测试,确保产品的可靠性和稳定性。经测试本设计能实现语音识别并自动控制垃圾桶的开关:舵机在语音识别结果触发下,可按照既定程序设计执行对垃圾桶的开盖和闭盖动作:数据流传输以及软件系统是否能满足设计功能要求和性能要求,从而保证该款基于语音识别的多功能智能垃圾桶的可靠性及实用性。
关键字:垃圾桶;智能硬件;智能环卫;语音识别;节能环保
ABSTRACT
In recent years, with the continuous development of social economy, the continuous expansion of urban scale, and the continuous improvement of people’s consumption level, the total amount of garbage generated in urban life has also been increasing, resulting in increasingly serious environmental pollution problems, which need to be solved. As a tool for storing waste, garbage bins are being applied in urban household waste management systems. Not only are classified garbage bins widely used, but intelligent garbage bins are also developing rapidly. Their emergence greatly facilitates the cleaning of sanitation workers and effectively reduces the impact of waste on the environment. The emergence of intelligent garbage bins is also accompanied by breakthroughs and developments in high-tech. For any high-tech product, it should have a certain degree of practicality, and how to develop a high-performance, low-power consumption, and long service life practical product at the lowest cost is the focus of this design research.
Firstly, in order to develop a multi-functional intelligent garbage bin based on speech recognition, this design explicitly uses the microcontroller STM32F103C8T6 as the intelligent control center, combined with a separate infrared ranging module (garbage volume detection), an infrared obstacle avoidance tube module (detecting whether there are people), a smoke detection module (fire occurrence), a temperature detection module (fire sending), a motor module (controlling the opening and closing of the garbage bin lid), and an alarm module, The OLED intelligent display module, speech recognition broadcast module, disinfection module, and peripheral auxiliary circuits form a multifunctional intelligent garbage management system based on speech recognition. Secondly, determine the device scheme selection, hardware circuit schematic design, and program control code writing and burning for each module, in order to verify the expected intelligent voice trash can function. The system is a control board with STM32 as the core. When a user says a wake-up word such as “Xiaozhi Xiaozhi”, the speech recognition chip SU-03T starts the recognition program to recognize the keywords that the user switches the trash can. STM32 sends instructions to control the rotation of the corresponding servo, achieving the opening and closing of the trash can lid, and achieving basic voice control of the trash can switch function. At the same time, through the design of the system control algorithm and the processing of data signals, Under the function of the built-in sensor in the garbage bin, it can intelligently detect the capacity, temperature, and smoke concentration of the garbage in the bin in real time, and display it on the intelligent OLED display screen. When the garbage bin is detected to be full, it will give an alarm reminder to achieve the goal of full bin warning. In addition, infrared obstacle avoidance can be used to identify whether someone is currently present and detect someone automatically controlling the trash can. Finally, test each module and the entire machine to ensure the reliability and stability of the product. After testing, this design can achieve speech recognition and automatically control the opening and closing of the trash can. The servo can execute the opening and closing actions of the trash can according to the established program design when triggered by the speech recognition results. The data flow transmission and software system can meet the design functional and performance requirements, thereby ensuring the reliability and practicality of this multifunctional intelligent trash can based on speech recognition.
Keywords: trash can; Intelligent hardware; Intelligent sanitation; Speech recognition; Energy conservation and environmental protection.
目 录
基于单片机的语音识别智能垃圾桶设计
摘 要
ABSTRACT
目 录
第1章 概述
第2章 方案选取与分析
第3章 硬件设计
第4章 系统程序设计
第5章 系统软件实物
第6章 结论
参考文献
致谢
附录
提示:购买设计说明书只有一份设计说明书,不包括其它的资料,设计说明书里面的原理图和PCB只是图片,有主程序的只是放了main.c,不包括完整的程序。