摘要
为了满足不同场合数据传输的需要,介绍以ATmegaXU 2为核心,实现USB总线接口与UART、RS485及红外接口转换的方法。在硬件电路中设置一个跳接线,由软件(固件)程序自动识别跳接,选择UART、RS485及红外接口其中之一。本设计包含硬件电路设计、单片机软件(固件)设计及PC机驱动设计。本设计适用范围广泛,具有一定实用价值。
To meet the needs of data transmission on different occasions, this paper introduces a method based on ATmegaXU2 micro controller to implement the conversion between USB bus interface and UART/RS485/infrared interface. Setting a jump wire in the cir cuit, the software (firmware) automatically identifies jump wire to select UART, RS485 and infrared interface featured. This design (firmware) design and PC drivers setting. The broad scope of the design, has a
出处
《单片机与嵌入式系统应用》
2013年第10期32-35,共4页
Microcontrollers & Embedded Systems