摘要
鉴于蓝牙技术在嵌入式系统应用的广泛性,设计微控制器与PC机蓝牙通信实验。硬件上选用蓝牙模块实现微控制器与PC机串口透明传输,可有效降低学习门槛,缩短研发周期;软件独立完成微控制器程序设计和上位机软件开发2部分工作,灵活性更好,扩展性更强。项目实验在微控制器与PC机之间组建了一个无线通信网,在微控制器端实现一个"云"数字电子钟功能,在PC端实现对工业现场参数的实时监测与远程控制功能,经反复测试,各项预期功能均很好实现。实验设计综合性强,扩展性好,工程应用面广,是理工科专业蓝牙模块教学和嵌入式工程师构建无线监控系统的经典实例。
In view of the wide application of Bluetooth technology in the embedded system, the Bluetooth communication experiment between microcontroller and PC is designed. Bluetooth module is used to realize the transparent transmission between microcontroller and PC serial port on hardware, which effectively reduces the learning threshold and shortens the research and development cycle. Microcontroller program design and PC software development are completed independently on software, which has better flexibility and expansibility. In the experiment, a wireless communication network is set up between the microcontroller and PC. The function of a "Cloud" digital electronic clock is realized at the microprocessor-controlled terminal, and the function of real-time monitoring and remote control of industrial field parameters is realized at the PC end. After repeated tests, all expected functions are well realized. The experimental design has strong comprehensiveness, good expansibility and wide engineering application. It is a classic example of Bluetooth module teaching and embedded engineer building wireless monitoring system.
作者
黄克亚
HUANG Keya(College of Mechanical and Electrical Engineering,Soochow University,Suzhou 215131,China)
出处
《实验技术与管理》
CAS
北大核心
2021年第11期64-69,共6页
Experimental Technology and Management
基金
国家自然科学基金项目(61971297)
江苏省自然科学基金面上项目(BK20201201)
江苏省一流本科专业项目(2019电气)。
关键词
蓝牙通信
透明传输
时间同步
微控制器
Bluetooth communication
transparent transmission
time synchronization
microcontroller