Hi everyone,
I’m working on a small project and would appreciate some guidance.
My goal is to build a Spotify streaming engine with the following behavior:
- Audio output should go to a pair of Energy Sistem Tower 7 TWS speakers via Bluetooth 5.0 or higher.
- When streaming starts, the board should briefly emulate a fake USB pendrive (with no valid partition) to wake up the speaker. After that, the “pendrive” should disappear so the speaker can switch back to Bluetooth mode.
Here’s what I have on the Tower 7 TWS side:
- A power‑only USB‑A port that can reliably supply 5V at up to 2.5A.
- A standard USB‑A port for reading media devices (power output unknown, but definitely well below 1.5A).
And this is where the complications begin.
According to the documentation, the Zero 3W cannot be powered through the USB 3.0 port – only through the USB‑C OTG port or the 5V/GND pins on the header. That’s fine in principle: I can use a power‑only USB cable from the speaker’s high‑current port and connect the other end to the 5V/GND pins on the Zero 3W.
But what happens with the OTG port in this case?There’s a high chance that the OTG port will still present 5V from the speaker’s data USB port, which could backfeed into the board and conflict with the 5V I’m supplying through the GPIO pins. Even though both power sources share a common ground (coming from the Tower 7), I’m not sure whether this configuration is electrically safe. Should I add some kind of protection here, or is it better to simply cut the 5V line in the OTG cable so it carries data only?
Finally, I assume that Spotify streaming and the brief USB‑pendrive gadget emulation shouldn’t be heavy tasks for this board, but please correct me if I’m wrong.
Thanks in advance!