摘要
随着Internet和嵌入式技术的发展,控制嵌入式系统也越来越趋于网络化,为此在嵌入式软件中接入Internet已经成为一种新的技术。为了避免各种总线之间不能互相兼容的问题,设计一款以C8051F020芯片为核心的嵌入式系统控制以太网实现互联网。系统采用软硬件结合的方式,利用控制器对A/D,D/A和继电器进行控制。通过C8051F020芯片的外设扩展SPI定时采样8路模拟量输入,读取16路开关量输入。整个系统最终实现基于UDP的数据更新并实现远程控制服务和基于TCP协议的WEB服务。
With the development of the Internet and embedded technology, the controlling of embedded system is increasing networking and the Internet’s accessibility to embedded software has become a new technology. In order to solve the incompatibility, the paper is to design an embedded system with C8051F020 chip as its core to operate the networks. The system combines software and hardware and controls A/D, D/A and electrical relay. SPI is employed to read 16-route switch input within fixed time via the peripheral expansion to C8051F020 chip. The whole system can be realized on the basis of updating of UDP and the service of remote controlling and WEB based on TCP.
出处
《萍乡学院学报》
2015年第3期68-73,共6页
Journal of Pingxiang University