Questions tagged [usb]

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

Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

USB C to A cables [closed]

I have many USB C to A cables, but only one meets the specs and works for me https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%20R2.0%20-%20August%202019.pdf P86 USB Type-C to USB 3.1 ...
4 votes
2 answers
7k views

Is it sufficient to put 5.1k pulldowns on CC1 and CC2 of USBC to get 5V 1.5A?

My device needs 1.5A at 5V from a USBC connector. I already have 5.1k resistors in place on both CC1 and CC2 and a fuse rated for 1.5A. However, I have read on here in another thread that apparently ...
0 votes
2 answers
46 views

USB C Power Delivery using below schematic?

I have limited experience with USB C and I want to design a board which needs to charge both a smartphone and another subsystem which draws around 1W. I have read that by just connecting a 5.1k ...
1 vote
0 answers
62 views

USB connector: inward positioning relative to front panel

I am going to use 292336-1 USB connector and having difficulties figuring out the information on recommended inward offset relative to front panel surface. The datasheet, in its recommended PCB layout,...
0 votes
0 answers
39 views

What is the meaning of a 28k pull-up resistor in an USB A-to-C cable?

Since that debacle a few years ago, I assembled a small test harness where I plug every new A-to-C cable that I get to check for the 56k pull-up resistor between CC and Vin and toss out the ones that ...
0 votes
2 answers
73 views

Wiring USB-C connector to micro-USB

I have some problems wiring the micro-USB cable to a USB-C connector. I have used the wiring scheme found here, but neither the data are transferred nor the power is supplied to the device. The ...
0 votes
1 answer
45 views

Connect ADS1298 to PC via USB

I designed an ECG board based on ADS1298 and schematics in this document (pages 52, 53, 55) with some customizations. I should connect it to PC via USB. As I found here, TI evaluation board uses a DSP ...
-1 votes
1 answer
209 views

Why isn't software USB/TTL on ATmega328p working?

I've tried to implement an AVR-CDC project. I found this website which is recommended by V-USB (I know it is pretty old project.) I drew this schematic: I've built a PCB basef on it and then I've ...
0 votes
1 answer
47 views

Is there a voltage limit implemented in USB A to USB C charging?

We have a supplier that designed a battery pack for us. The pack has a USB C port, and comes with a USB A to USB C cable. The cable only has two wires (V+ and GND), with CC resistors embedded in the ...
0 votes
0 answers
65 views

USB extension with DC-DC (step-up/down) conversion? [closed]

I want to use a RTL-SDR at a remote location via USB 2.0 to ~10m instead of buying an antenna cable. At the end there is no power available, otherwise I would have used a USB hub. How to deal with ...
3 votes
1 answer
2k views

DIY Webcam (MIPI to USB)

I'm looking to purchase a webcam (or several) for live streaming since I'm stuck in my house for the indefinite future because of the coronavirus. However anything halfway decent is completely sold ...
0 votes
2 answers
206 views

Efficient strategy to acquire multiple spi interfaced sensors data in parallellover several spi buses?

I want to continuously acquire temperature from many ( ~20) thermocouple MAX 31856 all on one PCB ultimately. This chip interface with spi. The project language is python Because of the sensor latency,...
0 votes
2 answers
56 views

PCB Design review for STM32 USB-UART bridge

Could anyone review the schematic for CH340 chip. My goal is to drive STM32F030C8T6 automatically into bootloader mode while uploading code. Unfortunately I am not able to program this board without ...
1 vote
2 answers
325 views

Interface and data transfer between FPGA and Processor- TI AM4376 over USB2.0

I have interfaced Xilinx 7 Series FPGA with TI processor- Sitara AM4376 over USB2.0. I have implemented USB PHY through Cypress USB Controller IC - CY7C68014A (EZUSB-FX2LP). The attached file is the ...
1 vote
0 answers
40 views

FT232H USB to I2C Device Not Detected

I am using an IC from FTDI, FT232H. I am using it to connect to a video decoder, via I2C, from a USB port on my type6 CPU module. I am able to detect the FT232H and install the proper driver on the IC ...
0 votes
0 answers
22 views

How to design dual mode USB Type C power bank?

I want to design power bank that has 2 USB Type C ports and uses a large lithium battery inside. I want to be able to use 100W power delivery when possible. I am absolutely overwhelmed by looking at ...
-1 votes
1 answer
250 views

USB enumeration stops working

I build a prototype board with a STM32G431KBT6 on it. This board simply drives some peripherals (led panel, motor) based on what commands I'm sending it over the Virtual COM port. When connected to my ...
0 votes
1 answer
48 views

USB 2.0 Full-speed differential impedance

The USB 2.0 Full-speed specifications, and numerous other sources on the internet list a signal differential impedance of 90 ohms. However, most designs use a pair of 22 ohm termination resistors on ...
0 votes
0 answers
42 views

Can someone help interpret the wiring for this camera? [closed]

I am trying to figure out how to wire this camera from aliexpress. I think I've figured out that D- and D+ and 3.3V and GND are the pins on USB, but I'm not really sure what LED power, PTC, or ...
6 votes
3 answers
10k views

How to monitor voltage and charge status in USB battery pack

What's the easiest, least intrusive way to monitor voltage, charging status, and remaining charge of a USB battery pack? Battery packs and charging circuits for mobile projects can be complicated and ...
0 votes
2 answers
32 views

USB 3.0 SS lines issue

Can you route USB 3.0 SS lines to two PCB's but the USB controller is located on the second PCB? The PC host is connected to the first PCB over a usb c-c connection (center usb port in image). Then ...
1 vote
1 answer
33 views

