Electronics > Projects, Designs, and Technical Stuff

Trick USB Device Into Thinking it is Plugged Into a Computer

<< < (4/4)

MosherIV:
What exactly are you trying to do?

Have you already bought the device?

As I said, I do no think you can trick the device into working just by powering it.
It is an audio radio receiver to USB converter, probably the bulk of the work being done in a single chip device that needs to connecter to a usb host before it will do anything.

Why not just buy an audio receiver if that is what you need
https://fpvdronereviews.com/guides/best-fpv-receiver/

tooki:

--- Quote from: Bigjoe11 on May 15, 2020, 03:54:08 pm ---I thought it might do the power negotiation because of this:

--- End quote ---
Nope. There are charger ICs out there that do just what abyrvalg said: simulate different resistors to get each device to draw maximum current. It’s not power negotiation.

The ONLY chargers that do power negotiation are the ones that support high-voltage charging schemes, namely Qualcomm QuickCharge or USB-PD, neither of which is relevant here.

Would have been smarter to put the $10 towards a raspberry pi like I told you.

tooki:

--- Quote from: abyrvalg on May 15, 2020, 06:52:48 pm ---That could be just some MCU switching various resistor combinations to find out the one with max current. Seen such kind of charger already.

--- End quote ---
Yep, except that it’s not an MCU, but rather a dedicated USB charger IC built specifically to do that, like the TI TPS2514. The feature is called “DCP Auto-Detect”.

alaindesjardins:
I am trying to do the same thing. My issue is with Dell AC511 soundbar. It requires to be plugged into a computer before it even turns on but all I want is to pass through audio from the HDMI (via extractor) so I can play whatever I have plugged into HDMI into the sound bar. The whole purpose of the sound bar is that it mounts underneath the monitor and doesn't require separate speakers since I have it mounted on the wall. If I plug it into a device the sound bar will turn on and work fine once unplugged from that device until the monitor turns off and the power is cut to the sound bar. I need to repeat the process to get sound working again when I first power on the monitor. A work around would be to use a raspberry pi but I would rather have a more elegant solution if at all possible.

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod