為解決當(dāng)前計(jì)算機(jī)串行通訊接口只有USB,難以滿足舊型號設(shè)備或某些單片機(jī)要求RS232通訊的問題,設(shè)計(jì)出兩款RS232/USB電路。采用CH341A與MAX223集成電路芯片構(gòu)建標(biāo)準(zhǔn)9線RS232/USB通用接口轉(zhuǎn)換器,無需編程。采用CH341A與PIC16F877A構(gòu)建單片機(jī)與計(jì)算機(jī)之間的USB通訊電路,軟件遵循RS232通訊協(xié)議,硬件進(jìn)行電平轉(zhuǎn)換。實(shí)際使用表明,這兩款產(chǎn)品與計(jì)算機(jī)端Windows 操作系統(tǒng)下的串口應(yīng)用程序完全兼容,且通訊過程中無握手失敗現(xiàn)象。
Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
標(biāo)簽:
341A
341
USB
CH
上傳時(shí)間:
2013-11-03
上傳用戶:siying