GithubHelp home page GithubHelp logo

8086net / pico-sexa-uart-bridge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joesc/pico-sexa-uart-bridge

33.0 1.0 2.0 36 KB

Raspberry Pi Pico UART-USB-I2C bridge (USB to six UARTs and one I2C)

Home Page: https://www.tindie.com/products/32981/

License: MIT License

Shell 1.02% C 96.31% CMake 2.67%
i2c-tiny-usb pico raspberrypipico uart

pico-sexa-uart-bridge's Introduction

Raspberry Pi Pico USB-UART and I2C Bridge

This project converts the Raspberry Pi Pico(or any RP2040) into a USB to 6 UART and I2C board with activity LEDs.

Supporting hardware, the "PicoUART6" is available on Tindie and eBay.

The 6 USB UART are compatible with the builtin USB CDC class drivers in Linux, macOS, and >= Windows 10.

The I2C interface requires an i2c-tiny-usb driver. On Linux copy the "90-PicoUART6.rules" file into "/etc/udev/rules.d/", run "sudo udevadm control --reload" and then unplug/replug the Pico. Running "i2cdetect -l" will then show the i2c-tiny-usb bus you need to use in your application.

History

This expands JoeSc's project to add activity LED for each UART which itself expands Noltari's project to add 4 additional UARTs using the pico PIOs. And expands on harrywalsh's project to provide better SEO and remove some data loss when using all 6 UARTs concurrently.

It then has Nicolai-Electronics's project for i2c-tiny-usb support merged in.

Disclaimer

This software is provided without warranty, according to the MIT License, and should therefore not be used where it may endanger life, financial stakes, or cause discomfort and inconvenience to others.

Raspberry Pi Pico Pinout

The pinout can easily be modified in uart-i2c-bridge.c but below is the default

Raspberry Pi Pico GPIO Function
GPIO0 (Pin 1) UART0 TX
GPIO1 (Pin 2) UART0 RX
GPIO2 (Pin 4) UART0 Activity LED
GPIO4 (Pin 6) UART1 TX
GPIO5 (Pin 7) UART1 RX
GPIO3 (Pin 5) UART1 Activity LED
GPIO8 (Pin 11) UART2 TX
GPIO9 (Pin 12) UART2 RX
GPIO6 (Pin 9) UART2 Activity LED
GPIO12 (Pin 16) UART3 TX
GPIO13 (Pin 17) UART3 RX
GPIO7 (Pin 10) UART3 Activity LED
GPIO16 (Pin 21) UART4 TX
GPIO17 (Pin 22) UART4 RX
GPIO10 (Pin 14) UART4 Activity LED
GPIO20 (Pin 26) UART5 TX
GPIO21 (Pin 27) UART5 RX
GPIO11 (Pin 15) UART5 Activity LED
GPIO26 (Pin 31) I2C SDA
GPIO27 (Pin 32) I2C SCL
GPIO14 (Pin 19) I2C Activity LED
GPIO15 (Pin 20) Power LED

pico-sexa-uart-bridge's People

Contributors

noltari avatar joesc avatar burtyb avatar cxxcoder avatar

Stargazers

Srinivas Nistala avatar Cailean Carter avatar ktetsuo avatar  avatar Atsushi Kamano avatar Selim Coskun Guler avatar  avatar Ralf Ren avatar koutsie avatar Azalea avatar  avatar Carlos Venegas Arrabé avatar Douglas Fraser avatar Bart Vanbrabant avatar Bruce Johnson avatar  avatar Ian Evans avatar King Wong avatar Philip avatar  avatar  avatar Ali Osman Aksu avatar  avatar 飞 avatar  avatar Paul Ludeking avatar Jeff Karney avatar Carey Bishop avatar Wade avatar Dobrica Pavlinušić avatar Chinmay Pendharkar avatar  avatar Masahiro Kusunoki avatar

Watchers

Ian Evans avatar

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.