Circuit to handle multiple PSU input options [duplicate]

I'm trying to design a simple circuit that can handle different power supply sources for my microcontroller project. The microcontroller and its associated circuitry need 3.3V, and additionally I need ...
0 votes
2 answers
140 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
96 views

Can I use SATA traces on PCB for USB 3.0?

Can I use SATA traces (SSD_RX+/- & SSD_TX+/-) on a PCB for USB 3.0 data transfer? I am designing a test system for PCBs. There are SATA lines and I think this 2 pairs can use for USB 3.0 data ...
0 votes
2 answers
43 views

USB Type C mobile phone charger Design using MPQ4242-AEC1

I am planning to design a USB type C charger for my bike. This is the first time I am designing a USB charger. I decided to use MPQ4242-AEC1 from MPS. A 12 V will be coming from my battery. As per my ...
0 votes
0 answers
35 views

Configuring a USB-C/PD Controller IC for a Type-A Output

I'm working on a new USB charging product to be installed on airplanes. I understand the power requirements well enough: it has to take 12V-32V input and be able to provide up to 45W of power per ...
0 votes
2 answers
78 views

USB Current limiting function

I have a little question. This is a USB current limiting function in Orange Pi Schematic. I have tried research it but wonder how does this circuit work since Vcc - Decoupling Capacitor - GND. It's ...
2 votes
1 answer
302 views

USB-C DFP VBUS line

I am trying to desing extension board with USB 3.1 gen 1 Type C in DFP (host) role. To support the flipping of the connector I chose PI5USB30213A. I planned to use default voltage and current ...
0 votes
0 answers
35 views

Will my circuit to add status LEDs to indicate VBUS current draw work as intended?

I am a mechanical engineer with very limited electronics knowledge. Recently I decided to undertake a project to design a USB 3.1 hub for a personal project, to get a better understanding of ...
0 votes
3 answers
3k views

How to light an LED to indicate when a usb port has a plug in it?

I'm looking for a way to light a 3.0v-3.4v 20mA LED to indicate when a usb 2.0 port has a plug in it. The light should only be on when a device is plugged in. My usb 5v line is about 3.2 to 3.3 amps ...
1 vote
2 answers
2k views

Detecting When a USB Device Is Plugged In For Status LED

I've seen this asked a few times, but no definitive answers. I've also been Googling this for a couple days now with no definitive solutions. So time to ask... I'm building a fast charge USB charging ...
0 votes
1 answer
53 views

Seeking USB-C Female PCB Connector for Razer Kraken X Headphones Adaptation [closed]

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
66 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 ...
1 vote
2 answers
213 views

Most efficient way to charge many USB devices with buck converter(s)

At my place, I have a small DC grid with a varying voltage between 20 and 50v. I use it for quite a few things, including supplying power to most of my portable devices and everything else that is ...
0 votes
1 answer
55 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 ...
2 votes
3 answers
858 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 ...
0 votes
0 answers
8 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 ...
0 votes
2 answers
412 views

How to switch Rp and Rd resistors with MOSFETs in Dead Battery Mode

Using the USB-C specification as reference, I cannot figure out how to actually switch Rd and Rp resistors on and off using MOSFETs in a real schematic, without requiring external power/battery, i.e. ...
-1 votes
3 answers
33 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
328 views

Program/debug via the built-in USB in EFM32

How to program/debug the Silabs EFM32 via the USB built-in interface? Is it possible to do that with a simple USB cable, without any adapter?
0 votes
1 answer
40 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
1 answer
227 views

ESP8266 NodeMCU and 5 V relay powering issue

I am using an ESP8266 NodeMCU and a 4-channel 5 V relay. When I power both with an external 5 V, 2 A supply it doesn't work, but when I connect both devices using a separate supply from a laptop's USB ...
0 votes
0 answers
65 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 ...
1 vote
1 answer
222 views

RS232 DCD over Serial-USB Adapter

I've been reading about PPS in linux and GPS synchronization. I stumbled on some sources recommending using a USB GPS, I'm nto quite sure I understand how the interrupt signal is passed through. The ...
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 ...
2 votes
1 answer
3k views

MCP2221A USB to USART with Windows 10 drivers

I just designed a board using the MCP2221A USB-to-USART bridge device from Microchip. My development platform is currently on Windows 10. I have downloaded all of the files and utility programs I ...
2 votes
1 answer
7k views

Connecting ESP32 WROVER to USB

I'm building my first ESP32 Wrover Breakout PCB. Now to me it's unclear at the moment what I can omit to get it running USB connectivity Now in order to get USB running there seem to be two options: ...
1 vote
3 answers
4k views

USB pull-up in STM32F103 (D+)

I've got pretty quick question as a beginner in STM32 MCUs. I design my own PCB board for STM32F103C8T6 uC with a couple sensors (connecting via SPI and I2C). I want to include also an USB connector ...
1 vote
1 answer
478 views

HAL USB device library transfer complete callback (USB MIDI adaption)

I have been able to implement Zac Rogers USB MIDI adaptation of the Cube MX USB device middleware: https://github.com/zacrogers/blue_usb_midi I can send USB midi messages on both F103 and F411. It ...
3 votes
1 answer
967 views

Programming an ATtiny85 and powering a circuit over a single USB-C port

I'm currently working on a RGB enabled controller stand that will include a circuit that does do two things: charge the controllers control RGB strips on the mount I'm pretty new to electronics, and ...

1
2 3 4 5
73