Save Energy ....................6 About Output Current ..................7 About MTT and STT ................... 7 Mount MEGA4 under Raspberry Pi 4B ............... 8 Connect Power Supply ..................9 Voltages Header and Reset Header ..............10 Software Installation and Usage ................ 11 Interactive BASH Script ................
The U-shaped adapter (included) can make data and power connection between MEGA4 and Raspberry Pi. MEGA4 is also a powered hub and you can connect 5V power supply to its USB type C connector and significantly increase its current output ability.
Page 4
The picture below shows how the board look like: 1~4) Downstream USB port with white LED as power indicator and blue LED as activity indicator Upstream USB port USB type C power in (DC 5V) Voltages header Reset header Red LED as power indicator for the whole board...
Package Content Each package of MEGA4 contains: MEGA4 board x 1 U-shaped adapter x 1 M2.5 x 10+6mm Copper Standoff x 4 M2.5 screws x 4 M2.5 nuts x 4...
MEGA4. Hence MEGA4 can draw current from Raspberry Pi 4B and get powered. MEGA4 has a USB type C connector, which allows you to connect a supplemental 5V power supply to increase MEGA4's current output ability. Because of the existence of "ideal diode", the power provided via USB type C connector will not be fed to...
PPPS can help. If you have a USB hub that supports PPPS (let's say MEGA4), and that hub is connected to a computer that has network access (let's say Raspberry Pi 4B), then you can turn on/off every port on the hub remotely.
About Output Current If you do not connect a dedicated power supply to MEGA4's USB type C connector, it will get powered from Raspberry Pi 4B's USB bus. In such case it can draw current up to 1.2A and its total output current will not exceed that limit.
Mount MEGA4 under Raspberry Pi 4B The recommended way to use MEGA4 is to mount it under your Raspberry Pi 4B. The first step is to put the 4 copper standoffs on the board and secure them with the copper screws.
Because MEGA4 can draw power from Raspberry Pi 4B (via the "ideal diode"), it can work without connecting supplemental power supply, as long as the USB devices on MEGA4 do not consume more than 1.2A current in total. In such case you can just connect 5V power supply to your Raspberry Pi 4B.
Voltages Header and Reset Header There is a voltages header (P1) on the edge, which breaks out some important voltages on the board. Vbus: the voltage from Raspberry Pi's USB bus 5V: the main power for the hub (direct connects to USB type C) ...
Software Installation and Usage You can use MEGA4 as a USB 3.1 hub without installing any software, however if you wish to turn on/off the power on each USB port, you will need to use the software. MEGA4's software is a wrapper of uhubctl, and it provides intuitive interface for controlling the power on each USB port, and also allows you to control your MEGA4 via UUGear Web Interface (UWI).
UUGear Web Interface (UWI) You can also monitor and control your MEGA4 device(s) via UUGear Web Interface (UWI). With default settings you should be able to access your MEGA4 with address http://raspberrypi:8000/mega4/ on web browser, however if your Raspberry Pi has...
Page 15
The UWI page will list all your MEGA4 devices, and here you can see the status of every port (powered or not, has USB activity or not). There is a virtual power button on every USB port, so that you can turn on/off its power.
MEGA4 devices are daisy-chained, it is strongly recommended to connect another 5V power supply to the USB type C connector on the first MEGA4 board, otherwise the initialization may fail and you will see the LED indicators keep blinking.
You can also connect MEGA4 to other computers via USB extension cable. Stacking Multiple MEGA4 Devices This is the recommended way to chain multiple MEGA4 devices together. It is elegant and doesn't need any extra accessory. Assume you have mounted a MEGA4 device...
Page 18
Then you can place the second MEGA4 device on it, and make sure the upstream port (USB IN) aligns to port 4 of the first MEGA4 device. You can use copper screws to secure the second board and then use the U-shaped adapter to connect two...
Page 19
What if you want to mount more? The idea will be the same, but starting from the third MEGA4 device, you don't change the positions of copper standoffs, and you just replace the copper screws with standoffs in place.
Need help?
Do you have a question about the MEGA4 and is the answer not in the manual?
Questions and answers