摘要
为应付各种不适合人工现场操作的恶劣环境下设备芯片程序升级工作,针对传统有线程序编程器灵活性不足的缺点,设计了一种基于nRF905无线通信技术的无线程序编程器.该无线编程器的硬件包括主端和从端,软件包括单片机软件和上位机烧写软件,硬件和软件的协同工作确保无线编程器的正常进行.经过测试表明:该编程器适用于对STC 51系列单片机的无线烧写,从端使用锂离子电池供电,在电压波动(3.7~4.19V)范围内,不会影响程序烧写的成功率,在开阔地可靠的烧写距离为21m,在浅水下、封闭铁盒内、建筑物和小竹林等遮挡环境下均可实现可靠烧写,烧写文件的容量最大可达单片机flash存储器的容量.
In order to deal with the chip program's upgrade of the equipment under the harsh environment that was not suitable for staff to operate, directing at the traditional wired programmer's shortcoming of lack of flexibility, a kind of wireless programmer was designed in this research which based on the nRF905 wireless communication technology and controlled by the STC 89C52RC MCU. The wireless programmer's hardware consisted of master and slaver device meanwhile its software consisted of MCU and PC software, and their collaborating ensured the programmer's normal operation. Test results showed that the programmer was suitable for STC 51 series MCU. Firstly, the lithium ion battery was used to supply power and the programming success rate wasn't influenced by the voltage fluctuation when the battery was in normal working range (3.7~4.19V). Secondly, the reliable programming distance was reach 21m in the open. Thirdly, the programmer worked reliably under the obstacles liked shallow water, close iron boxes, one wall and small bamboo forest. Finially it was compatible with programming large file (file capacity less than MCU flash rom).
出处
《沈阳农业大学学报》
CAS
CSCD
北大核心
2013年第3期315-320,共6页
Journal of Shenyang Agricultural University
基金
公益性行业(农业)科研专项经费项目(200903023)
现代农业产业技术体系建设专项资金(CARS-27)
国家自然科学基金项目(30971684)