Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [usb]

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

0
votes
1answer
45 views

Cheap switch alternatives to 9PDT for DIY USB sharing switch

Forgive my ignorance as I am a a sculptor trying to learn as I go. Any direction is welcome. I apologize as I know this question is probably a bit simplistic for this forum. All USB 3.0 sharing ...
0
votes
3answers
61 views

USB Type C 3.1 PD to get DC20V output [duplicate]

I have a USB Type C notebook charger. I know it can supply 20V with 2.25A for my notebook. If I have a type-c breakout board, like this: https://www.ebay.com/itm/USB-3-1-Type-C-Female-to-Female-pass-...
1
vote
1answer
49 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 ...
0
votes
1answer
51 views

Problem to update firmware using bootloader to PIC18F4550

I followed the documentation on the Diolan's web site . I changed the project to be programmed to an PIC18F4550 and not a PIC18F4455 as it was originally written. The compilation succeed and I was ...
2
votes
1answer
26 views

Wireless SWD interface

Is it possible to have a wireless SWD interface with a simple Data and clock line like the cheap STM32 ST-Link clones. My initial, and flawed, idea was that I would have an ST-link plugged into the ...
0
votes
0answers
32 views

Micro USB female to micro USB male and mini USB male wiring [on hold]

Hi I have a question about the wiring of the above setup. I have a raspberry pi and an lcd powered powered by a micro USB and mini USB respectively. I want to be able to connect them using only one ...
0
votes
2answers
58 views

Updating PIC18F4550 through its USB?

I would like to be able to program and update the PIC18F4550 through USB. The PIC18F4550 already has USB, so, I don't need a USB to serial converter. On the microchip forum, I found this reference ...
1
vote
0answers
28 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: ...
0
votes
1answer
53 views

USB Port Amperage

So I have built a Benchtop Power Supply out of an old computer power supply to power and test misc. gadgets I have created. I would like to attach 2 salvaged USB ports from a junked computer to the 5v ...
1
vote
1answer
29 views

Impedance matching of USB device WITHOUT cable

If I understood correctly, when designing PCB with USB, the 90-ohm differential pair of D+/D- trace if for matching the USB cable differential impedance. Otherwise, there will be a signal reflection ...
-3
votes
0answers
50 views

Component 12v to 5v powered USB ports [closed]

I'm trying to fit powered USB ports to my vw campervan, but want to retain a factory look. I've done all the usual searches, but the only ones I can find are the ubiquitous cylindrical ones, with ...
0
votes
0answers
40 views

Add CAN, UART and USB support to NUCLEO-H743ZI [closed]

I need to add CAN, UART and USB support to NUCLEO-H743ZI development board. What solutions could be recommended (besides the development of my own development board)? Update: the question is about ...
0
votes
1answer
69 views

How a USB3 device is detected over a USB2 one?

