Giter Site home page Giter Site logo

usbmux's Introduction

usbmux

USB 2.0 two input channel multiplexer based on TS3USB221

Details

A simple USB2.0 2-channel multiplexer controlled using: UART(Serial) CLI and HTTP server available running at: usbmux.local.

Instalation

  • Install vscode with platformio plugin (Versions: vscode[1.49.2], platformio[Core:5.0.1, Home:3.3.0])

Building and flashing

# 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

Pinout

  • HW pinout defined at: usbmux/app/src/hw_config.h
  • Board connector pinout: usbmux_board_pinout

Schematics

usbmux_board_schematics

More random pics

  • Completed device: usbmux_completed
  • UART(Serial) CLI: usbmux_web1
  • Web server: usbmux_web1 usbmux_web2

BOM

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

usbmux's People

Contributors

luk6xff avatar

Stargazers

Kamil Zając avatar Przemysław eRIZ Pawliczuk avatar Ridicc avatar SC avatar

Watchers

 avatar

usbmux's Issues

Can't see mux/demux board pin connections.

Say I have a project and was looking how to use that black mux/demux board.
There is a lot of hot glue and I can't see how that black breakout board is connected to your sub board to match pins up.
Do you have any more details on this or the usage of that smaller black board or do you have some pictures with less glue :D?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.