The use of chipo for wireless eommuniealions nRF9O5 the LED sereens is given respectively PC and slave system block diagram of the system ' s power consumpfion, compared the wireless communication module and the serial communication speed, verify the feasibility of the system. Serial communicatinn protocol is designed in order to ensure data quality. Data eommunication protocol is designed for serial data transmitted nRF905 subcontraeting, design a wireless chip communication protocol. Examples of the stye machine of the five states, is described the transition conditions between states, ingeniously designed the eommunication data programmed timer checks, discussed the state machine-based enbedded microcontroller software programming.%针对采用芯片nRF905的LED屏无线通信,分别给出了上位机和下位机的系统框图.分析了系统的功耗,比较了无线模块和串口通信的通信速率.验证了系统的可行性,设计了串口通信协议.为保证数据质量,设计了数据通信协议.针对串口数据的nRF905分包转发,设计了无线芯片通信协议.例举了状态机的五种状态,介绍了状态间的转换条件,巧妙地编程设计了通信数据的定时器检查.论述了基于状态机的嵌入式单片机软件编程.
展开▼