摘要
为了取代传统利用单片机驱动微型打印机,使用Altera公司的FPGA芯片EP3C25Q240C8N设计驱动打印机的硬件控制电路,并正确控制微型打印机的工作时序。软件使用硬件描述语言VHDL实现对微型打印机的时序控制,并通过QuartusⅡ软件平台下载到FPGA调试通过,证明该方法行之有效,完全可以取代传统利用单片机来驱动微型打印机,且抗干扰性好,可靠性高,具有较强的可移植性。
To displace the MCU to drive the miniature printer,the chip EP3C25Q240C8N of Altera Company is adopted to drive the hardware control circuit of the printer.The key point of the design is to control the time sequence of the printer.The software for time-sequence control is programmed with the hardware description language VHDL,and downloaded into the FPGA through the Quartus Ⅱ.It proves that the method is effective and can replace MCU to drive the miniature printer.The system has the advantages of anti-interference,high reliability and better transportability.
出处
《现代电子技术》
2010年第24期71-73,共3页
Modern Electronics Technique