Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D Universal UGREEN USB Sharing Switch - ESPHome por Fabiian no MakerWorld

Descrição

This is a remix of the Wifi Control Mod for UGREEN Switching USB Hub by @kn100.

While the original project was designed for the USB 3.0 version, I have successfully tested it with the USB 2.0 variant, so it seems that the PCB dimensions for the USB 2.0 and USB 3.0 variants are identical in their dimensions and mouting holes

I also used another microcontroller and components I had lying around. It shouldn't be hard to adapt this to every other microcontroller you have.

Changes compared to the original design

  • Decreased the distance between the USB ports and case - especially the microUSB Port wasn't accessible for my cables as it was sitting too deep in the case.
  • Added filets (rounded corners)
  • Changed the slot size for the cables, made it “open” so a 4-pin connector shouldn't be that necessary anymore. Gets closed using the esp housing part.
  • Changed the screws to countersunk M2.5 screws (4x M2.5x5 and 4x M2.5x20) and inserts (had M2.5 with OD of 3.5mm and length of 2mm here)
  • Made the case a bit wider to better fit with the M2.5 screws (and the corners of the board, had to file round edges on mine so they fit the original design)
  • Added my Fusion360 Source file - should be mostly adjustable using the parameters
  • Used an ESP8266 instead of an ESP32
    • Also used an SS8050 NPN instead of the BC327 PNP
    • Different Resistors
    • All this shouldn't really matter though

Wiring & Hardware Guide

To ensure stability on the USB 2.0 board, follow this specific pin mapping.

1. Power Supply

  • 5V Line: Solder your 5V wire to the 0-Ohm Resistor (labeled '0' or 'F1') located near the Micro-USB power input port. This provides the most stable current.
  • GND Line: Connect to any main Ground pad on the Hub PCB.

2. LED Sensing (Status Tracking)

  • Connect Wire 1 from the Hub LED to a voltage divider before it hits the Wemos D1 Mini.
  • Resistor R1 (10k): Connects between Pin D6 and GND.
  • Resistor R2 (10k): Connects between Wire 1 and Pin D6.
  • This safely drops the 5V signal to 2.5V for the microcontroller.

3. Switch Control (The Trigger)

  • Use an SS8050 NPN Transistor to "press" the button digitally.
  • Base: Connect to Pin D7 through a 2.2k resistor (R3).
  • Collector: Connect to the non-grounded side of the Hub's physical tactile switch.
  • Emitter: Connect directly to GND.
  • IMPORTANT: Solder a 10k resistor between Pin D7 and GND as a pulldown. This prevents the USB from switching randomly during the ESP8266 boot-up sequence.
     

 

MakerWorld

Universal UGREEN USB Sharing Switch - ESPHome

Publicado em 6 de jan de 2026

1
Curtidas
0
Downloads
5
Coleções
Categoria Gadgets
Tags
mod esp8266 esp32 ugreen esphome
Licença BY
Ver no MakerWorld (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta