Plug & Play USB Interfacing with RS232 for Microcontroller a

Embedded Systems Topics
Post Reply
User avatar
nwclasantha
Posts: 75
Joined: Wed Apr 24, 2013 12:57 am
Location: Malabe

Plug & Play USB Interfacing with RS232 for Microcontroller a

Post by nwclasantha » Mon May 20, 2013 1:19 am

Plug & Play USB Interfacing with RS232 for Microcontroller and PC communication using USB
Main.jpg
??? FT232BL ????? ?????? ???? ????? ??? ????????? USB ?????? ?? ???? RS232 (Com) ?????? ???? ??????? ?? ???? ?? ?????????. ??? ????????? ????? ????? Plug & Play ??????? ????? ???????? ??? ????? ?? ?????? ???? ????????? ??????? ????? ???????? ????????? ????????? ???? ?? .

?????????? ??? ??????? ?????? ??????????? ??????????? ?? ???? ?? . ??????,

1. VIRTUAL COM PORT (????????? ?? ??????? ?????? ???? ??? ?? ????? ???????? ??????).
2. USB Direct Drivers + DLL S/W Interface (??????? ????? ??? DLL ????? ??????????).

?? ???? VIRTUAL COM PORT ?????? ????? ???????? ??? ???????? ????? ?????? ??? ?? .

????? ?????? ??? ??? ??? TTL ??????? 300 => 3M Baud ???? ????? , RS232 ??????? 300 => 1M Baud ???? ????? ?? RS422/RS485 ??????? ????? 300 => 3M Baud ???? ?????? ????????? ????????? ????.

?????????? ??? USB 1.1 and USB 2.0 compatible ??.???? ??????????? ??? ???? USB ?????? ?????? ??????? ????????? ??????? ??? ??? ??????? ??????????? ?? .

??? ????? ??? ??? ??? ?????? ?? ??????? ???? ???? ????? ?? ?????? ??? ?? ???????? ???? ????? .! ?????? ?????? (???????? ???????? / ??????? ????????? ??????? / ?????? ???????????)?????? ?????? ?????? ???? USB Enabled ???????? ???? ??????? ??? ?? ??????? ??????? ????.

?????????? PIC MCU ??? USART Ports 2 ??? ????? ??? ??????? ?? ?????? ???? USB ?? ????? ?????? ?? Ethernet ???????? ??????? ???????? ??? ?????????? ???? ?????? ??? ?????? ??????? ????????? ???????...



The FT232BL is the lead free version of the 2nd generation of FTDI’s popular USB UART I.C. This device not only adds extra functionality to its FT8U232AM predecessor and reduces external component count, but also maintains a high degree of pin compatibility with the original, making it easy to upgrade or cost reduce existing designs as well as increasing the potential for using the device in new application areas.

HARDWARE FEATURES

• Single Chip USB
• Asynchronous Serial Data Transfer
• Full Handshaking & Modem Interface Signals
• UART I/F Supports 7 / 8 Bit Data, 1 / 2 Stop Bits and Odd/Even/Mark/Space/No Parity
• Data rate 300 => 3M Baud (TTL)
• Data rate 300 => 1M Baud (RS232)
• Data rate 300 => 3M Baud (RS422/RS485)
• 384 Byte Receive Buffer / 128 Byte Transmit Buffer for high data throughput
• Adjustable RX buffer timeout
• Fully Assisted Hardware or X-On / X-Off Handshaking
• In-built support for event characters and line break condition
• Auto Transmit Buffer control for RS485

• Support for USB Suspend / Resume through SLEEP# and RI# pins
• Support for high power USB Bus powered devices through PWREN# pin
• Integrated level converter on UART and control signals for interfacing to 5V and 3.3V logic
• Integrated 3.3V regulator for USB IO
• Integrated Power-On-Reset circuit
• Integrated 6MHz – 48Mhz clock multiplier PLL
• USB Bulk or Isochronous data transfer modes
• 4.35V to 5.25V single supply operation
• UHCI / OHCI / EHCI host controller compatible
• USB 1.1 and USB 2.0 compatible
• USB VID, PID, Serial Number and Product Description strings in external EEPROM
• EEPROM programmable on-board via USB

APPLICATION AREAS

• USB to RS232 Converters
• USB to RS422 / RS485 Converters
• Upgrading RS232 Legacy Peripherals to USB
• Cellular and Cordless Phone USB data transfer cables and interfaces
• Interfacing MCU based designs to USB
• USB Audio and Low Bandwidth Video data transfer
• PDA to USB data transfer
• USB Smart Card Readers
• Set Top Box (S.T.B.) PC - USB interface
• USB Hardware Modems
• USB Wireless Modems
• USB Instrumentation
• USB Bar Code Readers


USB is that simple. This is possible with the help of the IC FT232BM from FTDI Chip. The IC and its virtual com port driver have transform the conversion from USB to USART almost invisible. With the driver installed into the PC, it acts as a bridge which transforms the USB hardware into a virtual serial com port. The computer software will transmit the data to the virtual com port as what it will do when sending data through a normal Com1 Com2 port. The virtual com port will be run by the FTDI USB driver which will communicate through USB communication to its IC FT232BM. The manufacturer has also provide IC control through a *.dll direct driver, an alternative solution to the virtual com port driver.

The circuit presents the hardware conversion between the USB and USART using FT232BM. The circuit can be implemented on top of existing USART electronics, so that USB bus can be used, for serial communication with the PC.

Plug & Play USB Interfacing with RS232 for Microcontroller and PC communication using USB.pdf
FT232BM USB to RS232 IC- Datasheet.pdf
IC ???? US $3.40 http://www.ebay.com/itm/1-pcs-FT232RL-I ... 7541652%26
Free shipping to the Sri Lanka

Download Driver for VCP: www.ftdichip.com/Drivers/VCP.htm
Download Driver for D2XX: www.ftdichip.com/Drivers/D2XX.htm

VCP= VIRTUAL COM PORT ,
D2XX= USB Direct Drivers + DLL S/W Interface

Supported OSs:
• Windows 8
• Windows 8 x64
• Windows Server 2008 R2
• Windows 7
• Windows 7 x64
• Windows Server 2008
• Windows Server 2008 x64
• Windows Vista
• Windows Vista x64
• Windows Server 2003
• Windows Server 2003 x64
• Windows XP
• Windows XP x64
• Linux
• Mac OS X
• Mac OS 9
• Windows CE.NET (Version 4.2 and greater)
• Android
Post Reply

Return to “Embedded Systems”