Hacker News new | past | comments | ask | show | jobs | submit login

The Teensy is very popular for acting as either USB host or peripheral and there's lots of projects to draw ideas and code from. The latest one only has 2 physical USB ports, so you would have to use a hub for your use case. I don't think you'll find a microcontroller with 4 physical ports anyway.

https://www.pjrc.com/store/teensy41.html




Hub for the inputs is fine but I think I'd need 3 physical ports in that case - 1 for the hub and 2 for the separate outs.

However... it just occurred to me I could connect 2 together for cross signaling over the other pins and have 2 in and 2 out that way.


Another idea, STM32Fxxx...3 physical USARTS in at least some of them.

A project using it: https://github.com/satoshinm/pill_serial

Specs for one with 3 usbs: https://www.st.com/en/microcontrollers-microprocessors/stm32...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: