Stufin
Home Quick Cart Profile

Raspberry Pi USB Micro-B to USB-C Adapter

Buy Now

Data transfer

Allows for data transfer between the Raspberry Pi and the connected device, supporting speeds of up to 480 Mbps (USB 2.0).

Power delivery

Enables power delivery from the connected device to the Raspberry Pi, with a maximum current rating of 2.5A.

Key Features

  • Compact design: The adapter is small and lightweight, making it easy to carry and store.
  • Reversible USB-C connector: The adapter features a reversible USB-C connector, allowing users to plug it in either way, eliminating the frustration of trying to insert the connector correctly.
  • High-quality construction: The adapter is built with high-quality materials and components, ensuring reliable performance and durability.
  • Wide compatibility: Compatible with all Raspberry Pi models featuring Micro-B USB ports, including Raspberry Pi 4, Raspberry Pi 3, and Raspberry Pi 2.
  • Plug-and-play: No drivers or additional software are required; simply plug in the adapter and start using it.
  • Power indicator: The adapter features a power indicator LED, which lights up when power is being delivered to the Raspberry Pi.

Technical Specifications

Input

Micro-B USB connector

Output

USB-C connector

Data transfer speed

Up to 480 Mbps (USB 2.0)

Power rating

2.5A maximum current

Operating temperature

0C to 40C (32F to 104F)

Dimensions

35mm x 15mm x 8mm (1.38in x 0.59in x 0.31in)

Weight

Approximately 10g (0.35oz)

Conclusion

The Raspberry Pi USB Micro-B to USB-C Adapter is a convenient and reliable solution for connecting Raspberry Pi boards to devices with USB-C ports. Its compact design, high-quality construction, and wide compatibility make it an ideal accessory for anyone working with Raspberry Pi projects.

Pin Configuration

  • Raspberry Pi USB Micro-B to USB-C Adapter Pinout Guide
  • The Raspberry Pi USB Micro-B to USB-C Adapter is a compact and convenient solution for connecting USB-C devices to the Raspberry Pi's Micro-B port. This adapter is designed specifically for Raspberry Pi boards and ensures seamless communication between the two interfaces. Below is a detailed breakdown of the pins on the adapter:
  • Micro-B Side (Raspberry Pi End)
  • 1. Pin 1: VBUS (Voltage Bus)
  • Description: Power supply pin, providing 5V power from the Raspberry Pi to the connected device.
  • Function: Supplies power to the device connected to the USB-C end of the adapter.
  • 2. Pin 2: D- (Data-)
  • Description: Data transmission pin, carrying the negative data signal from the Raspberry Pi.
  • Function: Transmits data from the Raspberry Pi to the connected device.
  • 3. Pin 3: D+ (Data+)
  • Description: Data transmission pin, carrying the positive data signal from the Raspberry Pi.
  • Function: Transmits data from the Raspberry Pi to the connected device.
  • 4. Pin 4: ID (Identification)
  • Description: Identification pin, used for device detection and configuration.
  • Function: Helps the Raspberry Pi detect the connected device and configure the connection accordingly.
  • 5. Pin 5: GND (Ground)
  • Description: Ground pin, providing a reference point for the power supply.
  • Function: Provides a common ground connection between the Raspberry Pi and the connected device.
  • USB-C Side (Device End)
  • 1. Pin A1: GND (Ground)
  • Description: Ground pin, providing a reference point for the power supply.
  • Function: Provides a common ground connection between the device and the Raspberry Pi.
  • 2. Pin A2: TX1- (Transmit 1-)
  • Description: Data transmission pin, carrying the negative data signal from the device.
  • Function: Transmits data from the device to the Raspberry Pi.
  • 3. Pin A3: TX1+ (Transmit 1+)
  • Description: Data transmission pin, carrying the positive data signal from the device.
  • Function: Transmits data from the device to the Raspberry Pi.
  • 4. Pin A4: VBUS (Voltage Bus)
  • Description: Power supply pin, providing 5V power from the Raspberry Pi to the device.
  • Function: Supplies power to the device from the Raspberry Pi.
  • 5. Pin A5: CC1 (Configuration Channel 1)
  • Description: Configuration channel pin, used for device detection and configuration.
  • Function: Helps the device detect the connection to the Raspberry Pi and configure the connection accordingly.
  • 6. Pin A6: D- (Data-)
  • Description: Data transmission pin, carrying the negative data signal from the device.
  • Function: Transmits data from the device to the Raspberry Pi.
  • 7. Pin A7: D+ (Data+)
  • Description: Data transmission pin, carrying the positive data signal from the device.
  • Function: Transmits data from the device to the Raspberry Pi.
  • 8. Pin A8: SBU1 (Sideband Use 1)
  • Description: Alternate function pin, used for device-specific purposes.
  • Function: Can be used for device-specific functions, such as debugging or testing.
  • Connection Structure:
  • To connect the pins, follow these steps:
  • 1. Connect the Micro-B end of the adapter to the Raspberry Pi's Micro-B port.
  • 2. Connect the USB-C end of the adapter to the device you want to connect to the Raspberry Pi.
  • 3. Ensure the VBUS pin on the Micro-B side is connected to the VBUS pin on the USB-C side to provide power to the device.
  • 4. Connect the D- and D+ pins on the Micro-B side to the TX1- and TX1+ pins on the USB-C side, respectively, for data transmission.
  • 5. Connect the ID pin on the Micro-B side to the CC1 pin on the USB-C side for device detection and configuration.
  • 6. Connect the GND pin on the Micro-B side to the GND pin on the USB-C side to provide a common ground connection.
  • By following these connections, you can establish a reliable and efficient connection between your Raspberry Pi and the device connected to the USB-C end of the adapter.

