The invention relates to the field of agricultural detection technology, in particular to a watermelon ripeness rapid detection instrument and method based on STM32, which includes sound sensor, microcontroller and display device. The detection method is that sound sensor is attached to watermelon, microprocessor is ready to collect sound data, and a rubber hammer is used to knock watermelon, sound sensor converts sound of watermelon into electric signal. The electric signal is converted into digital signal by analog-to-digital conversion of the microcontroller and stored in the microcontroller storage unit; the microcontroller converts digital signal from time domain information to frequency domain information; analyses frequency domain information, and transmits the watermelon maturity digitally from the main frequency to the watermelon maturity digitally 1 9; and displays the watermelon maturity digitally. The display device adopts a digital tube, and the sound signal can be converted from time domain information to frequency domain information. The time domain is changed into frequency domain, and the vibration frequency of watermelon is obtained. After intelligent judgment, the ripeness of watermelon is obtained. Then the digital tube display provides visual and intuitive data support for harvesting and purchasing watermelon in the field.
【技术实现步骤摘要】
一种基于STM32的西瓜熟度快速检测仪及方法
本专利技术涉及农业检测
,具体涉及一种基于STM32的西瓜熟度快速检测仪及方法。
技术介绍
西瓜果肉味甜,炎炎夏季一口西瓜可以降温去暑。西瓜田间收获、选购西瓜都需要判断西瓜熟度。西瓜成熟度的判断技术有:听声音法、形态观察法、手摸法、瓜柄检查法、比重法。听声音法:用手轻敲瓜皮时发出“嘭嘭”低浊音的为成熟瓜,发出“咚咚”清脆声音的是未成熟瓜。但是,对买瓜的群众要求比较高,没有丰富经验的可能无法听出区别,判断不出习惯的熟度。因此有必要开发西瓜熟度快速检测仪。
技术实现思路
针对现有技术的不足,本专利技术公开了一种基于STM32的西瓜熟度快速检测仪及方法,本专利技术能将声音信号从时域转变为频域,获取到西瓜的振动频率,经过智能判断,得到西瓜的熟度,然后数码管显示,为西瓜田间收获、选购西瓜提供形象直观的数据支持。本专利技术通过以下技术方案予以实现:一种基于STM32的西瓜熟度快速检测仪,包括平台和锤子,所述锤子活动悬挂于所述平台上方,所述平台上放置待测西瓜;其特征在于:包括声音传感器、微控制器和显示设备,所述声音传感器与所述西瓜 ...
【技术保护点】
1.一种基于STM32的西瓜熟度快速检测仪,包括平台和锤子,所述锤子活动悬挂于所述平台上方,所述平台上放置待测西瓜;其特征在于:包括声音传感器、微控制器和显示设备,所述声音传感器与所述西瓜接触,所述声音传感器与所述微控制器的信号输入端相连,所述显示设备与所述微控制器相连。
【技术特征摘要】
1.一种基于STM32的西瓜熟度快速检测仪,包括平台和锤子,所述锤子活动悬挂于所述平台上方,所述平台上放置待测西瓜;其特征在于:包括声音传感器、微控制器和显示设备,所述声音传感器与所述西瓜接触,所述声音传感器与所述微控制器的信号输入端相连,所述显示设备与所述微控制器相连。2.根据权利要求1所述的基于STM32的西瓜熟度快速检测仪,其特征在于:所述声音传感器包括敏感元件、隔离电路和放大电路;所述敏感元件由咪头和电阻组成,所述隔离电路由0.1uf电容构成,所述放大电路由低噪声可变增益仪表放大器AD623构成。3.根据权利要求2所述的基于STM32的西瓜熟度快速检测仪,其特征在于:所述敏感元件将声音信号转换成电信号;所述隔离电路隔离直流信号,通过音频信号;所述放大电路将音频信号放大,其放大倍数为20倍。4.根据权利要求1所述的基于STM32的西瓜熟度快速检测仪,其特征在于:所述微控制器采用STM32F103C8T6芯片,工作电压是3.3V,最高时钟频率是72MHz,内部有12位的模数转换器ADC。5.根据权利要求1所述的基于STM32的西瓜熟度快速检测仪,其特征在于:所述微控制器最小系统包括3.3V工作电源;10k电阻和104电容构成的上电复位电路;8MHz...
【专利技术属性】
技术研发人员:李建波,
申请(专利权)人:广东机电职业技术学院,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。