Universal EXTension (UEXT) is a connector layout which includes power and three serial buses:
Asynchronous,
I2C, and
SPI. The connector layout was specified by Olimex Ltd and declared an open-project that is royalty-free.
Physical characteristics
The UEXT connector consists of 10 pins, in a two row by five male pin configuration, with a plastic keyed-shroud. All pins have a spacing of 0.1 inch (2.54 mm).
The socket is mated with a 2x5 (10-pin)
IDC female connector, and typically connected to a
Ribbon cable
A ribbon cable (also known as multi-wire planar cable) is a cable with many conducting wires running parallel to each other on the same flat plane. As a result, the cable is wide and flat. Its name comes from its resemblance to a piece of ribb ...
. The UEXT cable assembly is referred to as a ''10-pin IDC Connector Ribbon Cable''. These cables are readily available and cheap.
Electrical characteristics
The UEXT connector presents power and three serial buses:
Asynchronous,
I2C,
SPI.
All pins conform to 3.3 volt digital logic. The asynchronous serial bus requires additional level-shifting circuits and connectors to support
RS-232
In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such ...
,
RS-422
RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance that specifies electrical characteristics of a digital signaling circuit. It was meant to be the foundation of a suite of standards that ...
,
RS-485
RS-485, also known as TIA-485(-A) or EIA-485, is a standard defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and multipoint systems are supported. The s ...
,
DMX512
DMX512 is a standard for digital communication networks that are commonly used to control lighting and effects. It was originally intended as a standardized method for controlling stage lighting dimmers, which, prior to DMX512, had employe ...
, or
MIDI
MIDI (; Musical Instrument Digital Interface) is a technical standard that describes a communications protocol, digital interface, and electrical connectors that connect a wide variety of electronic musical instruments, computers, and ...
.
Notes:
# Direction is relative to host board.
I = Input, O = Output.
# S =
Power Supply
A power supply is an electrical device that supplies electric power to an electrical load. The main purpose of a power supply is to convert electric current from a source to the correct voltage, current, and frequency to power the load. As a ...
, PP =
Push-Pull logic, OD =
Open-Drain
An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. Instead of outputting a signal of a specific voltage or current, the output sig ...
logic, all pins conform to 3.3 volt digital logic
Alternate pin uses
The functionality of most microcontroller pins are multipurpose, thus allowing the engineer to redefine the purpose of the pin. It is fairly common that a pin will have a choice to be either a general purpose I/O or a peripheral.
If a microcontroller pin is connected to the UEXT connector and redefined to be something other than Asynchronous Serial Bus / I
2C Bus / SPI Bus, then some thought should be given to the design before making the changes. To minimize the chance of damaging various UEXT boards or the microcontroller, redefined pins should continue to adhere to the direction of the data in this table or alternately redefined as an input. For a safe design, it is recommended that you don't redefine pins 4 or 7 to be outputs, and use pin 6 as an output with caution.
User concerns
If a person is concerned about damaging the data lines of the microcontroller, additional
over-voltage protection diodes and/or separate drivers should be added between the microcontroller and UEXT connector. Additionally, a
resettable fuse
A resettable fuse or polymeric positive temperature coefficient device (PPTC) is a passive electronic component used to protect against overcurrent faults in electronic circuits. The device is also known as a multifuse or polyfuse or polyswitch ...
might be added between the host power and pin 1 to protect against over-current conditions. Open source UART dongles are available that are explicitly designed to be pin compatible with UEXT, and may be used to interface a UEXT device directly with a computer over USB.
5V warning
Some boards might provide 5V output on UEXT pins if they are configured for operation at 5V. For example, OLIMEXINO-328 and OLIMEXINO-32U4 have a 3.3V/5V PTH jumper that changes the power mode of the board. If the 3.3V/5V jumper is set to 5V, this jumper also changes the voltage available at pin #1 of UEXT as well as the voltage levels of all data signals available there (UART, SPI, I2C). As the UEXT standard only defines 3.3V, many UEXT modules may not be 5V tolerant, and thus get damaged if the board has such jumper set to 5V. Users are advised to verify their boards are configured for 3.3V before connecting UEXT hardware to prevent damaging said hardware.
Parallel cables
It is possible to connect multiple UEXT devices in parallel by clamping additional IDC connectors onto the same ribbon cable. This will result in a correct distribution of power (3.3V and ground) and allow data communication over I²C. However, the SPI bus will not work since all the SS lines are tied together (and thus all slaves addressed simultaneously, scrambling data on the MISO line), and neither will UART work since multiple devices are transmitting and receiving on the same lines. Series resistors are necessary on conflicting SPI and UART pins to limit short circuit currents due to conflicts, if compatibility with other UEXT devices is desired.
Similar connectors
Some devices use a layout based on the UEXT connector but have chosen not to implement all of the functionality. In particular the asynchronous serial connection may have been omitted. In these cases the spare pins are usually assigned other purposes, such as connecting to a device reset line, so care should be taken to check the exact connector layout on the schematic of a particular device.
Implementations
;UEXT I/O Boards
Olimex UEXT Boards;Host Boards
Olimex Olimexino-328 16 MHz ATMEGA328 (
Atmel AVR)
Olimex Olimexino-STM32 72 MHz STM32F103RBT6 (
ARM Cortex-M3)
Olimex LPC-P1114 50 MHz NXP LPC1114 (
ARM Cortex-M0)
Olimex DuinoMite 80 MHz MicroChip PIC32MX795 (
PIC32)
Olimex STM32-P207 120 MHz ST STM32F207 (
ARM Cortex-M3)
* Olimex Pinguino
;3rd-party
* LibreSolar
See also
*
IDC connector and
Ribbon Cable
A ribbon cable (also known as multi-wire planar cable) is a cable with many conducting wires running parallel to each other on the same flat plane. As a result, the cable is wide and flat. Its name comes from its resemblance to a piece of ribb ...
.
*
Asynchronous serial bus, using a
UART
A universal asynchronous receiver-transmitter (UART ) is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least signific ...
, such as
RS-232
In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such ...
and
RS-422
RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance that specifies electrical characteristics of a digital signaling circuit. It was meant to be the foundation of a suite of standards that ...
.
*
I2C serial bus.
*
SPI serial bus.
*
Pmod Interface
References
External links
UEXT connector webpageUEXT specificationOLIMEX Ltd
{{Portalbar, Electronics
Electrical signal connectors