USB-to-TTL串口模块使用说明书
- 格式:pdf
- 大小:404.81 KB
- 文档页数:5
index () / Products (/products/category/1.html)/ USB to UART Bridge Controller CH340()Products Categories ()MCU series chip (/products/category/5.html)Network series chip (/products/category/4.html)USB series chip (/products/category/1.html)PCI/PCIE series chip (/products/category/2.html)Microcontroller peripheral chip (/products/category/3.html)Display driver and keyboard scan chip (/products/category/8.html)Product Selection GuideInterface conversion expert (/en/interface_conversion_expert/)MCU selection (/en/mcu/)USB to UART Bridge Controller CH340IntroductionCH340 is a USB converter chip, which converts USB to serial UART interface or to printerinterface. In UART mode, CH340 provides common MODEM interface signals, to expandUART interface of computer or upgrade common serial communication devices to USBdirectly. For more information about converting USB to printer interface, please refer to thedatasheet CH340DS2.FeaturesFull speed USB device interface, USB 2.0 compatible.Emulate standard UART interface, used to upgrade the original serial devices or expandadditional UART via USB.Original UART applications are totally compatible without any modification.Hardware full duplex serial UART interface, integrated transmit-receive buffer, supportscommunication baudrates varies from 50bps to 2Mbps.Supports common MODEM interface signals RTS, DTR, DCD, RI, DSR and CTS.Provides further RS232, RS485, RS422 interface, etc. through external voltageconversion chip.CH340R supports IrDA specification SIR infrared communication, supports baudratesvaries from 2400bps to 115200bps.Software compatible with CH341, customers can use driver of CH341 directly.Supports 5V and 3.3V power supply even supports as low as 3V.CH340C/N/K/E and CH340B integrate 12MHz clock, no external crystal required,CH340B also integrates EEPROM used to configure the serial number, etc.RoHS compliant SOP-16, SOP-8, SSOP-20 and ESSOP-10, MSOP-10 lead-freepackage.PackagesModel differences: CH340C, CH340N, CH340K, CH340E and CH340B integrate 12MHzclock, no external crystal required. CH340B integrates EEPROM used to configure the serialnumber, etc. Some functions can be customized. The CH340K has three diodes built in toreduce current flow backwards between the I/O pins of the MCU. The backplane of theCH340K is 0# pin GND, which is an optional connection; the 3# pin GND is the necessaryconnection. CH340R provides reverse polarity TXD and MODEM interface signals.(Discontinued).Development Information Datasheet: CH340DS1.PDF Drivers: 1.CH341SER.EXE(Windowsdriver, supports WIN10/WIN8/WIN7/XP etc.) 2.CH341SER_ANDROID.ZIP(Androidapplication) 3.CH341SER_LINUX.ZIP(Linux driver) 4.CH341SER_MAC.ZIP(MAC OS driver)Schematic/PCB: CH340PCB.ZIPMore Download (/search?q=CH340&t=downloads)Sample (/services/request_sample.html?product_name=CH34Contact Us (/contact_us.html)About UsC o m p a n y P r o f i l e(h t t p://w w w.w c h-i c.c o m/a b o u t_u s.h t m l)N e w s(h t t p://w w w.w c h-i c.c o m/n e w s.h t m l)ProductsContact Us (/contact_us.html)苏ICP备18001197号 (/) Copyright © 2002-2021 南京沁恒微电子股份有限公司. All Rights Reserved M C U s e r i e s c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /5.h t m l )N e t w o r k s e r i e s c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /4.h t m l )U S B s e r i e s c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /1.h t m l )P C I /P C I E s e r i e s c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /2.h t m l )M i c r o c o n t r o l l e r p e r i p h e r a l c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /3.h t m l )D i s p l a y d r i v e r a n d k e y b o a r d s c a n c h i p (h t t p ://w w w.w c h -i c.c o m /p r o d u c t s /c a t e g o r y /8.h t m l )Technical SupportT e c h n i c a l T e l (h t t p ://w w w.w c h -i c.c o m /s e r v i c e s /t e c h n i c a l _s u p p o r t.h t m l #t e c h -t e l )T e c h n i c a l E m a i l (h t t p ://w w w.w c h -i c.c o m /s e r v i c e s /t e c h n i c a l _s u p p o r t.h t m l #t e c h -m a i l )Sales SupportS a l e s T e l (h t t p ://w w w.w c h -i c.c o m /s e r v i c e s /s a l e _s u p p o r t.h t m l #s a l e s -t e l )S a l e s E m a i l (h t t p ://w w w.w c h -i c.c o m /s e r v i c e s /s a l e _s u p p o r t.h t m l #s a l e s -m a i l )() select language。
USB TO RS232/485/TTL用户手册产品概述简介USB TO RS232/485/TTL是一款工业级USB转RS232/485/TTL隔离型转换器,采用原装FT232RL,内置电源隔离、ADI磁耦隔离和TVS等保护电路,铝合金外壳设计。
USB TO RS232/485/TTL操作简单,零延时自动收发转换,具有通信速度快、稳定、可靠、安全等特点,可适用于各种通信要求较高的工控设备或应用。
产品特性⚫支持USB转RS232、USB转RS485、USB转TTL(UART)通信⚫采用原装FT232RL,高速通信稳定、可靠、兼容性好⚫板载一体式电源隔离,可提供稳定的隔离电压,隔离端无须额外供电⚫板载一体式ADI磁耦隔离,可进行信号隔离,可靠性高、抗干扰强、功耗低⚫板载TVS(瞬态电压抑制管),可有效抑制电路中的浪涌电压和瞬态尖峰电压,防雷防静电⚫板载自恢复保险丝和保护二极管,可确保电流和电压稳定输出,防过流过压,抗冲击能力强⚫板载零延时自动收发转换电路,确保USB端与不同接口能快速稳定通信、互不干扰⚫板载TTL串口3.3V和5V电平转换电路,用户可通过开关切换TTL通信电平⚫铝合金外壳,氧化磨砂处理,CNC数控开孔,牢固耐用、工艺精美⚫外置3个LED指示灯,方便查看电源和信号收发状态⚫高品质USB-B和RS232接口材料,插拔顺畅,坚固可靠产品参数⚫产品类型:工业级光电隔离型转换器⚫通信速率:300-921600bps⚫主机接口:USB⚫设备接口: RS485/RS232/TTL⚫USB接口:◼工作电平:5V◼接口形式:USB-B型接口◼接口保护:200mA自恢复保险丝,隔离输出◼传输距离:约5米⚫RS485接口:◼接口形式:接线端子◼接口引脚:A+、B-、GND◼方向控制:硬件自动判别和控制数据传输方向◼接口保护:提供600W防雷、浪涌和15KV静电保护(预留120R平衡电阻焊盘) ◼传输距离:约1200米◼传输模式:点对多(至多32个节点,16个节点以上建议加中继器)⚫RS232接口:◼接口形式:DR9 公口◼接口保护:TVS管保护,浪涌和静电保护◼传输距离:约15米◼传输模式:点对点◼TTL(UART)接口:◼工作电平:3.3V或5V◼接口形式:接线端子◼接口引脚:TXD、RXD、GND◼接口保护:提供钳位保护二极管,防过压负压,抗冲击干扰◼传输模式:点对点⚫指示灯:◼PWR:电源指示灯,接入USB,检测到电压则亮红灯◼TXD:发送指示灯,有数据从USB口发出时亮绿灯◼RXD:接收指示灯,有数据从设备接口发回时亮蓝灯⚫使用环境:◼温度范围:-15℃~ 70℃◼湿度范围:5%RH ~ 95%RH⚫操作系统:Windows 10 / 8.1 / 8 / 7 / XP备注:RS485(板载预留120R平衡电阻焊盘,客户可以根据通讯数量考虑是否加入,建议在起止端加入也就是主机和最后一个设备上面各加一个120Ω的匹配电阻。
ARB-0612Converter USB – RS 232/422/485/485-4W/TTLManualARB-0612_v1_01Update date:10/2018r.Symbols & Marks (3)General installation and safety rules (3)1.Destination of device (4)2.Device parameters (5)2.1.Technical parameters (5)2.2.Description of connectors (6)2.3.Block diagram (8)2.4.Dimensions (8)3.Wiring (9)4.Instalation (10)4.1.Installation of USB drivers (10)4.2.Changing the COM port assignment in Windows (11)4.3.Exploitation (14)5.Contact details (14)General installation and safety rulesThe device should be installed in accordance with this manual.The fulfillment of this condition is the basis for ensuring safety and correct operation of the device. The fulfillment of this condition is the basis for ensuring safety and correct operation of the device.The manufacturer is not liable for damages resulting from using the device in the wrong way or not according to the purpose.Modifications to the device are not allowed and can be a source of danger.The ARB-0612 converter converts the USB signal into a serial communication standard RS232/RS422/RS485,RS485-4W/TTL-3.3,TTL-5V. The device is powered directly from the USB port. The converter supports two RS485 standards (2-wire and 4-wire), can act as HUB USB to 2xRS485 2-wire.Works with32 and 64bit operating systems.Remember to use the appropriate drivers. The device is intended for the USB 2.0 standard. When connected to the 3.0 standard, the converter works as if it was connected to the standard 2.0. It is possible to choose one of four serial transmission standards, i.e. RS232, RS422, RS485 or TTL. The converter provides 1500V, 2500V, 3000V or 5000V isolation between the USB port and the other serial ports. In addition, the RS422 and RS485 port has overvoltage protection. The operating system creates a virtual COM serial port that can be used by applications as an ordinary COM port. The user has the option of assigning a different COM port number than the one that automatically assigned the system. All parameters of the COM port (for example: baudrate, parity check), are determined by the application using the converter ARB-0612.Application:–Protecting your PC or laptop from overvoltages and from damage that may occur when using serial communications.–Creating or adding an additional serial port from 1 to 256.–The RS232 port is equipped with all transmission and reception lines, which allows for safe programming of controllers and other devices requiring serial communication and using additional RS232 port signals.–The ARB-0612 converter has an internal reset signal, thus it can be used for permanent operation in applications that have the option of automatically rebuilding the serial port.2.1.Technical parametersTechnical parameters of the converter are presented in Table 2.1.1.2.2.Description of connectorsThe view of the ARB-0612 converter is shown in Figure 2.2.1. A description of its connectors is presented in Table 2.2.1. A description of the function of connectors, DB9 sockets, dip-switch and LED indicators is presented in Table 2.2.2.Fig. 2.2.1. View of the converter ARB-0612Male socket- A denotes the D + line, B denotes the D - line.** - switch operations must be carried out in pairs.*** - OFF position - active RS485; ON position - active RS422 / RS485-4W.The block diagram of the ARB-0612 converter is shown in Figure 2.3.1.Fig. 2.3.1. Block diagram of ARB-06122.4.DimensionsDimensions of the ARB-0612 converter are shown in Figure 2.4.1.Fig. 2.4.1. Dimensions of the ARB-0612Table 2.5.1 presents the available versions with catalog numbers.3.WiringThe device should be connected to a computer using a USB cable. One of the selected RS232, RS422, RS485, RS485-4W or TTL ports should be selected. The method of connecting the RS port is shown in Figure 3.1.USB/RS422,485-4W USB/RS232USB/TTLPołączenie Null Modem3-TxD2-RxD5-GND*opis połączenia null modem wtab. 3.1Fig. 3.1. The method of connecting the RS ports.4.Instalation4.1.Installation of USB driversBefore you start the proper operation, you must install the appropriate USB drivers on the computer with which the converter should work. The type of drivers depends on the operating system installed on your computer.The drivers and instructions for installing them are available at: /FTDrivers.htm.To change the assignment of the COM port, it is necessary to start the Device Manager while the converter ARB-0612is connected from the USB side to the computer.Menu: Start->Control Panel->System->Hardware->Device ManagerSelect USB Serial Port whose settings you want to change.Press the right mouse button and select Properties from the expanded menu.In the Port Settings tab, please select Advanced options ...In case the selected port is already occupied by another device,the following message will appear:If you have to use this port, press YES4.3.ExploitationAfter correct installation of the drivers and connecting the converter to the USB port in the device manager should be visible COM port assigned to the converter. The device is signaled by sound and blinking of DL and UL diodes. The PWR diode should be permanently illuminated.5.Contact detailsASPAR s.c.ul. Oliwska 112,80-209 Chwaszczyno, POLANDphone +48 58 351-39-89; +48 58 732-71-73****************www.ampero.eu。
USB-TTL 模块使用手册JASK51系列无线透传模块开发专用功能特点概述 (2)第一步: 如何识别USB-TTL的接口顺序和定义 (2)第二步: 如何USB-TTL与无线透传模块的连接 (3)第三步: 如何安装USB-TTL驱动 (3)第四步:如何使用USB-TTL模块给STC单片机程序下载 (4)第五步:如何使用USB-TTL进行无线透传模块功能测试 (5)功能特点概述USB-TTL模块是一款USB转UART功能模块,专门为JASK51系列无线透传模块的应用而设计,以下介绍一下USB-TTL模块的功能特点和使用方法。
(1)串口数据通信(2) 用于测试无线透传模块是否正常工作及其基本工作特性(3)可用于STC、LPC、机顶盒等串口程序烧写的芯片进行程序烧录和固件升级第一步: 如何识别USB-TTL的接口顺序和定义五芯线定义 线的颜色TXD 绿色 蓝色RXD 黄色 紫色GND 橙色 灰色3V 红色 白色5V 褐色 黑色第二步: 如何USB-TTL与无线透传模块的连接按照5芯线定义对应顺序对接,通过上图可以看到PC--UTC-2303--无线模块这三者之间的连接示意图,天线朝上,无线信号更加。
当发送数据或收到数据时LED小灯会闪烁,为了让使用者更好的使用,出厂带延长线。
第三步: 如何安装USB-TTL驱动(1) 双击驱动程序即可安装,默认提供XP、WIN7系统驱动,其他系统驱动,请网上搜索下载:PL2303HX驱动(如PL2303HX VISTA驱动)(2) 将USB-TTL插入PC的USB接口,通过硬件设备管理器查看,当电脑设备管理器出现如下图所示,既表示安装成功。
使用时以此根据选择虚拟COM 端口。
第四步:如何使用USB-TTL模块给STC单片机程序下载注意:在和无线模块的接口连接5芯线时,为确保可以冷启动,实际操作时,不要让VCC一端先接触,通过适当偏斜点接插5芯线可达到此效果(TXD一端先接触无线模块上TXD端),否则容易下载不成功。
USB转串口单片机通信模块
CP2102是USB到UART的桥接电路,完成USB数据和UART数据的转换,电路连接简单,数据传输可靠,把下位机串行数据转换成USB数据格式,方便实现数据通信,在上位机上通过运行该芯片的驱动程序把USB数据可以按照简单的串口进行读写操作编程简单,操作灵活。
【实物图片】
简要说明:
一、尺寸:全长mm42宽20mm高10mm
二、主芯片:CP2102
三、工作电压:USB供电
四、特点:
1、具有电源指示.
2、输入口直接接电脑USB口。
3、采用波特率范围广。
4、数据传输可靠。
5、操作灵活。
6、需要安装驱动
7、只需三根线直接连接单片机:RXD、TXD、GND即可。
驱动安装:
1、将串口模块与计算机电脑连接,电脑提示;
2、电脑设备管理器出现下图(感叹号);
3、电脑自动弹出硬件安装向导;
4、如上图选择,然后,点击:“下一步”,提示下图,选择安装路
径;
5、点击“下一步,开始安装驱动程序;
6、提示安装完成,点击安装完成USB驱动。
7、系统再次提示安装硬件对话框,如下图操作;
8、如下图操作;
9、系统安装串行通信驱动;
10、完成安装!
串口通信测试1、查看串口号;
2、打开串口调试工具;
3、选择与设备管理器对应的串口号;
4、将串口模块的输出端TXD、RXD端接,如下图;
5、点击串口工具“手动发送”按钮;
6、如果接收区,显示内容与发送去内容相同,证明串口模块可以
正常使用!。
图文详解USB转TTL与电路板的连接USB转TTL的硬件设备:USB转TTL主机一台;芯片选用PL-2303HXUSB转TTL刷机线,采用进口PL2303HX芯片。
连接上电脑并安装驱动后,电脑即扩展出一个COM3或COM4....等的串口,配合相应软件就能对路由器、机顶盒或接收机等各种TTL接口的设备系统进行调试、升级或更新等,比九针(DB9)串口接口转TTL的线适用性更广,因为大部分笔记本电脑都没有预留COM口。
它设计的传输速率也比DB9接口的更快,使用更方便!方便多次插拔修复。
转自21ic基础知识针脚接法:TX-绿RX-白GND-黑红-5V(VCC)实际使用中的连接方法(有两种,一般只需要接3根线即可):1、交叉式RX对TX;TX对RX;地对地(GND对GND)2、直连式TX对TX;RX对RX;地对地(GND对GND)使用前的测试:首先做一个简单地测试,方法很简单:如果你把线插在电脑上,电脑提示“找到新硬件....”,用万用表黑笔接黑线(GND),红笔分别去接白线(RX)和绿线(TX)都能测到电压,则说明线一定是好的。
这里特别说明,如果把黑线(GND)接到设备的有电压的针脚上,加电必定烧毁,所以用户接线前一定要准确的测出设备的针脚,以免造成不必要的损失!用软件测试:将USB转TTL主机的白线(RX)和绿线(TX)连接,或者用一根线将RX 和 TX 相连1、使用 USB-TTL测试工具软件下载 USB-TTL测试工具.exe/s/yXkLNUnB107xA先打开电脑的设备管理器找到设备的端口号,这里是COM2设备串口,选择COM2;然后点开始测试结果如下:如果显示OK,说明这款USB转TTL设备的硬件没有问题.如果显示NG,说明这款USB转TTL设备的硬件有问题.2、使用串口软件如SSCOM3.2等硬件连接不变(将白线(RX)和绿线(TX)连接,或者用一根线将RX 和 TX 相连)打开软件SSCOM3.2 (同时具备收发功能的软件即可)注意选择正确的串口号,查看设备管理器,HEX发送勾上;HEX显示勾上;在字符串输入框中,输入合适的内容;点击“发送”,上面便出现内容的显示;如果完全一致,也可以证明设备的硬件连接没有问题。
电脑USB转TTL串口/RS232串口模块对于一些学校、工业、科研客户来说,电脑的串口非常重要,很多设备都必须采用串口和电脑端软件连接,很多电路模块可以非常直观方便地利用串口调试软件进行调试,很多仪器必须通过串口进行通讯和数据交换。
但是目前笔记本电脑因为空间的限制和其他方面考虑的原因都没有串口,甚至一些台式电脑也取消了串口配置,这让我们迫切需要串口的客户非常苦恼。
USB转串口模块全称为USB to Serial port Module,它可以将USB接口虚拟成一个串口,解决客户无串口的苦恼。
现在市面上的USB 转串品的设备可谓是琳琅满目,质量也是参差不齐。
造成这种现象的根本原因就在于控制芯片的不同。
现在USB转串口桥接芯片有很多,比如CP2102、FT232、PL2303等等。
但并非每一种芯片都可以用作ISP下载。
经过测试CP2102是不能下载的,而FT232可以下载,但其价格实在不菲。
最为适中的就是台湾生产的PL2303,可以稳定下载,并可以支持多种操作系统。
PL2303HX采用28脚贴片SOIC封装,工作频率为12MHZ,符合USB 1.1通信协议,可以直接将USB信号转换成串口信号,波特率从75~1228800,有22种波特率可以选择,并支持5、6、7、8、16共5种数据比特位,是一款相当不错的USB转串口芯片。
产品1:采用PL2303芯片的USB转TTL串口模块每个12元含一根4芯杜邦连接线这是我们用PL2303芯片开发的USB转串口模块,采用机器自动焊接都经人工检测,电路板只有30*16*7毫米,模块一共引出5根脚,引脚电平为TTL,引脚定义如下:+5V、P3.0 TXD 、P3.1 RXD 、GND 地线、+3.3V。
其中+5V和+3.3V电源输出线一般情况下都不用的,不需要连接。
现在购买PL2303模块我们还赠送一根30厘米长的杜邦连接线,它一头是四位一体的插座可以直接插到我们的2303模块上,另一头是四个独立的杜邦头,可以灵活插到设备上,非常方便。
USB转TTL模块数据线接法机顶盒的接口定义(顺带讲点基础知识,高手可略过)从左到右 VCC RXD TXD GNDVCC:电源 +3.2V -> +3.3VRXD:接收上位机数据电平范围:0->VCCTXD:发送数据给上位机电平范围:0->VCCGND:参考地,也就是电源负极,0电位我们只使用 RXD TXD和GND,VCC引脚要小心,不要和GND短路,否则将会烧毁LOD(稳压)芯片机顶盒的RXD接RS232的TXD机顶盒的TXD接RS232的RXD机顶盒的GND接RS232的GND我们将上述电平范围的通讯电平称作TTL电平而RS232通讯端口(计算机原本的RS232口和用USB接口转出的标准RS232口)的标准电平范围是+15V->-15V。
所以需要做电平转换。
当然有些USB转RS232也有TTL电平输出的。
我这里是使用一个已有的单片机的下载器上的RS232电平转换,不详细讨论,网上有提醒新手的是购买和使用USB转RS232的时候要搞清楚电平范围,否则可能损坏机器的。
部分机顶盒接线方法由于多数接口都是使用排插,升级口常见的有三针、四针、五针、六针和九针,排序参看考为(针口面向自己),见列表:脚位3针接口4针接口5针接口6针接口左起1(6) 无GND TX None2(5) RX RX R X GND3(4) TX TX V CC1 RX4(3)VCC(3.3V)VCC(3.3V) GND TX5(2) 无Vcc2 VCC(3.3V)6(1) 无None4线升级接口:1脚--接地,2脚--RX ,3脚--TX ,4脚--VCC ,(卓异) 5脚--不接6线升级接口:1脚—空,2脚--接地,3脚--RX,4脚--TX,5脚--VCC,6脚—空首先先找出接地引脚GND(红笔接射频线金属,再用黑笔测量各个针脚,0阻值导通即为地GND),确定好GND后,再将机顶盒通电,再测量各针脚空载时的电压,即黑表笔接地,红表笔测出的电压是3.36V~3.30V 的基本上可以判定为TXD、RXD的针脚,测出的电压在5V左右的为VCC(负载在数据线MX232芯片上有可能降为3.3V这样),如果是五针的升级口,有的可以不需理会而让它空置,但需要特别注意的是,有的机顶盒的5针的升级口很是特殊,除了其中一个VCC1外,还有一个引脚为Vcc2(有的标识为BL),空载电压大概是1.65V这样,在刷新时就必须将VCC1和Vcc2两个针脚短接才能正常读取和烧写数据,否则读写速度将会极其的慢以至读写都不成功,所以在遇到读取备份文件很慢时,就必须考虑将两个针脚进行短接才能读写数据,而使用此两个针脚短接的方法也可激活变成砖头的机器(后面再具体阐述)。
USB-to-TTL模块使用说明书
一、简介:
USB-to-TTL模块,使用PL2303HX芯片,特为电脑没有串口的朋友们所设计,通过此模块,可以方便的使用电脑的USB接口同单片机进行串口通讯。
1、LED指示通讯状态;
2、可为目标板提供电源,兼容3.3V/5.0V两种主控器件,通过跳线帽选择;
3、直接同主控器件串口连接,只需3根线(目标板单独供电时);
4、遵从USB 1.1 协议
5、支持自动握手模式;
6、支持Windos98/ME,2000,XP,Windos CE 3.0,,linux,和Mac OS;
二、驱动安装:
1、解压或直接点击PL-2303 Driver Installer.exe
2、安装过程
3、安装完成后,重启计算机
4、重启计算机后,将USB-to-TTL模块插在任意USB接口,听到“叮”声后,打开设备管理器,你会看到下面红色框的信息,说明已经识别到了USB-to-TTL模块。
至此,驱动安装完成。
三、连接方法:
1、选择匹配的供电电源:操作“voltage output”上短路帽。
若主控器件的工作电压为3.3V,则短路帽短接在3.3V一侧;
若主控器件的工作电压为5.0V,则短路帽短接在5.0V一侧。
2、模块同主控器件的连接
USB-to-TTL模块的TXD直接接单片机或其他主控器件的RXD
USB-to-TTL模块的RXD直接接单片机或其他主控器件的TXD
USB-to-TTL模块的GND直接接单片机或其他主控器件的GND
USB-to-TTL模块的VDD_232直接接单片机或其他主控器件的VCC
如下图:
四、制作资料
1、实物图:2
3、PCB图:
4、应用载图:(串口监视DS18B20的实时测量值)
五、USB转TTL模块应用举例:
1、专业GSM模块调试
GPS模块也采用TTL串口通讯,每秒输出一次GPS全功能数据,4800通讯波特率,通过我们的USB转串口模块,可以直接通过串口调试软件或者电子地图显示GPS数据,非常方便。
2、工业设备的串口通讯
很多专业的工业设备都是采用RS232串口通讯,只要跳过RS232转换电路(USB转TTL模块直接通单片机RX/TX连接),用论坛的USB转TTL模块,就能把设备改成USB通讯,大大提高了设备的通用性和便利性,提升设备档次。
3、没有串口的台机电脑或笔记本
随着科技的发展和时步,自带串口的电脑越来越少,特别是当下流行的笔记本电脑更是少有。
这就对学习单片机的串口通讯带来了不便,利用USB转TTL模块可以解决这个问题。
六、PL2303简介:
PL2303 用于实现USB 和标准RS-232 串行端口之间的转换,两个独立的大型缓冲用于两种总线的连接.大型数据缓冲器用于USB 的批量数据传输.自动握手模式可用于串行通讯,因而可以达到远大于标准UART 控制器的波特率.
PL2303 支持USB 电源管理和远程唤醒协议.当主机挂起时消耗极小的电能.所有功能集成在SOIC-28 封装内.芯片亦可以安装在电缆线中,用户只要简单地把联在电脑主机或USB_HUB 上,就可以实现与RS-232 器件的通信.
PL2303功能特点
1:完全遵从USB 1.1 协议;
2:支持到RS-232 接口的转换;
3:支持自动握手模式;
4:支持远程唤醒和电源管理;
5:发送和接收拥有独立的256 Bytes 缓冲;
6:支持内部ROM 和外部EEPROM 配置器件;
7:内建USB 收发器;
8:内建晶体震荡器支持运行频率12 Mhz;
9:支持Windos98/ME,2000,XP,Windos CE 3.0,,linux,和Mac OS;。