摘要
随着国内阳台农业的发展,立体栽培技术逐渐发展起来。基于STM8S208C8T6单片机的最小系统,设计了一种多功能控制器。借助压力传感器反馈水压,使输出压力稳定,营养液自动循环;利用SHT20温湿度传感器测量环境参数,通过I2C通讯,将数据显示在HMI串口显示屏上;基于TJA1050芯片的CAN总线联网,设计了CAN基本电路。该控制器成本低、简单,集水泵控制、温湿度读取、A/D采样、温湿度显示和水压控制、CAN联网等功能于一体,为阳台农业立体栽培提供有益参考。
With the development of domestic balcony agriculture, space cultivation technology has gradually developed. A multi-functional controller was design based on the minimum system of STM8S208C8T6 microcontroller. The pressure sensor was used to feedback the water pressure and stabilize the output pressure,and the nutrient solution was automatically circulated. SHT20 temperature and humidity sensor was used to measure environmental parameters, and data were displayed on HMI serial display through I2C communication. Based on the TJA1050 chip, the CAN basic circuit was designed. The controller was low-cost and simple, which combined with water pump control, temperature and humidity reading, A/D sampling, temperature and humidity display and water pressure control, CAN networking and other functions, so as to provide useful references for space cultivation of balcony agriculture.
作者
周赵凤
邵威
邱祁
金程辉
ZHOU Zhao-feng;SHAO Wei;QIU Qi(Engineering Branch, City College of Zhejiang University, Hangzhou, Zhejiang 310015)
出处
《安徽农业科学》
CAS
2019年第9期189-193,共5页
Journal of Anhui Agricultural Sciences
基金
杭州市农业科研项目(20170432B28)