现代电子技术2018,Vol.41Issue(2):26-29,4.DOI:10.16652/j.issn.1004-373x.2018.02.007
一种可用于教学的CAN总线分布室内环境信息采集系统
An indoor environment information acquisition system based on CAN bus and used for teaching
摘要
Abstract
An indoor environment information acquisition system is designed in this paper. The STM32F103ZET6 and STM32F103RBT6 microcontrollers are used respectively as the central node controller and the local node controller to accom-plish acquisition and display of temperature,humidity,illuminance and PM2.5,and play control of background music,automat-ic dimming of indoor lamplight and control of indoor shutter by using temperature and humidity sensor,light illumination sen-sor,PM2.5 sensor,smoke sensor,stepper motor,music module controller and voice module controller. The distributed control system is used due to the need to collect and control the environment parameters of the living room,bedroom,kitchen and other building units. The central node controller,the local node controller,the acquisition node and the control node of each building unit are all collected to the CAN bus to make the system have characteristics of modularization and expansibility,and realize communication between controllers. The actual debugging and operation results show that the system can meet the design and teaching requirements.关键词
CAN总线/传感器/信息采集/STM32/通信/控制器Key words
CAN bus/sensor/information acquisition/STM32/communication/controller分类
信息技术与安全科学引用本文复制引用
雷建和,万斌,钱晶,刘明..一种可用于教学的CAN总线分布室内环境信息采集系统[J].现代电子技术,2018,41(2):26-29,4.基金项目
国家自然科学基金资助项目(61105090) (61105090)
青岛理工大学名校建设工程项目(MX4-1)Project Supported by National Natural Science Foundation of China(61105090),Construction Project of Qingdao University of Technology(MX4-1) (MX4-1)