HermannSW wrote: ↑
Sun Apr 28, 2019 5:02 pm
funnel wrote: ↑
Sun Apr 28, 2019 3:34 pm
Adding a usb hub and a usb ttl adapter would take too much space for what I need and a Zero for $5 is cheaper than buying a hub.
You can get a 2nd USB cheaper and with less space than with a USB hub when using the Zero test pads and DIP2USB adapter for few cents:
No, you can't. You might be able to wire up a second physical connector via the test pads but that won't let you connect two USB devices. There is only one USB port on the SoC.
What you suggest will share the D+ and D- lines from the single USB port on the SoC between the two connectors. That's gonna violate the USB spec and with a device connected to both physical ports neither can be expected to function.
Edit: Stop and think for a moment. If that were possible, why would USB hubs A. exist and B. be actual USB devices rather than just a set of connectors wired in parallel?
Arguing with strangers on the internet since 1993.