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
2answers
266 views

USB-C as a high current power source

I'd like to power up a PCB that I'm design with USB-C. The main reasoning is that the connector is low-profile, reversible and can carry 5A at 5V. This PCB will have an ATmega2560 chip onboard, which ...
4
votes
2answers
957 views

Power a circuit off USB the correct way

I'd like to properly power a gadget off USB (2.4A USB powerbank https://www.amazon.com/Anker-20100mAh-Portable-Charger-PowerCore/dp/B00X5RV14Y/ref=sr_1_3?ie=UTF8&qid=1512261941&sr=8-3) ...
0
votes
1answer
137 views

Which end is host in a USB-C to USB-C charging/power cable?

I have two different kinds of DIY USB-C connectors...one kind that is rigged to be a "host" USB-C connector (pulled-up with a 56k resistor per spec), and the other is rigged to be a "device" USB-C ...
1
vote
1answer
51 views

Device that uses a USB port for application downloads in an application/executive model — what class should it be?

So, I'm building a device (it's a programmable, USB-powered RGB LED lamp, so it's rather silly :) but this problem comes up in more serious contexts as well, such as when a PLC provides a USB ...
1
vote
2answers
581 views

Powering a 2amp micro-usb device over cat5

There was once a phone in my bathroom, so now there is an LV box with a Cat5 cable in it at the end of a 30ft run. Can I hack something together to power a Google Home Mini with that cable?
15
votes
2answers
1k views

Where exactly is the USB spec that explains what to do when the cable is first connected?

So I know about the USB 2.0 spec located at the USB.org site. I am a little lazy and impatient. Can someone tell me where to go to find out exactly what is expected of my peripheral device when the ...
2
votes
1answer
287 views

Can I use a twisted pair cable to send power to a device that uses a micro-USB jack?

I purchased a Google Home Mini that according to the specs this requires 5V, 1.8A. The OEM power cable has a transformer that plugs into AC and has about 3 feet of cable terminating at a USB micro ...
0
votes
1answer
40 views

USB hardware connection causing software reset

So I'm very new to USB (using 2.0) and I'm still working my way through various application notes and the official USB spec. Currently I'm working with the ATmega8U2 as my controller. In one of the AN ...
0
votes
1answer
547 views

Understanding USB processing and polling delay in USB host controller

I am doing measurements related USB delay with USB-UART converter chip(CP2102 Silicon laboratories chip). I am sending array of data, when 0xee is received the ...
2
votes
2answers
2k views

Canon K30357 WiFi Module

I am trying to get the right pinout to this module from a Canon MX492. I would like to know which one is goes to red, black, green and white for a usb connector. I don't have the whole printer to test ...
0
votes
1answer
88 views

Identical CP210X USB-Serial converter conflict? [closed]

I am troubleshooting an Ubuntu 14.04 system that has two serial devices connected to it. They both have identically configured Silabs CP2102 USB-Serial converters. Device #1 reads inputs Device #2 ...
2
votes
2answers
355 views

Add USB-C Jack to USB Device

I have some inexpensive audio equipment that I am willing to experiment on. Trying to cut down on cables and I would like everything to be USB-C. I have a small midi keyboard and a small audio ...
1
vote
2answers
423 views

Where is the best place to tap into this broken USB flash drive with a new cable?

Looking for some advice on attaching a USB cable to a USB drive of which the original USB connector has snapped off. It has a bunch of my girlfriend's coursework on it and of course she has no backup.....
0
votes
2answers
236 views

Serial pins, and PC USB port damaged using a USB to Serial converter (PL2303HX)

I am working in a project for getting data from a Load Cell, in the project I use a very good Shield built by a very good friend, this shield has a PGA (Programable Gain Amplifier), a Fast ADC chip, ...
2
votes
1answer
320 views

What causes failure in longer USB cables?

I wired up some USB-C 2.0 to USB-A 2.0 cables, and tested the maximum length I could get out of them when connecting a PC (host, USB-A) to an external hard drive (device, USB-C). I got stable power ...
0
votes
2answers
837 views

Designing a USB switch, schematic done, wanting a second opinion

I want to design a prioritized reverse USB hub, where a USB flash drive is connected by default to a device but switches to another when a connection is present. The setup of my product uses a ...
1
vote
2answers
127 views

AT90USBxxxx, LUFA driver for Mac OS x?

I need to design a project that it will conects to usb port, to send a digital output from the computer to other device. I need it work in windows and mac without complex host side driver or just ...
2
votes
2answers
3k views

Problems trying to wire a USB-C cable

I have been trying to figure out how to custom wire a USB-C to USB-A cable for a while, with no luck.I have tried some different connectors, but wanted to get some outside ideas on what I might be ...
1
vote
2answers
789 views

Use LED instead of Zener

I'm planning to assemble a circuit this weekend; it is basically an attiny85 with a USB interface. The circuit is well known on the internet; see for instance this schematic: (Image taken from http://...
-2
votes
1answer
335 views

Does a QuickCharge 3.0 USB charger charge my Nexus 5X just as fast as a 5V/3A charger? [closed]

I've got a Nexus 5X phone which does not support QuickCharge, but it does support 'fast charging' through a 5V/3A USB Type C charger. Normally I charge it with a Type C 5V/3A charger, and a USB Type ...
0
votes
1answer
3k views

How can I wire a Mini-USB to Micro-USB cable?

I'm trying to figure out how to connect the pins from a Micro-USB connector to a Mini-USB connector. I'm assuming it's more complex than just connecting the +5V to the +5v, GND to GND, D- to D- and D+ ...
0
votes
1answer
102 views

USB problems with AT90USB646

I have tried implementing a design involving AT90usb646 about four times but in each case the board gets connected and immediately disconnects . lsusb outputs that an Atmel Corp device has been ...
-2
votes
1answer
493 views

Simple circuit design : USB in | 4v out [duplicate]

After some bad luck with cheap Chinese products, I'm looking to build myself a simple USB "pass-through" e-cigarette. For anyone not familiar with e-cigarette, the idea is very simple : you put ...
0
votes
1answer
87 views

usb device feature isn't working in case of external power supplied into the board

I have my own designed board. It has USB device interface circuit. The MCU is LPC1769 Cortex M3. Basically when I use USB bus power for the board, its USB device feature is working. It means when I ...
7
votes
3answers
2k views

Is a valid USB VID/PID necessary for strictly embedded use of the Bus?

So the system of USB VID/PIDs as far as I understand it is to avoid conflicts between devices and the USB-IF is handling the distribution of these IDs and wants a fee if you need a VID and a ...
11
votes
5answers
2k views

Protecting a laptop from USB connected devices

In the past couple of months I've managed to destroy 2 perfectly good laptops through programming development electronics through USB. I've been wondering what could be done to prevent this. A couple ...
1
vote
3answers
8k views

Extract 12V from USB port

I wish to drive a 12V stepper motor with a USB port as the source of power. However, the USB port only outputs only 5V as output. This will obviously not work. I had thought up of several ways to ...
0
votes
1answer
51 views

Chipsets that provides access to baseband bits [closed]

Are there any chipsets for high-speed wired connections like USB3.0, Ethernet or PCIe that provides access to the raw signals being transmitted and received along the wire? Kind of like how a software ...
4
votes
2answers
209 views

What usb-class for a device intended to be as future proof as possible?

I am writing specifications for a product and need help to minimize its future need of maintenance. In order to be able to be (optionally) monitored from the Internet the device is supposed to have a ...
0
votes
0answers
128 views

What are the precautions to take when building circuits powered over USB from a Laptop?

I am working on a rather simple embedded system project which involves an hardware USB enabled AVR chip communicating with a host of other devices and a solid state relay which is used to make or ...
0
votes
1answer
124 views

Disable USB class in a composite device

On my Atmel SAM4E-EK I have a USB composite device setup (MSC + CDC over USB), hooked up to a Windows 7 PC. Sometimes I want to disable the MSC and let the CDC class be, is this at all possible given ...
0
votes
1answer
443 views

USB 3.0 RX&TX Connection

Sorry for the inexperience. This will be quick. I have two Texas Instrument ICs, one is a device, the other is a hub. I'm looking at a USB 3.0 device that has the TX and RX lines. When connecting ...
2
votes
1answer
2k views

Esp8266 nodemcu v3 connection to usb fingerprint scanner

My project is about making an ioT biometric attendance management using Esp8266 nodemcu and a Morpho usb biometric scanner. So my question is whether is it possible to connect a usb fingerprint ...
0
votes
1answer
60 views

Can't charge and use a Li-Po Bluetooth receiver at the same time - can I bypass the battery though?

I have this Bluetooth receiver. The battery is not holding a lot of charge anymore so it's become pretty useless. I can't plugin the device and use it at the same time, so I was wondering if I could ...
0
votes
2answers
97 views

Using solar cells to power a USB device

I'm wanting to power a USB device through the USB connection with some kind of solar cell arrangement, separating the data and power lines. I currently connect the +5V/GND USB lines to a constant ...
0
votes
1answer
4k views

USB-C cable layout

I want to hook up something to a usb-c cable, only for power. See it as lighting a LED with usb-c. However, once I cut the wire, I was surprised. I found a twisted pair (green, white) a yellow wire (I ...
0
votes
1answer
826 views

FT232RL USB to serial : 5V or 3.3V set by jumper

I've just bought a cheap FT232RL USB To serial adapter (EAN: 0680004529143). It does not come with a manual and the short description simply mention: USB power supply, can choose 5V or 3.3V ,set by ...
0
votes
1answer
99 views

Should I attempt to repair this mouse damaged due to power surge? [closed]

I have a mouse that no longer works after I unplugged and replugged in my computer at the mains (something I rarely do). My only guess is that the mouse is designed badly and experienced some form of ...
0
votes
0answers
59 views

Is it safe to charge a device with only slightly different voltage and amperage?

My Asus tablet charger has 5.2V and 1.25A. But my new Micromax phone's charger has 5.0V and 2A. I am tired of carrying two different chargers everywhere. Is it OK to use either charger to charge ...
0
votes
2answers
1k views

FT245RL - device descriptor read/64, error -32 on connect

I'm trying to get the FT245RL chip to work but am running into an issue where it is not successfully connecting to my computer. I also have a separate device which also uses the FT245RL chip which ...
0
votes
1answer
568 views

Android USB Accessory as a Device?

The Android AOA specification states that When the Android-powered device is in host mode, it acts as the USB host and powers the bus. and When the Android-powered device is in USB accessory ...
1
vote
3answers
716 views

Is there an electronic reason to make micro USB cable without data wires? [closed]

When buying electronic products that use a microUSB plug for powering, we often receive a male USB <--> male micro USB charging cable that doesn't include the ...
0
votes
1answer
172 views

What do you call the little black nub on the end of a scanner's USB cable? [duplicate]

This a scanner's USB cable , I'm wondering what's the little black nub on the end of the cable and what's it for ?
1
vote
1answer
549 views

USB-C Port Without PD or CC Chip

I would like to wire a device I'm making with USB-C input for power but I don't need its SuperSpeed capability. The port will only act as a power input (to this device) and USB 2.0 in. Do I need a ...
1
vote
1answer
84 views

USB 3 to USB 2 Wiring

I have a USB 3 to sata connector which I know worked on my Raspberry Pi 3 (USB 2). I have now cut the USB 3 cable and wanted to solder the wires directly to the Raspberry Pi. This is so that I can ...
1
vote
3answers
578 views

USB device not recognized

I have been designing a usb device using a psoc 4L with integrated USB full speed capability. Yet for nearly all of my designs as soon as I plug the usb into the computer I get the following problem. ...
0
votes
1answer
204 views

Programming a 3.3V Atmega chip using USB

I am planning to use Atxmega128A1U in a battery monitoring system. This chip comes with USB device support. However, it is a 3.3V logic chip with input voltage limit of 3.6V and I want to use the USB ...
-2
votes
3answers
1k views

Power consumption of an idle USB keyboard

I have asked recently about the voltage of a PS/2 keyboard, now that was a too complex circuit for me, and a lot of weird things happened, for example if I disconnected the red wire after the adaptor, ...
1
vote
0answers
202 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
1
vote
1answer
122 views

PCB,DIY USB Mobile Phone Charger. Shield to GND?

Little project using a step down converter that steps down 13v from a car battery to 5v 3A. I have added Decoupling capacitors and so on to the 5v line for filtering(Probably gone overkill) but im ...