2024年│1期│1772024年第46卷第1期基于物联网的智慧养殖系统设计郭慧兰王莹刘畅刘子俊杨惠棒基金项目:西安交通工程学院2022年大学生创新创业训练项目:智慧养殖-助力乡村畜牧业优产(XJY2022DC55)作者简介:郭慧兰(2003-),本科生,研究方向为嵌入式开发;王莹(1990-),硕士,讲师,研究方向为信息技术应用;刘畅(1999-),本科,技术员,研究方向为智慧家居;刘子俊(2002-),本科生,研究方向为软件设计;杨惠棒(2003-),本科生,研究方向为嵌入式开发。(西安交通工程学院西安710300)摘要传统的智慧养殖系统功能单一,无法实现数据的集中采集、管理、显示等功能。文中提出的系统基于物联网,将单片机STM32F103C8T6作为主控芯片,利用温湿度传感器和光敏传感器来检测环境数据,通过TCP/IP协议栈实现无线传输。ESP8266模块通过串口通信交互,将采集到的环境数据以特定格式打包发送到上位机系统进行显示和分析处理。该系统基于WiFi传输模块的设计方案,实现了远程监控和数据采集,从而提高了智慧养殖的合理性。随着嵌入式系统开发的不断成熟,可以加入更多传感器和控制组件,实现多角度、全方位的数据采集、监控和操作,有效控制养殖中的各种环境因素,促进畜产品的健康成长。关键词:STM32;WiFi传输;养殖系统中图分类号TP311.5DesignofIntelligentAquacultureSystemBasedontheInternetofThingsGUOHuilan,WANGYing,LIUChang,LIUZijunandYANGHuibang(Xi’anTrafficEngineeringInstitute,Xi’an710300,China)AbstractThetraditionalsmartbreedingsystemhasasinglefunctionandcannotrealizethefunctionsofcentralizeddatacollection,managementanddisplay.ThesystemisbasedontheInternetofThingsdesign,andthesingle-chipmicrocom-puterSTM32F103C8T6isusedasthemaincontrolchip.Temperatureandhumiditysensorsandphotosensitivesensorsareusedtodetectenvironmentaldata,andwirelesstransmissionisrealizedthroughtheTCP/IPprotocolstack.TheESP8266moduleinteractsthroughserialcommunication,andpackagesthecollectedenvironmentaldatainaspecificformatandsendsittothehostcomputersystemfordisplayandanalysisprocessing.ThesystemisbasedonthedesignschemeofWiFitransmissionmodule,whichrealizesremotemonitoringanddatacollection,therebyimprovingtherationalityofsmartbreeding.Withthecontinuousmaturityofembeddedsystemdevelopment,moresensorsandcgroupscanbeaddedtoreali...