MikroElektronika
USB UART 4 click
USB UART 4 click
SKU:MIKROE-2810
Couldn't load pickup availability
Share
USB UART 4 click features well-known FT232RL USB-to-UART interface module from FDTI. It provides USB to asynchronous serial data transfer interface, allowing the microcontroller based designs to communicate with the personal computer, in a very simple way.
FT232RL is a very popular USB to UART interface IC, used on many MikroElektronika devices, both for its reliability and simplicity. USB UART 4 click is used for whenever there is a need to seamlessly and effortlessly interface the UART lines to a personal computer. It can be used with the UART terminal, found in MikroElektronika compilers.
How does it work?
The entire USB protocol is handled on the module, thus no USB specific firmware programming is required. FTDI provides royalty-free Virtual Com Port (VCP) and Direct (D2XX) drivers for all the major OSes, used on personal computers. FT232RL contains integrated 1024 Bit internal EEPROM for storing USB VID, PID, serial number, product description strings and CBUS I/O configuration.
The Baud Rate Generator provides a 16x clock input to the UART Controller from the 48MHz reference clock. It consists of a 14 bit pre-scaler and 3 register bits which provide fine tuning of the baudrate - used to divide by a number plus a fraction. This determines the baud rate of the UART, which is programmable from 183 baud to 3 Mbaud. Also non-standard baud rates are supported. The baud rate is automatically calculated by the FTDI driver, so it is enough to simply forward the desired baudrate to the driver, usually done by selecting the baudrate via the OS terminal application.
After installing the OS drivers, device is ready to be used. When plugged in, it will create a virtual COM port. Then, it can be used with the USART Terminal application, included in every mikroE compiler, for the data exchange between the MCU and the host computer, via the UART pins of the click board. More information about working with the UART communication in general can be found in the following Learn article.
This device also features the configurable CBUS pins, which can be used for several different useful functions, as for example - configurable clock out for driving the microcontroller, data LED drive, USB Sleep, PWR status and so on. By default, CBUS3 and CBUS4 pins are configured as Power Enable and Sleep options and are routed to the PWR and SLP pins of the mikroBUS™. More information about configuring the CBUS pins can be found in the FT232RL datasheet.
SLP output pin will be set to a LOW logic state during the USB suspend mode It can be used to power down external circuitry or be used for similar purposes.
PWR output pin will be set to a LOW logic state, after the device has been configured by the USB, then HIGH during the USB suspend mode. This can also be used for the powering down / power saving, by turning unneded external circuitry.
This device also supports two additional signals - RTS (Request To Send) and CTS (Clear To Send), which can used in case when the hardware flow control is used.
One feature worth mentioning is this click board™ specific shape - it is made so that can be plugged in directly into the USB Type A port. It doesn’t have a conventional USB connector, but the PCB is shaped so that the USB traces can be easily connected to the USB port. Since the FT232RL supports the unique serial number feature, this makes it handy for developing data protection devices and dongles of various kinds. Of course, it can also be used in a traditional way.
USB UART4 click also features a small low noise LDO, used to regulate the input voltage, as well as shotky and transient voltage suppression diodes, to additionally improve the circuit stability and immunity to signal interferences.
Specifications
Type | USB |
Applications | Useful whenever a simple and ready-made solution for interfacing USB to UART is needed, for a wide range of applications. |
On-board modules | FT232RL USB-to-UART interface module from FDTI |
Key Features | Integrated support for the USB protocol, no need to develop dedicated firmware for handling the USB to UART communication, CBUS programmable pins, unique serial number programmed in OTP memory. |
Interface | GPIO,UART |
Input Voltage | 3.3V or 5V |
Click board size | M (42.9 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on USB UART 4 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
USB UART 4 click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Logic voltage level | 3.3 | 5.25 | V | |
Operating temperature | -40 | 85 | °C |
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | RX LED | - | Data Send (RX) status LED |
LD2 | TX LED | - | Data Receive (TX) status LED |
LD3 | PWR | - | Power LED indicator |
JP1 | VCC SEL | Left | Logic voltage level selection jumper, left position 3.3V, right position 5V |
Software support
We provide an example for USB UART 4 click inside all of our compilers. You can navigate to the demo using Project Explorer placed inside the folder named same as your development system.
Examples Description
Example application acts as a simple echo and each character is sent using the available terminal in all MikroElektronika compilers. Also, any other terminal of your choice can be used to write and read the messages.
char uard_rd; void main() { UART1_Init(9600); // Initialize UART module at 9600 bps Delay_ms(100); // Wait for UART module to stabilize UART1_Write_Text("Start"); UART1_Write(13); UART1_Write(10); while (1) { if (UART1_Data_Ready()) { uart_rd = UART1_Read(); // read the received data, UART1_Write(uart_rd); // and send data via UART } } }
Downloads
FT232RL datasheet









New Products
-
Sold out
OAK 4 D Auto Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Fixed Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Wide
Vendor:LuxonisRegular price Rs. 106,719.00Regular priceUnit price / perSold out -
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per