Skip to main content

Questions tagged [usb-device]

Quesions about the design of USB devices that connect to a USB host, such as a PC.

Filter by
Sorted by
Tagged with
0 votes
4 answers
86 views

How to convert MEMS digital microphone to USB? [closed]

I have a camera + microphone combo PCB board removed from an all-in-one computer and I'm trying to reuse it. The camera is a standard USB device. The wires are even properly color coded. So I just ...
Deling Ren's user avatar
0 votes
0 answers
31 views

USB-C module configuration pins in parallel connection

I have received a lot of help from several members of this site. After trying to wire two charging ports on the same device and investigating the diode OR-ing configurations and the power mux ...
condor12's user avatar
  • 145
1 vote
4 answers
95 views

Why USB-C plug doesn’t charge? [closed]

I have multiple USB-C 5V chargers of the same type that do not charge connected android devices. Devices detect charging if these are turned off, but when turned on, no charging icon of any visual ...
kamillabaarnowak's user avatar
0 votes
0 answers
35 views

How to control a USB powered fan from ESP8266 or Raspberry PI

I bought a USB powered desktop mini fan which has a single button to control the fan speed (1, 2, 3, Off). The fan has a rated input of 5V/1Amp and rated power of 1 - 5W. I am tyring to find out a way ...
debopam's user avatar
0 votes
0 answers
36 views

Converting a USB HID K/M Composite Device to a USB HID Compound Device (or Two Seperate K/M Devices)

I want to connect a USB composite device (Raritan KX4-101) with keyboard and mouse descriptors to a USB matrix switch with a very picky HID keyboard and mouse emulation (Extron SMX USB). From what I ...
braxlan's user avatar
0 votes
2 answers
41 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 ...
Omar Kiyani's user avatar
0 votes
0 answers
48 views

Unable to make ULPI works with STM32F446

I am using a USB3300 chip as an external HS 480Mbit/s USB PHY with STM32F446 MCU. Using CubeMX to generate code and add USB CDC Middleware. As I connect the USB Cable from the PC to the USB3300 chip ...
Yash's user avatar
  • 11
0 votes
0 answers
26 views

STM32 VBUS sensing with quick charge

I'm developing a self-powered device based on STM32. The fast charging feature controlled by a chip using D+/D- USB pins. Once USB is connected, the chip performs "handshake" to know the ...
ymakux's user avatar
  • 125
0 votes
1 answer
41 views

Can the MCP2221 send serial data through a USB serial link?

I am using a MCP2221A to program an ATMEGA1284p through the USART/UART lines(converting USB signals from the computer into a programming signal the MCU can read). However, given that I can send serial ...
lemon's user avatar
  • 590
7 votes
3 answers
2k 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 ...
Chris's user avatar
  • 95
0 votes
1 answer
114 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 ...
KJ7LNW's user avatar
  • 2,012
0 votes
0 answers
106 views

RP2040 automatic BOOTSEL switching circuit

I enjoy drawing electronic circuits and making them by hand as a hobby. (Not a major, not a job) While writing a custom board based on the RP2040 chip, I am trying ...
jay k's user avatar
  • 11
0 votes
0 answers
45 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 ...
WowSuchName's user avatar
0 votes
0 answers
45 views

How to check if I destroyed the bluetooth receiver

I have very little experience with electronics but I tried converting my Logitech unifying receiver to USB-C. I followed the steps I found online and got a functioning result. I based my wiring on the ...
Tee Mizzle's user avatar
1 vote
0 answers
117 views

What’s this PCB that interfaces with the USB CarPlay connector of the Ioniq 5 / EV6? [closed]

As with several owners of the Hyundai Ioniq 5 and the Kia EV6, I’ve been having intermittent issues with the USB CarPlay functionality. It worked fine when the car was new, but after a few months the ...
Honeycomb's user avatar
  • 111
1 vote
2 answers
76 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 ...
Doc's user avatar
  • 11
1 vote
1 answer
72 views

USB on ATmega32U4 powered at 3.3V

I have an already-designed board that uses an ATmega32U4 (a board of our own design). It is USB-powered at 5V and it has an external 16MHz crystal. Below is a screencapture of the relevant portion of ...
Cal-linux's user avatar
  • 2,143
0 votes
0 answers
39 views

USB 3.0 device with additional AUX power port (both USB-C) - proper schematics?

I'm designing the USB-C 3.0 device which has MAIN power coming from a classic USB 3.0 port of PC/laptop (limited to 900mA in worst case). I'd like to add additional USB-C port for external AUX power ...
Sasha's user avatar
  • 9
1 vote
1 answer
41 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 ...
Erric DiFilippo's user avatar
0 votes
0 answers
224 views

Problem with STM32 USB OTG FS connection (device)

Some context: We are developing a medical device using STM32H7ZIT6 MCU. We succesfully developed a working prototype, using UART connection protocol. Couple of consistency problems (i.e. the device ...
Can Adatepe's user avatar
0 votes
1 answer
214 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 ...
Noob's user avatar
  • 3
1 vote
0 answers
121 views

Can I send USB feature reports to USB HID devices on Windows?

I'm working on a microcontroller project that should be programmable via USB. I chose the CH32V003 microcontroller as it's cheap and I thought a USB bootloader exists: https://github.com/cnlohr/...
xsrf's user avatar
  • 471
1 vote
1 answer
83 views

Can two USB3 5Gbps peripherals use full 10Gbps bandwidth of USB 3.2 (Gen2x1) hub?

I have two USB3 Vision cameras, which are 5Gbps USB3.0 peripherals. They are connected to Nvidia Jetson Orin, which has only a single USB3 bus implemented by an internal USB 3.2 (Gen2x1) hub. Is it ...
Paul Jurczak's user avatar
0 votes
1 answer
78 views

Device with USB C connected to USB A of the computer

We have a portable device with USB B and FTDI FT232RNL and (8 bit MCU) powered by an adapter. Thanks to the EU, we have to implement USB C in it. Our current prototype design is with USB C(replacement ...
Mavoun12's user avatar
0 votes
1 answer
125 views

SATA to USB conversion: is it complex?

Recently I purchased a SATA to USB adapter. To be able to access 2.5-inch (laptop) and 3.5-inch (desktop) hard drives. To my surprise, there is a board to do the conversion. Question Why there ...
Megidd's user avatar
  • 377
1 vote
1 answer
82 views

USB3.2 backwards compatibility in KVM

I am making a KVM switch, and I have a USB 3.2 Gen 2x1 connector. From what I have read, USB 3.0 and better has 9 pins, and USB 2.0 has 4. I have found a MUX which suits my needs: the TMUXHS2414, but ...
YANNTASTIC5915's user avatar
0 votes
0 answers
98 views

Wireless charger reverse engineering

I am trying to figure out how to design an H-bridge for a wireless charger. And I thought that reverse engineering an off-the-shelf one might give me some clues. I might have made numerous mistakes ...
shklj's user avatar
  • 27
0 votes
1 answer
145 views

SAMD51 can't get USB to enumerate

I made a simple custom board with a SAMD51 and am trying to get USB to enumerate on my computer, it works with Atmel START USB example so I know the board is ok. I have a problem where after sending ...
daannn's user avatar
  • 15
2 votes
1 answer
105 views

USB Type C - only for powering my board

I want to use a USB type C cable only to power my board. My board requires 5V input and max of 2A load. I read that by default, the USB Type C cable can give an output of 5V & 3A. So, I am ...
Newbie's user avatar
  • 1
-1 votes
1 answer
697 views

USB serial connection between Raspberry-pi and Android-phone

I have a Raspberry-pi-3-model-B and an Android phone device. The connections are as follows: My raspberry pi is connected to my laptop through USB (this is not the important part). Also, from the ...
AlphaParticle's user avatar
0 votes
0 answers
47 views

UART over USB for radio transciever board

I am creating a telemetry radio that operates over UART, but I want to interface via a USB port so the same connection can be used between the flight computer and the onboard radio and between the ...
BaldursLogicGate's user avatar
0 votes
0 answers
23 views

Issue in integrating USB with SD card using STM32F4 [duplicate]

I am currently working on a project that involves integrating USB functionality for data transfer and data logging on an STM32F407VG micro-controller. Specifically, I want to log data files on an SD ...
Embedded_Engineer's user avatar
0 votes
0 answers
126 views

Issue in USB_OTG_FS and SD card Integration

I am currently working on a project that involves integrating USB functionality for data transfer and data logging on an STM32F407VG micro-controller. Specifically, I want to log data files on an SD ...
Embedded_Engineer's user avatar
0 votes
1 answer
252 views

USB HUB for OTG

I have designed a custom board with Processor which is having a dedicated USB 2.0 OTG port. I want to convert it to 4 USB OTG ports. so I was thinking to use the USB 2.0 HUB with OTG support for 4 ...
Brt's user avatar
  • 65
1 vote
1 answer
68 views

USB4 minimum speed requirements

Based on what I'm reading in the USB4 V2 spec (section 2.1.1.4), in addition to less technical references I've been able to find online, all USB4 hosts, hubs, and devices are required to support 20G (...
Farski's user avatar
  • 111
9 votes
1 answer
113 views

What does a USB device need to do so that the host device can sleep?

I am using an ATmega32u4 that is connected semi-permanently to a mobile Android device (specifically, a keyboard connected to a phone). While the device is connected and USB is enabled on the ...
Dakkaron's user avatar
  • 879
0 votes
0 answers
80 views

Can a USB 1.0 low speed device negotiate for 500 mA of current from a host?

It is my understanding that a USB 2.0 High Speed device can never negotiate for more than 500 mA of current, even if it is connected to USB 3.0 Super Speed host. That is because the Configuration ...
satyamfifa's user avatar
0 votes
2 answers
165 views

Android phone/tablet and computer does not recognize the 2d lidar connected by type-C [closed]

We are using a lslidar m10 which has a type C interface. It can be connected to the USB A port on a computer and work fine. Now we look to use the lidar with an android tablet/phone which only has a ...
jhuai's user avatar
  • 3
1 vote
2 answers
101 views

Want to know blown out diode value of USB device

I have a PTZ camera which has 9-pin USB B device. When I plug into to the USB it shows the error power surge. I knew something was burned out and opened the device to check and found out that one of ...
Ben's user avatar
  • 11
0 votes
0 answers
38 views

USB ESD Protection with the NUF2042XV6T1G IC

I have been trying to figure out how exactly I should connect the NUF2042XV6T1G IC to my USB data lines. From what I understand, usually a reverse biased transile diode is connected between the data ...
Kitsuinox's user avatar
2 votes
1 answer
388 views

USB Port Design with ESD/Overcurrent Protection

I am working on a small project in which I use a CH340 to communicate with an MCU, but during prototyping I probably should have a way to protect the controlling computer's USB port from shorts. I ...
Kitsuinox's user avatar
-1 votes
2 answers
225 views

USB-PD over USB-A

I have a power adapter from Samsung which supports an output of 5.0V 2.0A or 9.0V 1.67A. The adapter has a USB-A output and fast charges my S10 at 9V. Can USB-A be used for USB-PD? I also have a ...
Aditya Desai's user avatar
1 vote
1 answer
95 views

USB2244 card power is never supplied and USB port is not detected [closed]

I have been trying to use the USB2244 on a board but I can't seem to get it working and I am not sure what the problem is. I went over and over the datasheet but can't seem to figure out what I'm ...
kumar's user avatar
  • 11
0 votes
0 answers
83 views

IC to detect when connected to DCP vs SDP/BQ24392 Wiring Help

I'm designing a device using the MCP73871-2CC, which I would like to be able to vary its charge rate via the SEL pin. For this purpose, I think that an IC would be needed that could detect the ...
SurrealCereal's user avatar
0 votes
1 answer
44 views

Does the quality of USB cable affect the power drawn?

I was wondering how the power drawn is affected by different cable? I tested two different types: A USB cable plugged to a USB digital tester which showed a power of 4.88 V and 2A drawn, whereas the ...
Sujith's user avatar
  • 9
0 votes
1 answer
120 views

Nandland Go Board - Diamond Programmer

I'm trying to program my first FPGA with the Nandland Go Board on Windows 11. I've followed all the instructions in these tutorial videos: https://youtu.be/nfB8-8JfVFE https://youtu.be/l_eo21vHxw0 ...
vigilante_fresh's user avatar
0 votes
1 answer
1k views

How does a USB HID gamepad specify button codes?

I'm working on a device emulating a USB HID gamepad with 32 buttons. This is the basic Report Descriptor I created ...
Matt K's user avatar
  • 141
0 votes
2 answers
203 views

Checking voltage of battery with a USB connector

I soldered two wires on female USB type A pins,one wire to ground and the other to the VCC pin. I was trying to check the battery voltage of the li-ion battery in my flashlight, I connected the a ...
xchcui's user avatar
  • 299
0 votes
0 answers
89 views

LTE SC206E Smart Module acting as USB host and device

We have a requirement such that SC206E should act as a device when USB cable is connected to J12 for programming ,otherwise it acts as a host. For this purpose we have implemented the circuit as shown ...
Confused's user avatar
  • 2,583
2 votes
0 answers
82 views

What constitutes a packet a Wireshark USB bus capture of an isochronous endpoint?

I am working with a USB device which uses UAC to transfer audio data to the USB host and it does this through an isochronous endpoint. I understand that these endpoints are polled on regular intervals ...
jaysun_n's user avatar

1
2 3 4 5
14