USB 2.0 two input channel multiplexer based on TS3USB221
A simple USB2.0 2-channel multiplexer controlled using: UART(Serial) CLI and HTTP server available running at: usbmux.local
.
vscode
with platformio
plugin (Versions: vscode[1.49.2], platformio[Core:5.0.1, Home:3.3.0])# Build an application
platformio run
# Build filesystem
platformio run --target buildfs --environment d1_mini
# Upload filesystem image
platformio run --target uploadfs --environment d1_mini
# Upload the application binary
platformio run --target upload
# All in one-liner
platformio run && platformio run --target buildfs --environment d1_mini && platformio run --target uploadfs --environment d1_mini && platformio run --target upload
usbmux/app/src/hw_config.h
PART NAME | SHOP LINK | DATASHEET | QUANTITY | PRICE [PLN] |
---|---|---|---|---|
ESP8266 WEMOS D1-MINI | AliExpress | ESP8266-D1MINI | 1 | 7.99 |
TS3USB221 - USB 2.0 Mux | AliExpress | TS3USB221 | 1 | 6.00 |
Relay module | AliExpress | - | 1 | 2.09 |
CASE type: Z23 | Allegro | Z23 | 1 | 3.39 |
Micro USB 2.0 male connector | Allegro | - | 1 | 1.20 |
Mini USB 2.0 male connector | Allegro | - | 1 | 1.40 |
Micro USB 2.0 female to DIP Adapter | Allegro | - | 1 | 2.29 |
Mini USB 2.0 female to DIP Adapter | Allegro | - | 1 | 2.29 |
= 26.65 |