# RP2040 Interfacer (UART/I2C)

RP2040 based USB to UART/I2C adaptor.

- **Seller:** [8086 Consultancy](https://www.lectronz.com/stores/8086net), Nottinghamshire, ENG, UK
- **Price:** €4.79 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Sensors, Cables and adapters, WiFi
- **Country of origin:** UK
- **HS code:** 8471800000
- **Product page:** https://www.lectronz.com/products/rp2040-interfacer-uart-i2c

## Options

**USB-C/Type-A Adaptor**

- No
- Yes [Add €1.00] (20 left)

## Images

![RP2040 Interfacer (UART/I2C)](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTI2MjgsInB1ciI6ImJsb2JfaWQifX0=--589185b26c31b4babe24c6a1c87f953f555e2801/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2024-12-16T15-08-23.658Z-IMG_20241216_150033.jpg)
![RP2040 Interfacer (UART/I2C)](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTI2MjksInB1ciI6ImJsb2JfaWQifX0=--b5e6a7b5f86d956baea5227fb9f56b032c8bf215/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2024-12-16T15-08-23.658Z-IMG_20241216_150200.jpg)
![RP2040 Interfacer (UART/I2C)](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTI2MzAsInB1ciI6ImJsb2JfaWQifX0=--485a2108ced86abeeb72943db5bae2b743e26f85/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2024-12-16T15-28-02.669Z-IMG_20241216_152638.jpg)
![RP2040 Interfacer (UART/I2C)](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTI2MzEsInB1ciI6ImJsb2JfaWQifX0=--a28eedf2f5e1edd991520089efe3c746d4313a35/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2024-12-16T15-47-16.756Z-IMG_20241216_154612.jpg)

## Description

The Interfacer is a small low cost USB to UART and I2C Adapter (both 3.3V) powered by an RP2040 that plugs straight into a USB Type-A socket. Being powered by the RP2040 with 2MB FLASH it can be used with CircuitPython or Pico C SDK based firmware.

The serial UART connector is 3-pin JST SH compatible socket as used on the Raspberry Pi 5 UART.

The I2C ST/Qw connector is a 4-pin JST SH compatible with (3.3V) STEMMA QT. The SCL/SDA lines also have 1K resistors connected to additional GPIO lines allowing each one to have either pull up/down resistor enabled in software. The ST/Qw GPIO pins used are also capable of analogue input allowing them to be used for non I2C uses and when combined with the 1K pull resistors can be used to measure and detect external pull up/down resistors.

On the reverse side to the connectors there are three LEDs. In the middle is a red LED and over both UART and ST/Qw connectors are orange LEDs.

The RP2040 BOOTSEL button is dual purpose, once the RP2040 has started up it can be used for user input.

The GPIO pin numbers for the connectors, LED, button as listed below are also labelled on the PCB itself for quick reference.

| GPIO | Usage|
| -------- | ---------------- |
| GP12 | UART TX |
| GP13 | UART RX |
| GP14 | UART orange LED |
| GP16 | Red status LED |
| GP17 | ST/Qw I2C orange LED |
| GP18 | 1K Resistor to SDA |
| GP19 | 1K Resistor to SCL |
| GP23 | USER Button (active LOW) |
| GP26 | ST/Qw I2C SDA/A0 |
| GP27 | ST/Qw I2C SCL/A1 |

#### Firmware
To upload the *rp2040_interfacer_bridge.* firmware to the RP2040 Interfacer.

1. Press and hold the BOOT button whilst plugging a USB cable from the Pico into your computer, then release the BOOT button.
2. After a few seconds an RPI-RP2 drive should appear.
3. Save the latest [release .uf2](https://github.com/8086net/RP2040_Interfacer-UART_I2C/releases) file onto the RPI-RP2 drive.
4. The RPI-RP2 drive will then disappear and when it connects back to the computer you should see a USB Serial and the i2c-tiny-usb port.

The board is also supported by CircuitPython the firmware can be downloaded from the [CircuitPython Download](https://circuitpython.org/board/8086_rp2040_interfacer/) page.

**Optional extras**

You can also add an optional USB-C to Type-A adapter to your order which allows the Interfacer to connect to many mobile phones for USB CDC Serial UART access (where supported).

## Shipping policy

Please ensure your address is full and correct before placing an order and be aware I'm unable to use some shipping methods to PO boxes.
Deliveries to the USA are sent using RoyalMail PDDP (Postal Delivery Duties Paid).