I've got a hardware platform (setup as host) which it's got a USB2.0/3.0 Micro type B female port.The system is definitely capable to detect and interface USB3 devices (can see in the embedded OS the ...
0
votes
0answers
55 views

Should USB D+ D- be shorted to ground [closed]

I'm trying to repair a nintendo switch game console that has a short to ground on the usb D+ and D- lines. I have isolated the short to being in the tegra X1 SOC which has the USB controller built in....
0
votes
1answer
40 views

ATTiny167 USB Programming

On Aliexpress I am finding many cheap development boards with ATtiny167 and a USB connector. From what I can gather these boards permit USB programming through USB emulation. Can anybody point me to ...
0
votes
0answers
38 views

Programming ESP32 Microcontroller with FTDI's FT231XS USB Chip

Purchased FTDI's FT231XS from DigiKey I can see data from the ESP32 microcontroller but when I try to write to it, esptool just says connecting and nothing happens. I can use a usb to serial cable to ...
0
votes
0answers
31 views

PIC32 - USB protection

I have the schematic below. It works fine and has done so for a few months. However, today, it seems the PIC USB module has died when I powered off/on the board. Is there more input protection ...
0
votes
2answers
46 views

How can I center a servo using the FT311D?

I've got a servo which requires a 50Hz signal (which can be achieved with a 20ms period) and a 1ms-2ms dutycycle. This is your standard hobby servo. 1ms dutycyle makes it go left (0 degrees) 1.5ms ...
0
votes
0answers
41 views

CORTEX-M LPCOPEN USB-VCOM basics - proper way to build a simple FSM

I'm working on a project involving the LPC4370 mcu (LPC link 2 eval board) and Matlab. I need my embedded code to be user-reconfigurable from matlab: the user sends a command, the mcu replies. I'm ...
0
votes
0answers
37 views

Default behavior of a USB device in the presence of 5v [duplicate]

This is a follow on from this question Given a home made USB charger that simply provides 5 volts across the GND and VCC pins of a USB port, what should the default behavior be of any mobile device (...
0
votes
0answers
35 views

Portable screen: replacing a power adapter with a USB power bank - feasible? [closed]

I intend to buy a Huion drawing tablet, but I need to use it on the go with my laptop. The two models that seem to fit to my needs, and which are sufficiently affordable, are the Kamvas Pro 12, and ...
0
votes
0answers
55 views

Minimum current to charge a 5v device? [duplicate]

I'm trying to use a DC-DC converter to charge a mobile phone. This is the converter....TRACO 12v-5v converter The converter is relatively low power, (5w) and can supply a maximum of 1amp. Testing ...
0
votes
0answers
16 views

Smart Charger (Tenergy TB-6AC) UART/USB interface

I have an old smart charger (Tenergy TB-6AC) which boasts the ability to interface with my computer. Upon further research, I have found that the software is no longer supported and no where to be ...
0
votes
2answers
76 views

How to design an STM32 board with UART over a USB connection?

Sorry if this seems a stupid question but I'm designing a custom PCB based on the STM32F303RE microcontroller and am slightly confused as to how the UART should be connected in the hardware in order ...
0
votes
3answers
62 views

Transmission from atmega32 to PC using max232 not working

Transmission from atmega32 to PC using max232 not working. When I checked the data from the Tx pin (in the realterm software) of atmega32 it was fine. But there was no output data from max232, when I ...
0
votes
1answer
58 views

USB VCC powered relay

Sorry for the dumb question, but my electronic skills are even lower than basic level. I need to switch on a relay when PC turns on. I made a simple scheme on the run, but I'm afraid it isn't good ...
1
vote
0answers
31 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 ...
0
votes
1answer
35 views

Designing QuickCharge device

I want to make an ultimate powerbank for my biking trips. This involves accepting a dynamo input and slow charging the battery pack with its ~3W and also cramming as much energy as possible as fast as ...
1
vote
0answers
42 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
2answers
55 views

replace USB A plug with micro-B

I have a tablet case with a keyboard in it. It came with a large USB type A plug and a large Y-adapter to USB micro-B. It has always worked. The tablet has a micro-B type connector and it works fine. ...
0
votes
1answer
70 views

USB 2.0 cable to USB C output [closed]

I've got a Streamdeck that has a USB 2.0 out as a fixed cable. I've bought a USB C 2.0 board that I want to wire up so I don't have a fixed cable anymore. My issue is I don't know what the two black ...
0
votes
1answer
27 views

Access Trinket m0 USB through GPIO pins [closed]

I want to solder a USB A connector to my Trinket m0 instead of using an adaptor cable to plug into my PC. Can I access Trinket m0 USB through GPIO pins? I have looked at the description of the ...
0
votes
0answers
15 views

Does BQ24195 charger detect USB modes DCP, CDP, and SDP by itself?

I use a BQ24195 chip as a charger. The datasheet is available here: http://www.ti.com/lit/ds/symlink/bq24195.pdf I need to identify if the USB is connected and if it is connected, in which of the ...
0
votes
3answers
57 views

IP Camera and USB data transmission over Ethernet Cable

Currently I am working on a project that requires connection of the Arduino and IP Camera over single Ethernet cable to a laptop and additionally supply power to a robot. The goal is to stream Video ...
0
votes
0answers
21 views

How to convert device that uses OTG to communicate with Android device to Bluetooth?

We currently have a piece of hardware that uses an OTG cable to communicate with an Android application. We are currently using USB Host to communicate with the Android device, but we hope to offer a ...
0
votes
1answer
35 views

Shield wire in Micro USB extension lead appears to be ground

I am currently working on a Bluetooth project which needs micro USB for charging a battery. My original plan was to use a female surface-mount micro USB socket and connect its +5v and ground pins to ...
0
votes
1answer
79 views

Wiring a 7 pin laptop webcam? [closed]

I'm trying to connect an old laptop webcam I bought for $0.93 on eBay to an Arduino Uno microcontroller. Since I currently don't know what all the pins on the webcam are used for, I'm trying to ...
1
vote
1answer
38 views

USB D+ D- not present

So I am designing my first pcb and using an AT32ucb µc. It says in the data sheet it supports usb interface but on the pin-out listings and functions I can only find usb-id and usb-VBOF. So what am ...
0
votes
0answers
38 views

No data being displayed from ADC0804 in program using FT232RL

I'm attempting to read analogue voltage from a potentiometer by converting it into digital using ADC0804 and then passing the data onto y pc using FT232RL. As it stands the ADC0804 circuit is working ...
6
votes
4answers
2k views

Can a USB port passively 'listen only'?

I have a small dedicated controller built around an Arduino that accepts commands from a PC over USB (serial). The communication is one-way -- the controller never sends data back to the PC. Now I ...
0
votes
1answer
33 views

USB internal control to on/off a pc fan molex circuit

I am new to electronic circuits so I might not have the correct nomenclature for some items. Description: I have 3 high power 12V PC fans (NON PWM) connected to a hub that draw power from MOLEX ...
0
votes
2answers
69 views

Glue gun glue as usb port filler

My front dual USB port is broken on my old PC, ie it consists of a gaping hole with distorted pins inside (on the inside, it's still plugged on the motherboard, in fact, it's welded on it). I have ...
1
vote
1answer
58 views

Remote dissable a micro type B USB connection to device

I need to control the shutter and image download from a wired remote camera. The camera has 2 pinout ports. One to control the shutter and the second is the micro-type B USB post to download image ...
0
votes
0answers
39 views

I have RGB LEDs but I need an external power source [duplicate]

I have WS2812b RGB LEDs for a project but I don't have an external power source. I heard that you can use a power bank for charging phones and things. I cut the end of a micro usb but wouldn't know ...
1
vote
2answers
117 views

A few of my cables don't work. Is it because they weren't shielded properly?

I am learning how to build USB cables as a hobby. For my early attempts, I did not attempt to shield the cable, I just skipped the bare shield wiring I've seen in other USB cables. However, ...
1
vote
1answer
38 views

Driving distance sensor from ubuntu usb

home automation is driven by a PC running Ubuntu. It currently has a 1-wire network of thermometers for managing our geysers and solar water heaters. I would like to extend it to manage our water ...
1
vote
1answer
136 views

Can I cut off a USB C plug, and replace it with a USB C socket

I need a USB C (female) to USB 3.0 Micro B (male) cable. Unfortunately, I can only find a male - male cable. Is it possible to cut the USB C plug off, and solder the wires to something like this: Or ...
0
votes
2answers
119 views

Stereo I2S To USB Audio

I have searched for a way to convert an I2S stream to USB audio and have only managed to find USB to I2S, not I2S to USB. Please advise me as to how this is possible.
0
votes
1answer
62 views

Grounding of IT equipment for office ESD protection

We've been having a lot of problems in my office with ESD. People touch cubicle frames and monitors shut off momentarily, painful shocks through laptops, etc. I'm worried about equipment getting ...
1
vote
1answer
52 views

FT2232 device not accepting address x, error -71

I have designed a board with an USB IC from FTDI (FT2232D). This board is bus-powered (i.e.: gets its power from the USB bus). Nothing else gets the power from the USB bus except this IC and its ...