Questions tagged [usb]

USB is Universal Serial Bus. If your question relates to a specific chip, please mention it in your question.

226 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
238 views

Will this reversible USB-A circuit work safely?

I'm working on a PCB USB stick with a reversible USB-A connector. This device should work reversibly with any normal USB host. I know that it works fine with just the topside, but I realized it ...
3
votes
1answer
86 views

Downside of using superspeed pairs as USB 2.0

For time/cost saving reasons, I want to use a USB 3 cable as a USB 2 cable. The cable will be carrying other (slow) signals, and so extra conductors are needed (which is why I can't just use a usb 2.0 ...
3
votes
0answers
90 views

Is it OK to have flying leads on a differential pair?

I'm designing a small daughterboard that contains a microcontroller and a USB port. This board also has a connector to allow it to connect to a motherboard. What I'd like to be able to do is to have ...
3
votes
1answer
261 views

How do you determine the orientation of both ends of a USB-C cable from the UFP device?

As the heading states, I would like to semi-passively detect the orientation of both ends of a USB-C connection. I understand that it is possible for the UFP and DFP devices to infer their own plug ...
3
votes
0answers
140 views

Switch between USB and Bluetooth module TTL

In my project I have an MCU that I want to communicate with via 5V TTL serial. I have two methods of doing this in my circuit, USB via an FT232R (5V) and Bluetooth via an HC-05 module and level ...
3
votes
0answers
1k views

STM32F0 USB device - unexpected Device_Qualifier descriptor request

Edit I may not have asked the correct questions here. Please do not attempt to answer before I edit again to remove this message. Summary I'm developing firmware for a USB device, and I can't get ...
2
votes
1answer
87 views

General dimensions and recommendations for a USB dongle

I'm trying to create a device that connects via USB and sits in a users computers USB socket at all times, and I'm unsure of what the general dimension requirements will be. Ideally, this device ...
2
votes
0answers
69 views

USB Type-C DRP Integrated Switch/Interface Chip

I would like to experiment with a power bank design with a single usb type-c port. The port should have dual role, source current for charging other devices as well as sink current for charging itself....
2
votes
0answers
125 views

Embedded design with USB 3.1

I am trying to design a system that will transfer data between two storage devices on a PCB, preferably using USB 3.1 as speed is a major concern in this design. However, my understanding is that I ...
2
votes
1answer
55 views

Is there a good/standard way to find the equivalent to this part but for a different connector?

I'm looking for a USB connector part. I've found one part that has the right mount, but it has the wrong USB connector (in this case it is a mini USB). Is there a good way for me to look for a part ...
2
votes
0answers
754 views

DIY 4S Li-Ion battery pack

I am in need of some help designing my battery pack. I have a few concerns, mostly around charging. My plans consist of using a microUSB boost converter to bring the voltage to 16.8V for charging. ...
2
votes
1answer
176 views

USB 3.0 power and usb 2.0 data

I am planning on providing a system with the option of powering via USB. Now the system will require greater than 100mA, so USB 3.0 interface will need to be used for powering the system. The data ...
2
votes
0answers
263 views

Transzorb for MCP73831 USB LiIon Charger?

The datasheet of MCP73831 (a small LiIon charger device) recommends a transzorb on the USB power input (VDD) for input over voltage protection. See Section 6.1.1.2. Absolute maximum ratings for VDD ...
2
votes
0answers
2k views

Understand the shielding of a USB device

I have a GPS PCB which has regular USB pinouts (GND, +5V, DATA- and DATA+), but in addition has one stranded wire which is connected to USB type A plug. Marked as "USB connector" on the image: What ...
2
votes
0answers
97 views

Getting more than 0.5W from USB OTG

Has anyone actually measured the maximum amount of power that can be drawn from a smartphone's (say Samsung S4) USB OTG in host mode? I've read people suggest 100mA but can't find if anyone has ...
2
votes
0answers
2k views

Convert a wired headset to a wireless one

new to the board and not caught up with current technology, but I can handle myself when it comes to soldering and small electrical appliances. I have a headset that I really love, but the wire ...
2
votes
0answers
209 views

Send data from FIFO memory module to USB

I have a FIFO module running at 24MHz, producing 1 byte per clock. Then it produces 24MB/s. I need to send this data to PC through USB or Ethernet. How can I achieve this? Doesn't exist some USB ...
2
votes
0answers
4k views

STM32F4 USART USB communication with PC?

I am trying to use STM32 provided example of USART called "HyperLink" which basically runs USART1 on ports PA9 and PA10. The problem is that my computer does not find any new COM ports. Do I need ...
2
votes
0answers
3k views

Interfacing C# application with PIC24FJ256GB106 over USB

i made some kind of a meteo station. I get some temperatures (celsius degrees), UV radiation levels (UV index), solar radiation (W/m\$^2\$) and soil moisture. These values are shown in a C# ...
2
votes
1answer
255 views

Making a universal USB charger

I would like to make an universal USB charger. I have a 5V, 2A max generator and I can not find any electronic assembly to create a Dedicated Charging Port able to charge Samsung, Apple and other ...
1
vote
0answers
19 views

Using a USB phone charger to power sensor bin (instead of batteries)

I have one of those sensor bins that opens the lid automatically when you wave your hand near it. It needs 3 AA batteries. As it just sits in the kitchen near a power socket, I figured it would be ...
1
vote
1answer
52 views

USB (MCU Blows sometimes) Kinetis K66

So we have a product that has the below connectivity in relation to USB and power supplies. The device is a K66 MCU from Kinetis. Its datahseet is here: https://www.mouser.com/datasheet/2/813/...
1
vote
0answers
36 views

Can I connect a PSU to the Ramps 1.6+ and the USB to Arduino at the same time?

I just want to connect the Ramps to the power supply unit and upload the Marlin firmware to the Arduino. I found three possible outcomes 1. Problem I found one person here who says that we should ...
1
vote
0answers
34 views

USB 2.0 Maximum current through hub

I have a question regarding USB2.0 power negotiation. I'm in the process of improving the design of a support equipment PCB that utilises an FT232H chip. The layout of the current board consists of ...
1
vote
0answers
49 views

USB data transfer

I am still learning about mcus and how to interact with them, and so far USB communication looks like a black box for me. Basicall a question is, how do i communicate with usb device from window/...
1
vote
0answers
28 views

Is there a way to figure out what type of resistors my USB-C connector has?

I'm usually more into PC-PSU wiring and don't have much experience with the USB standard. A friend however asked me if I'd be able to make a USB-A (2.0) to USB-C cable for his nintendo switch console ...
1
vote
0answers
122 views

Making own Chromebook debug cable (SuzyQable)

I wanted to debug my chromebook so I was looking for SuzyQable which enables to activate debug features on chromebook. Unfortunately this cable is hard to get in my location so after noticing this ...
1
vote
0answers
35 views

wiring usb cables for powering multiple devices via a bus terminal

Hi all, I have a created a home brew cable to power up a monitor and a raspberry pi zero, and I have blown up a capacitor on the monitor card, and I have no idea why :( First question: Why did the ...
1
vote
0answers
46 views

Need to branch USB data lines… what to do with unused ends?

I have a USB 2.0 low-speed connection design with an unusual constraint. On the host side the D+ and D- lines have a branch, a requirement of the connector and this cannot be changed. On the device ...
1
vote
0answers
113 views

Infineon PMIC I2C connection for first programming

I want to use the Infineon IRPS5401, a Power Management IC with PMBUS functionality through the I2C protocol. Infineon suggests using the USB005 dongle https://www.infineon.com/dgdl/ug-usb005.pdf?...
1
vote
1answer
101 views

Electroconductive fabric

Just by looking at the pictures, can anyone help me identify what kind of blanket the copper strips are glued to? The kind of material and composition. Apparently seems to me to be a very thin glass ...
1
vote
0answers
46 views

Cmedia CM118B USB Audio chip datasheet lacks application schematics. Has anyone experience using this or similar Cmedia chips?

I'd really like to use the Cmedia CM118B USB audio chip - it's dual ADC and DAC, so supports stereo speakers/headphones and stereo mic over USB. However, the datasheet lacks any application schematics ...
1
vote
0answers
42 views

Custom pcb with 32U4, USB not working

I am wondering why USB isn't recognised at all. I followed Sparkfun Pro Micro specs. Firmware upload works fine (Adrduino Leonardo) Any help welcome !..
1
vote
1answer
64 views

AC to DC 12V 2A USB adapter

I have an external hard drive that I travel with to back up photos. It has a large (and quite heavy) AC/DC adapter that outputs 12V and 2A DC. I'd like to be able to leave that home and carry a small ...
1
vote
0answers
42 views

Why would a USB Mass Storage Class device STALL the IN token during the status stage of a write?

I'm working on a product using the USB0 peripheral (with integral PHY) of an NXP LPC4357 microcontroller to provide a USB Host implementation for Mass Storage Class devices. This works fine for most ...
1
vote
0answers
147 views

What PCB thickness is this USB connector targeted for?

The following USB Type C connector has lead lengths of 1.6 mm: https://adam-tech.com/downloader.php?p=USB-C31-S-RA-CS1A-BK-SS-TR.pdf What's a good PCB thickness for this connector? Also, why are ...
1
vote
0answers
98 views

Draw 15V from USB C Power Delivery devices

I need to draw 15V from USB C PD capable devices such as power banks or chargers. So I need a rather small tool or build for this I can draw about 15V 3A via usb c with. Thanks for your help.
1
vote
1answer
37 views

Powering a usb hub using a different source

I dont really know much about electronics and I tried to seach online if this specific thing im thinking of doing has ever been posted and i cant find anything exactly the same. So what im trying to ...
1
vote
0answers
178 views

How are MBIM transaction ID's supposed to be used?

Situation I am developing a product that will use this Sierra Wireless HL7618RD Cat 1 LTE modem. I am interfacing to the modem over USB using a small SoM running a Debian flavor of Linux. The modem ...
1
vote
0answers
70 views

Changing between usb power and battery power using P-Channel MOSFETs and a CMOS Invertor

I am trying to switch between USB power and a single cell lipo using two mosfets. Would the circuit below be ideal or is there a more efficient/reliable way to do this? When the USB is connected the ...
1
vote
0answers
40 views

Looking for circuit, reversing polarity of DC motor

Consider I have 2 inputs, A and B. I need help with a circuit that does the following if only A is active (A,B : 1,0), then the motor should run clockwise if only B is active (A,B : 0,1), then the ...
1
vote
1answer
250 views

USB 2.0 termination. Single ended vs Differential

why are usb 2.0 differential traces terminated with 45ohms each to ground, instead of being terminated with a 90ohm resistor across the pair? and if it is equivalent, why would we choose one way over ...
1
vote
0answers
61 views

How to get correct response from UPS HID

I have a UPS HID device and I'm trying to use LibUSB to get data from it. The response expected is in the format below: ...
1
vote
0answers
41 views

USB PD Power Delivery Skip 9V Requirement

Is there any way possible to implement a USB C PD port that only sources 5V and 15V? As I read the spec (USB Power Delivery Specification Rev. 3.0, Version 1.2, June 21, 2018) it seems that I cannot ...
1
vote
0answers
199 views

Adapt existing usb-2 otg device to usb-c but use usb-2 mode

there are number of articles out there, like this one: http://www.ti.com/lit/wp/slly017/slly017.pdf But I'm not super confident in my abilities here so I'm wondering if someone could proof my ...
1
vote
0answers
120 views

How to disconnect 3.7V battery when USB is connected (boost)

I am developing a circuit which enables me to charge a lithium battery and boost the output voltage up to 5V for a microcontroller. My boost converter is the MT3608, and the charging circuit is the ...
1
vote
1answer
119 views

USB UART Bridge with capability of handling fast charge VBus

I am trying to design a charging circuit which support QuickCharge but also I want to add USB-UART bridge to communicate with on board MCU. How can I establish voltage level safe communication ...
1
vote
0answers
63 views

Why EP0 is disabled on USB_RESET in Atmega32u4?

I use atmega32u4 (arduino pro micro), powered from usb. In atmega32u4 datasheet p. 267 it is stated: When an USB reset is detected on the USB line (SE0 state with a minimum duration of 2.5μs), the ...
1
vote
0answers
89 views

LAN9512 keeps disconnecting from RPi Compute Module

Main problem I'm using a RPi CM and I connected a LAN9512 to it. However it keeps disconnecting: ...
1
vote
0answers
241 views

How can I measure the power given to a USB WiFi adapter's antenna in dBm or mW?

I have an Alfa AWUS036ACH USB WiFi adapter, and would like to know how much power is being given to the antennas (in dBm or mW). The Amazon link to it is here: https://www.amazon.com/Long-Range-Dual-...

1
2 3 4 5