Code Examples

Raspberry Pi USB Micro-B to USB-C Adapter Documentation
Overview
The Raspberry Pi USB Micro-B to USB-C Adapter is a compact and versatile adapter designed to enable connection of USB-C devices to Raspberry Pi boards that only have USB Micro-B ports. This adapter is ideal for Raspberry Pi users who want to take advantage of the latest USB-C devices, such as high-speed storage devices, cameras, and peripherals.
Technical Specifications
Input: USB Micro-B (compatible with Raspberry Pi boards)
 Output: USB-C (compatible with USB-C devices)
 Supports USB 2.0 and USB 3.0 speeds
 Compact design for convenient use
Code Examples
### Example 1: Using the Adapter with a USB-C Camera (Python)
In this example, we'll use the adapter to connect a USB-C camera to a Raspberry Pi board and capture an image using Python.
Hardware Requirements:
Raspberry Pi board (any model)
 Raspberry Pi USB Micro-B to USB-C Adapter
 USB-C camera (compatible with Raspberry Pi)
Software Requirements:
Raspbian OS (or compatible OS)
 Python 3.x
 `picamera` library (install using `pip install picamera`)
Code:
```python
import picamera
# Initialize the camera
camera = picamera.PiCamera()
# Set the camera resolution and format
camera.resolution = (640, 480)
camera.format = 'jpeg'
# Capture an image and save it to a file
camera.capture('image.jpg')
print('Image captured and saved to image.jpg')
```
Note: Make sure to install the `picamera` library and import it in your Python script. Also, ensure that the USB-C camera is properly connected to the Raspberry Pi board using the adapter.
### Example 2: Using the Adapter with a USB-C Storage Device ( Bash Script )
In this example, we'll use the adapter to connect a USB-C storage device to a Raspberry Pi board and automate file transfer using a Bash script.
Hardware Requirements:
Raspberry Pi board (any model)
 Raspberry Pi USB Micro-B to USB-C Adapter
 USB-C storage device (compatible with Raspberry Pi)
Software Requirements:
Raspbian OS (or compatible OS)
 Bash shell
Code:
```bash
#!/bin/bash
# Mount the USB-C storage device
sudo mount /dev/sda1 /mnt
# Copy files from the storage device to the Raspberry Pi's file system
sudo cp /mnt/ /home/pi/Documents/
# Unmount the storage device
sudo umount /mnt
echo "Files transferred successfully!"
```
Note: Make sure to replace `/dev/sda1` with the actual device path of your USB-C storage device. Also, ensure that the storage device is properly connected to the Raspberry Pi board using the adapter.
These examples demonstrate the versatility and ease of use of the Raspberry Pi USB Micro-B to USB-C Adapter. By using this adapter, you can unlock the full potential of your Raspberry Pi board and explore a wide range of USB-C devices and applications.