USB 3.2 Gen1 HUB HAT

From Waveshare Wiki
Jump to: navigation, search
USB 3.2 Gen1 HUB HAT
USB 3.2 Gen1 HUB HAT
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Overview

This is a driver-free 4-port USB 3.2 Gen1 Hub HAT for Raspberry Pi and Sunrise X3 PI, providing more USB capability to your Pi or X3 PI, making it easy to connect more USB devices.
The HAT features a standard Raspberry Pi 40PIN GPIO extension header, when working with Raspberry Pi 4, the USB 3.2 Gen1 ports are able to provide up to 5 Gbps data rate, which means 10 times faster than USB 2.0.

Feature

  • 4 x USB 3.2 Gen1 ports, compatible with USB 3.0 / 2.0 /1.1.
  • Onboard external USB-C 5V DC power port, ensures a more stable power supply.
  • 1 x power indicator and 4 x USB port indicators, easy to check the operating status.
  • Driver-free, plug-and-play, compatible with OS including Windows, Mac OS, Linux, and Android.
  • Purpose-made for Raspberry Pi 4, compatible with other Raspberry Pi versions and Sunrise X3 PI.
  • Comes with online development resources and manuals.

What's on board

  1. Raspberry Pi GPIO: Standard Raspberry Pi 40PIN GPIO Header, customized for Raspberry Pi series boards and X3 PI.
  2. USB 3.2 Gen1 HUB Interface: It should be connected to the USB interface of the Raspberry Pi and X3 PI.
  3. USB 3.2 Gen1 Ports: Four USB3.0 ports are extended (USB1~UBS4).
  4. PWR ONLY Interface: It is used for connecting an external 5V DC power supply.
  5. VL817-Q7: USB HUB chip
  6. MX25L512EOI-10G: FLASH chip
  7. PWR: Power indicator
  8. USB1~USB4: Indicators of USB ports.

USB-3.2-Gen1-HUB-HAT-details.jpg

User Guide

Expected Result

Take Raspberry Pi 4B as an example:

  • Insert the module to 40PIN GPIO of Raspberry Pi 4B. Connect the USB interface of USB 3.2 Gen1 HUB HAT to Raspberry PI via the USB 3.0 Adapter.
  • Connect the 5V power supply to the POWER ONLY port.
  • Connect USB devices to USB1-UBS4, the corresponding LED (USB1-USB4) will light up in sequence, which means the device works normally.

Working with Raspberry Pi

1. Hardware preparation

  • Raspberry Pi 4B x 1
  • USB 3.2 Gen1 HUB HAT x 1
  • USB 3.0 Adapter x 1 (or USB3.0 cable)
  • USB 3.0 SSD x 1

2.Configure Rasberry Pi

  • Enter the root directory of Pi:
cd ../..
  • Enter the directory of USB3.0 SSD.
cd media/pi/xxx (xxx is the name of the disk)
  • Free Memory.
sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
  • Copy 2G data to the SSD disk.
dd if=/dev/zero of=./test_write count=2000 bs=1024k

USB 3.2 Gen1 HUB HAT test1.png

  • Copy 2G data to the Raspberry Pi.
dd if=./test_write of=/dev/null count=2000 bs=1024k 

USB 3.2 Gen1 HUB HAT test2.png

3.Working with Ubuntu (Raspberry Pi)

  • Search disk in menu -> Enter -> Open the disk.

USB 3.2 disk.png

  • Choose the correct disk and click the Benchmark Partition option in the Menu:

USB 3.2 Gen1 HUB HAT test4.png

  • Click Start Benchmark, check to Perform write-benchmark, and keep other default settings.

USB 3.2 Gen1 HUB HAT test5.png

  • Input the user password and authorization.

USB 3.2 Gen1 HUB HAT test6.png

  • Test

USB 3.2 Gen1 HUB HAT test7.png

Use with Sunrise X3 PI

  • Use the USB cable to connect the USB 3.0 port of the X3 PI to the USB port of the HUB.
  • Insert a USB 3.0 solid-state drive.
  • Test Disk Speed Using Commands.
sudo apt-get update
sudo apt-get install hdpram -y
sudo hdpram -tT /dev/sda*

USB 3.2 Gen1 HUB HAT01.png

Working in Windows PC

1.Connect the USB port to USB3.0 of the PC, and you can copy the file to SSD

  • Copy the file to the PC.

USB 3.2 Gen1 HUB HAT test8.png

  • Copy the file to the portable SSD.

USB 3.2 Gen1 HUB HAT test9.png

2.Connect the USB to USB3.0 Port and connect four phones at the same time

USB 3.2 Gen1 HUB HAT test10.png

Resource

Document

FAQ

 Answer:
  • Re-plug the USB cable, and make sure that the connection is normal.
  • Maybe the USb3.0 adapter is broken, please change to another adapter or USB 3.0 cable for a try.


 Answer:

After connecting the HUB and Raspberry Pi with a USB adapter, the Raspberry Pi can supply power to the HUB; if high-power devices such as mobile hard drives are connected, an external DC 5V power supply needs to be supplied to the Type-C interface of the HUB.


 Answer:

The maximum rate of the 4 USB is 5Gbps in total.

{{{5}}}


 Answer:

You can verify it by the following commands:

ls /dev/sd*
while true; do sudo hdparm -t /dev/sda2;  sleep 10; done

USB 3.2 Gen1 HUB HAT FAQ.png

{{{5}}}


 Answer:

USB power off can be done using a third-party tool (uhubctl): Linux

{{{5}}}


 Answer:

Theoretically, it is possible, but it is not recommended as the speed may not be sufficient and an additional power supply may be required.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)