摘要
利用新型器件ENC28J60作为以太网控制器,采用PIC18F4550作为主控制器,通过SPI接口实现了与ENC28J60之间的高速通信;在主控器上移植了Microchip TCP/IP协议栈,分别建立了基于UDP和TCP的应用程序,实现了以太网的通信接口,给出了ENC28J60与PIC18F4550连接的应用电路,并把该通信接口应用到电脑绣花机监控系统中,用于接收局域网上的远程主机发来的花样文件并转发给绣花机的控制器。
As the chief controller, PIC18F4550 was designed to communicate with the new Ethernet controller ENC28J60 by SPI interface. The Microehip TCP/IP stack was replanted in the PIC18F4550, two applications based on TCP and UDP were created, an Ethernet interface was realized. The application circuit that the ENC28J60 communicated with the PIC18F4550 was given. The interface was applied in computer embroidery machine control system, for receiving clock files from PC in the LAN and transforming them to the controller of embrosdery.
出处
《机电工程》
CAS
2008年第1期28-30,共3页
Journal of Mechanical & Electrical Engineering