电子科技 ›› 2020, Vol. 33 ›› Issue (11): 1-6.doi: 10.16180/j.cnki.issn1007-7820.2020.11.001

• •    下一篇

基于物联网的单片机创新实验系统设计

楼顺天,庞斯琪,李明昱   

  1. 西安电子科技大学 电子工程学院,陕西 西安 710071
  • 收稿日期:2020-07-28 出版日期:2020-11-15 发布日期:2020-11-27
  • 作者简介:楼顺天(1962-),男,博士,教授,博士生导师。研究方向:电路与系统。|庞斯琪(1996-),女,硕士研究生。研究方向:物联网技术。|李明昱(1995-),男,硕士研究生。研究方向:网络服务器软件设计。
  • 基金资助:
    国家自然科学基金(61571339)

Design of MCU Innovation Experiment System Based on Internet of Things

LOU Shuntian,PANG Siqi,LI Mingyu   

  1. School of Electronic Engineering,Xidian University,Xi’an 710071,China
  • Received:2020-07-28 Online:2020-11-15 Published:2020-11-27
  • Supported by:
    National Natural Science Foundation of China(61571339)

摘要:

传统单片机实验存在只能在固定地点通过硬件电路板看到实验效果,不可复现分析实验数据等问题。针对这些问题,文中设计了一套基于物联网的单片机创新实验系统。该系统包含物联网实验平台、实验服务器和实验板3部分。物联网实验平台采用STM32F205芯片实现对实验板数据的处理和显示,利用NB-IoT技术实现数据上传。实验服务器基于B/S架构并搭建于阿里云之上,实现实验数据转发处理和再现。实验板采用MSP430G2553芯片及传感器芯片实现数据采集和通讯。系统通过设计各个部分的功能处理、通信协议及界面来实现数据远程显示,使学生可以随时分析历史数据,更好地发现实验中出现的问题,教师也能更方便地进行指导。

关键词: 物联网技术, NB-IoT, STM32, 单片机实验, B/S架构, 云平台, 通信协议

Abstract:

In view of the problems that the traditional single-chip microcomputer experiment can only see the experimental results through the hardware circuit board in a fixed place, and the experimental data cannot be reproduced and analyzed, a set of innovative single-chip microcomputer experiment system based on the Internet of Things is designed in the proposed study. The system consists of Internet of Things experimental platform, experimental server and experimental board. The experimental platform uses STM32F205 chip to process and display the data of the experimental board, and uses NB-IoT technology to upload the data. The experimental server is based on B/S architecture and built on Alibaba Cloud to realize the forwarding processing and reproduction of experimental data. The experimental board uses MSP430G2553 chip and sensor chip to realize data collection and communication. The system realizes the remote display of data by designing the function processing, communication protocol and interface of each part, so that students can analyze the historical data at any time, to better find out the problems in the experiment, and teachers can give guidance more conveniently.

Key words: Internet of Things, NB-IoT, STM32, MCU experiment, B/S architecture, cloud platform, communication protocol

中图分类号: 

  • TP393