
Pi USB HUB V1.1 - Front
IV Usage
4.1 Instructions
4.1.1 Hardware DescriptionThis Raspberry Pi Zero docking station solves the issues of insufficient interfaces and debugging difficulty. It integrates pogo-pin connection, three USB 2.0 ports, Type-C for both power/debugging, flexible serial channel switching, selectable data source, and status LEDs — all in one compact board.4.1.2 Function Introduction
1.USB HUB upstream source (SW1):
- Position 0 — Pi Zero USB HUB mode: expands USB 2.0 ports for the Raspberry Pi.
- Position 1 — Normal USB HUB mode: connect a single Type-C data cable to a host to expand three USB 2.0 ports.
2.UART connection mode (SW2):
- Position 0 — Pi Zero UART mode: CP2102 TXD/RXD connect to the Raspberry Pi Zero's RXD/TXD for one-cable debugging.
- Position 1 — Normal UART mode: CP2102 TXD/RXD connect to the UART (TTL) header.
3.Three on-board USB 2.0 ports with status LEDs; when a device mounts normally, the corresponding LED turns on.4.On-board TXD/RXD LEDs dynamically indicate serial traffic.5.USB 2.0 port protection: over-current and short-circuit protection; each USB 2.0 port current-limited to 500 mA.
4.1.3 Notes
1.Disconnect power before assembly to prevent short circuits.2.Reference table on the back of the board shows switch settings:Model Setting | 0 | 1 |
SW1(HUB MODE) | Pi Zero USB HUB | Normal USB HUB |
SW2(UART MODE) | Normal UART | Pi Zero UART |
4.2 Raspberry Pi Configuration and Testing
4.2.1 Pi USB HUB Connection
1.Securely assemble the Raspberry Pi Zero onto the Pi USB HUB.2.Set SW1=0 (Pi Zero HUB mode), SW2=1 (Pi Zero UART mode).3.Connect peripherals (mouse, keyboard) to USB ports; indicator LEDs will light.4.2.2 Serial Port Test
Connect the board and PC with USB cable.check recognition.lsusb
check serial device, e.g., ttyUSB0.
ls -l /dev/tty*
The terminal displays the following content, and ttyUSB0 is the recognized serial port number.
stty -F /dev/ttyUSB0

4.2.3 Sample Program Demonstration
Enter the directory of the downloaded sample program files.cd My Demo Files Director
Python3 send.py #Send data
Python write.py #Receive data
send.py: sends data from Raspberry Pi to PC serial assistant.write.py: receives data from PC serial assistant and displays on Pi terminal.USB 2.0 read/write test:
#check mount point.
lsblk
#write test.
sudo dd if=/dev/zero of=/monut point/testfile bs=1M count=1024 oflag=direct status=progress
#read test.
sudo dd if=/mount point/testfile of=/dev/null bs=1M count=1024 iflag=direct status=progress
#clean up.
sudo rm /mount point/testfile
Resources
Ⅴ Appendixes
5.1 Precautions and Maintenance of Products
5.1.1 Precautions
- Do not plug or unplug modules while they are powered on.
- Follow all warnings and guidelines provided on the product.
- Keep the product dry. In case of accidental splashing or immersion in any liquid, immediately disconnect the power and thoroughly dry the product.
- Ensure proper ventilation and heat dissipation in the operating environment to avoid damage to components due to high temperatures.
- Do not use or store the product in dusty or dirty environments.
- Avoid using the product in environments with frequent temperature changes to prevent condensation damage to the components.
- Handle the product gently, as dropping, hitting, or severe shaking may damage the circuits and components.
- Do not clean the product with organic solvents or corrosive liquids.
- Do not attempt to repair or dismantle the product by yourself. In case of any malfunction, please contact our company for repairs. Unauthorized repairs may damage the product, and any resulting damage will not be covered under warranty.