Questions tagged [usb]
USB is Universal Serial Bus. If your question relates to a specific chip, please mention it in your question.
3,547
questions
0
votes
1
answer
36
views
Seeking USB-C Female PCB Connector for Razer Kraken X Headphones Adaptation
I’ve recently undertaken a project to adapt my Razer Kraken X USB headphones from a USB-A to a USB-C connection. Originally, these headphones featured a male USB-A cable designed for PC connection. I ...
0
votes
1
answer
61
views
How to use one USB-C port between 2x ESP32-S3 - Switched by toggle switch?
I am trying to switch over a USB and it's associated Data +/- traces with a physical toggle switch.
I've tried to work out how to do it with just the switch, but I don't think that would work as it ...
0
votes
1
answer
52
views
Transistor as a switch with square wave input [closed]
I want to construct a circuit that contains a transistor and a LED. I have a supply square wave input voltage(0-5v). Help me to construct a circuit when input is 0v ,if LED on and input is 5v then ...
0
votes
0
answers
7
views
How to get 50 points so I can comment on something that I think is useful information [migrated]
1.The problem is I need 50 points to be able to leave a comment on something and I feel the information is relevant.
2.I have went as far as making a name then attempting to comment only to find a ...
2
votes
3
answers
832
views
Why are CC1 and CC2 only connected to USB-C?
This is a schematic where USB-C is used to power a circuit device.
Notice that there are only VBUS and CC1 and ...
-1
votes
3
answers
32
views
USB-A - USB-C cable with 100W [closed]
I have a Xiaomi phone that shows 3 options when connecting the charger: Charging, Fast Charging and Turbo Charging. (Not sure which wattage is each one)
I have a fast charger that when I use a USB-C - ...
0
votes
1
answer
39
views
USB Type-C receptacle vs plug
I am learning about USB Type with the help of this material.In that you can see that two figures Fig1 and Fig2 says USB Type-C receptacle and plug.
May I know the difference between USB Type-C ...
0
votes
0
answers
23
views
How to wire a thunderbolt to micro usb power + receive usb a input? [closed]
I wish to create a cable which connects to thunderbolt to monitor cable and supplies power to a micro usb input but connects to a computer which connects to a usb hub in the monitor.
OR
How do I ...
0
votes
0
answers
59
views
USB-C Pogo Pin Coupler Troubleshooting
I've been working on this project for a while now and have hit a bit of a wall.
I've been designing a magnetic cable coupler for a automotive device (Comma3X). The device communicates with the car via ...
2
votes
0
answers
40
views
Mechanical USB interrupt [closed]
I'm quite the noob to USB controllers. I want to create a mechanical interrupt for USB power for a connected device.
Long story. Car has a USB a connection (probably3.0) for the stereo/phone ...
0
votes
1
answer
104
views
Are there any egregious errors in this design?
I'm attempting to design a USB 2.0 hub based on the USB2514Bi, but I seem to be running into some issues. The hub will have an additional daughter board, hence the switches and breakout headers, but ...
0
votes
0
answers
11
views
TUSB106 To DP Port and USB
I have a SOM which is having USB Type C + DP , Now I need to develop a carrier Board for the following requirement as given in Block diagram.
Is TUSB1064 Will capable of doing that, as mentioned in ...
1
vote
1
answer
42
views
USB to USB Back-Side Device Communications [closed]
I wonder, if two USB devices are connected to a single computer, may they correspond without any interaction with the host computer? I understand the need to an active component in the network. What ...
6
votes
3
answers
1k
views
Does USB-C Power Delivery require both CC pins or D+/D- pins?
I'm working on a project to update a device to use a Li-Ion battery rather than non-rechargables. I would like it to be charged via USB-C.
I have previously used IP2721 to handle the power delivery ...
0
votes
1
answer
94
views
Powering a dc motor from a robotics set with a USB 3.0 PC port
I got my hands on a Gigo microbit robotics set.
It uses a control box to house the microbit. As you can see from the control box specs, it uses 6 AA batteries, but it can also use an external micro-...
1
vote
1
answer
114
views
Solder pads ripped - charging via test pads?
My uncle asked me to repair a tablet but when I opened the tablet I saw that the micro USB connector was completly ripped off the board and I lack the tools to scrape free some of the copper to solder ...
0
votes
1
answer
51
views
How do I troubleshoot the ESP32 USB JTAG/UART interface on a new PCB design?
Question
How do I troubleshoot the ESP32 USB JTAG/UART interface on a new PCB design?
Background
My son is working on a project to track satellites and this is the first time that we have worked with ...
0
votes
1
answer
61
views
Is this circuit safe to be powered via USB for my 3 V 350 mA LEDs?
I'm building a simple circuit connected via USB to a number of LEDs in parallel, but I've always heard that USB connections are 5 V so I put a 10 Ohm resistor in series with the LEDs as shown on the ...
0
votes
1
answer
65
views
Custom PCB using ESP32 is rebooting infinitely after upload
I have designed a schematic for a project using the ESP32-WROOM-32. The ESP32 will upload code (without having to press the boot button and this is a first hint at error), but the ESP32 continues to ...
0
votes
1
answer
69
views
How to connect multiple devices using one USB port and a breadboard?
I have an audio device with 8 channels, every 2 of which need to be powered by a 5V power outlet. Up until now, my lab used USB chargers to solve the problem.
But now I have to improve upon it, and I ...
1
vote
0
answers
86
views
Monitoring Power/Connection status with INA219 and Arduino
Hey all I am looking to monitor the voltage/plugged in of a USB-C device.
I am using the INA219 to monitor the voltage using the I2C (SDA/SCL) lines to my Arduino (not shown in the schematic).
I just ...
0
votes
0
answers
82
views
Plugging in USB causes MCU to die
I have seen the below circuit at work. It has two supporting circuits on one PCB, each with its own ground.
The circuit with the micro-USB is tied to the MCU circuitry via L3, L4, and C30.
The MCU ...
0
votes
2
answers
84
views
Is it possible to send 18 watts via USB-A?
Actually this might be a cable question. I see wall warts out there advertising 18 watts.
3A USB Type-A & USB Type-C Wall Charger
The spec says "Output Voltage- 1 x USB Type-A 18 W"
I ...
0
votes
0
answers
40
views
USB 2.0 FS device over USB C with both power directions
I'm designing a battery-powered device with the following requirements:
rq1: (a) Charge the device's battery over a USB C receptacle, or (b) provide power over the same receptacle. Both directions ...
0
votes
1
answer
77
views
How to position the 1.5 kΩ pull-up resistor on USB Type-C D+ connection?
I am designing a TYPE C plug with STM32L432KC MCU and was wondering how to physically position the 1.5 kΩ pull-up resistor on D+ connection.
(male plug --- ft323 --- mcu)
Should it be next to the MCU ...
0
votes
1
answer
33
views
Standard USB OTG to USB C IC [closed]
I have a board that supports USB-OTG, with an integrated PHY in my MCU. It's fairly trivial to support a keyed connector (like Micro-B), but I figure USB-C would need a seperate chip to handle the non-...
1
vote
1
answer
54
views
DIY project - Listen to Guitar Amp on a USB headset [closed]
I have a Fender mustang GT40 which has a 3.5mm female audio jack connector so that the audio from the amp goes only to the headphones (crucial for me since I live in an apartment). It works wonders ...
0
votes
0
answers
57
views
Why are USB galvanic/isolators needed on battery operated devices?
Why are galvanic/optical USB isolators used?
I am an astro-photographer who does imaging at remote site locations on battery. I never encountered galvanic/optical USB isolation in devices until ...
0
votes
1
answer
61
views
Will this battery to USB auto switching circuit work?
I want to have a project be powered by six AA batteries or USB. When the USB cable is attached the circuit should automatically switch off the battery input and start using 5 V from the USB.
This is ...
0
votes
0
answers
119
views
ESP32-S3 USB Serial is read-only
I have a ESP32-S3-DevKitC-1 board. It has two USB ports, one connected to a USB to UART chip (brigde), the other connected to SoC directly (USB Serial).
The USB Serial is much faster than bridge for ...
1
vote
2
answers
73
views
USB Current Oscillation ~ 100 mA Without Device [closed]
Apologies for my lack of deep knowledge here - this is not my background and I am definitely an amateur so I greatly appreciate your willingness to help me!
Background: I was curious about the ...
1
vote
2
answers
58
views
STM32F417 DFU bootloader fails to start HSE crystal
I have a problem with a custom STM32F417 board. On some boards the DFU bootloader works fine, while on other ones it fails to connect by USB. In my custom firmware all boards connect fine by USB.
...
0
votes
2
answers
74
views
Can I treat the USB controller in the ATMEGA8U2 as seperate from the rest of the microcontroller?
I'm working on a project that runs on a battery, but can be connected to a computer for a serial connection/charging. In the documentation it lists an example of a bus powered USB controller with ...
0
votes
1
answer
42
views
Transmitting input through USB from microcontroller [closed]
I am making a device, similar to a cross between a controller and a mouse, and I wondered how I would send input to the computer.
For example:
Transmitting movement, buttons pressed etc.
Also, how ...
0
votes
0
answers
36
views
M-LVDS differential signals through multiplexers
I'm experimenting with M-LVDS via USB 3.1 cables, passing the differential signals through the SuperSpeed lanes. I'm using the DS91M040 for driving M-LVDS. So far no issues, however, I need now to ...
3
votes
1
answer
77
views
How can one have a canonically correct USB 2.0 Bus Powered Hub (100ma limit per port) with Type-C Downstream Facing Ports
Through research I am aware that using the CC lines one can advertise "Default" (500mA for 2.0 and 900mA For 3.0+), 1.5A and 3A before getting into PD territory, but none of these include ...
1
vote
2
answers
112
views
How to correctly design the USB power and communication interface for an RP2040 PCB?
I am trying to design a board that uses the RP2040, and after several iterations I am stuck. No matter what I try, I cannot get my boards to be recognized by USB. Thus, I also can't program them.
...
0
votes
1
answer
68
views
Making a USB connection over WIFI [closed]
I have been using wired Carplay/Android Auto in my car. I checked a few existing wireless auto solutions and realised the present solution has a complete system inside to handle the connection.
This ...
1
vote
1
answer
39
views
Is it safe to connect a µUSB bus to another voltage bus?
If I connect my µUSB bus to the other 5V bus what are the consequences?
What can I put in place to make it safe?
The µUSB would be plugged in while the circuit is active to reach a µC by default.
The ...
0
votes
0
answers
60
views
Role of RTS and DTR With CH340X, STM32WLE5, STM32CubeProgrammer
I am trying to (design a PCB where I will) program a STM32WLE5C8U6 via UART from my laptop using a CH340X in between. The CH340X shows this application circuit in the datasheet:
I understand what the ...
6
votes
2
answers
658
views
Is there any minimal distance recommendation between two USB female ports?
Is there any minimal distance recommendation between two USB_A female ports? Between USB_A port and other elements?
0
votes
1
answer
79
views
Using UART/USB Bridge vs straight USB stm32
I've been doing some research over the last few days into implementing usb communication protocol on the stm32. I know that the stm32 has dedicated pins for USB communication, however I still see a ...
2
votes
1
answer
123
views
Help me identify the blown part, SMD, 5-pin "5AH10"
Pic 1 (the ic):
Pic 2 (the ic):
Pic 3 (the ic):
Pic 4 (the hub board):
Pic 5 (back side of the hub ic right above the big ribbon cable female connector):
This IC is found in the USB hub of the HP ...
1
vote
0
answers
79
views
HX711 analog supply regulator current draw in sleep mode
I use HX711 ADC in my board that use LiPol battery as an only energy storage.
I used the same circuit as Sparkfun's board.
In my case, VCC is provided by STNS01 battery management IC - so it's either ...
0
votes
0
answers
41
views
How to interpret this wiki quote about connections between SELV and PELV circuits?
The wiki page about SELV circuits says:
A SELV circuit must have [...] simple separation from other SELV
systems, from PELV systems and from earth (ground).
Assume I have a SELV Class III device ...
0
votes
1
answer
86
views
Utilizing Multiple USB 3.0 Ports for USB-C DisplayPort Alt Mode
I'm currently exploring the possibility of leveraging multiple USB 3.0 ports to collectively emulate USB-C DisplayPort Alt Mode for connecting an external monitor.
Is it technically feasible to ...
2
votes
1
answer
120
views
Necessity for USB current limiting with Raspberry Pico
I have a couple of questions related to a project based on the Raspberry Pico.
I'm using the USB port of the Pico only to power it, not for communication.
The Pico has 47uF of capacitance on the VSYS ...
0
votes
1
answer
115
views
How do you wire a usb type c female connector?
I'm modifying my Nintendo controller, and I need to solder some stuff onto the usb type c female plug. However, I noticed there are five pins, and I have no idea what a single one is. Could you ...
1
vote
0
answers
81
views
Electrical Noise in Raspberry Pi with Multiple USB Connection
I'm currently in the process of creating a mobile robot using a Raspberry Pi. The robot incorporates three devices (ODrive, RPLidar, and UWB), all connected to the Raspberry Pi through USB ports. When ...
1
vote
1
answer
125
views
RP2040 PCB not communicating over USB
I designed a RP2040 board where the github can be found here https://github.com/peterk268/Pico-Pal/tree/main
I noticed I made a mistake where I accidentally connected my USB C data P1 to N1 and P2 to ...