摘要
介绍了以VC6.0为开发平台,用无线单片机CC2530进行多节点多参数的低功耗数据采集系统。下位机设计了可灵活扩展的无线数据帧,并设计了采集控制命令,实现广播模式和单目标地址控制两种功能。上位机利用CSerialPort类对串口数据选择性接收,提高了效率和稳定性,可保存和识别随机分配的节点地址,并改进了CSerialPort类可实现十六进制数的发送。
Based on VC6.0 platform and CC2530 wireless microcontroller with low cost, a data acquisition and display system for multiple node and parameter is designed. Flexible and extensible wireless data frame is designed on hypogynous machine as well as control command of acquisition, which realizes broadcast mode and single target address control two functions. Serial port data selective read by CSerialPort class is realized on the PC management platform, efficiency and stability is improved, random distribution node address can also be saved and identified, and CSerialPort class is improved to send hex data.
出处
《微型机与应用》
2012年第9期9-11,共3页
Microcomputer & Its Applications