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-device]

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

-1
votes
0answers
9 views

Custom IoT embedded device

I'm looking about an IoT device (computer board) to develop a system for production purposes, I have used Raspberry pi 3 for testing, and all things works fine. Now, for production, I need a board ...
0
votes
1answer
25 views

Can I control a Microchip USB3300 Transceiver with a USB 1.1 host controller IP?

As the title says I want to connect to a USB 3300 transceiver (USB 2.0 revision) using a USB 1.1 host controller IP block. Is this possible or do I need to conform to the USB 2.0 specification as the ...
1
vote
1answer
118 views

USB Device that acts like a printer [closed]

Our client uses some third party software and devices for their internal work. They print 600 pages per shift and now they wanted to eliminate paper usage without changing their existing systems. ...
0
votes
1answer
57 views

USB Power Only - Detect Device Plugged In [closed]

I have a project that I need to complete for work. We have been working on this project for a while, however I have come to a bit of a road block. I'll first lay out the important points. We have a ...
1
vote
2answers
83 views

Does MicroUSB B have 5 seperate lines?

I am working on a project that requires a 5 pin connector but it seems like the USB cable is causing some issues. I am using a microUSB B male-male cord to transfer some power and data. Through ...
1
vote
1answer
103 views

Fpga communicate to pc through usb

I'm currently working on my thesis project on making a secure pendrive. For that I have to design an USB protocol implementation on an FPGA. But I don't know how to physically connect that USB core ...
0
votes
1answer
75 views

Stop USB Device from Passing Power to Machine

Summary: The RC Controller that I'm using for a PC game to practice flying quads is, I suspect, passing power through the line and causing my machine to shut down. What I'd Like To Do: Change ...
0
votes
1answer
96 views

Automatic charging and power switch between USB and LiPo battery

I am designing a board which can be powered over USB and includes the use of a LiPo battery along with its charger circuit. When the USB is connected, it charges the battery as well as powers the ...
0
votes
3answers
112 views

Unrecognized usb3.0 device using non-standard connector

I Have two PCBs,pin out define as follows ,the host pcb is A connector,and the device pcb is B connector. I use the 1.25pitch connectors&USB3.0 cable to connect two boards,but the host board ...
0
votes
1answer
74 views

Can an Arduino Pro Micro act as a USB hid and usb host device at the same time?

I know that the Pro Micro can act as a HID device. As far as I understand the Pro Micro can also act as a USB Host using a usb-host adapter (shield) - right? Now can the pro micro be both a device ...
0
votes
1answer
62 views

Can two usb gaming controllers be wired together to act as one? [closed]

Let's say I have two USB gaming controllers. Those generic ones. Is it possible to make it so they work as one? So if you press Left in Controller one and B on controller 2, they both get sent and ...
0
votes
1answer
228 views

STM32F103 USB CDC [closed]

I have a strange problem with USB CDC mode in STM32F103. I have designed PCB with STM32F103 microcontroller and an accelerometer which streams data through USB to PC. I have used STM32CubeMX wizard. ...
0
votes
2answers
156 views

USB hub circuit

I have a custom made USB hub with 4 USB ports. It gets 5V max 500mA. Below is the datasheet for the hub chip http://minipcsale.ru/images/Minix-Neo-X8-h/GL852G.pdf now my question is If i connect 4 ...
12
votes
6answers
2k views

USB device with 2 ports - how to protect against user plugging in both

I've got a Full speed USB device which I want to provide 2 ports for - one each on opposite ends of the enclosure. This is so the cable can be connected wherever is most convenient. My MCU (atmega32u4)...
2
votes
2answers
100 views

What are the limitations of the USB Composite device

I am looking at coding a USB device that is capable of encapsulating two USB devices. I would like to create a HID keyboard with a single extra USB port. A mass storage device would be connected to ...
-1
votes
2answers
67 views

How to have USB act as a programmable power source? [closed]

I am interested in making a USB device that on 1 end, is a male usb that plugs into a PC like windows. On the other end is something that has a positive and negative terminal (or wire end). I want to ...
0
votes
1answer
93 views

2 Computers 1 USB Device (circuit help) [closed]

I have a project with a custom USB device that pumps out a stream of data every 1.125 seconds to a Raspberry Pi running Windows 10 IoT, and occasionally receives an 8-byte command. The USB device and ...
0
votes
1answer
87 views

In USB 2.0, what's the maximum delay between SETUP and DATA0 packets?

In the setup stage of a USB control transfer, the host sends both the SETUP and the DATA0 packets. Assuming that the device has received the SETUP packet, how long should it wait for the DATA0 packet? ...
0
votes
0answers
30 views

can't figure out why my micronucleus/V-USB setup doesn't work

I built a small attiny85-based board using vusb and essentially the schematic of the discontinued Sparkfun "AVR Stick" (at least on the usb/uC side; see https://www.sparkfun.com/datasheets/Widgets/AVR-...
0
votes
1answer
63 views

Same serial command, different serial replies

I have a device (a traffic counter) that communicate with my computer throught Serial Port. To extract data from this device, I use a specific software. I'm also using a Serial Port Monitor to check ...
0
votes
2answers
89 views

USB type-B sockets vs USB Mini-B sockets [closed]

Most Programmers hardware equipped with USB type-B connectors for connecting to PC. USB Mini-B connectors are much less used in device programmers. Have the USB type-B connectors any advantages or ...
0
votes
1answer
61 views

USB 2.0 full speed audio class max sampling frequency?

what is the maximum achivable sampling frequency when using USB 2.0 full speed isochronous audio transfer and stereo 24bit format (recording only) ? when no compression is used !
0
votes
0answers
275 views

How do I need to configure USB_FS in STM32H7 to use it as virtual serial port?

I have h743zi-nucleo board and I'm trying to configure USB_FS to use it as COM port. What I do now: In cubeMX: What I do now: Initialize all peripheral in Default mode (this is the dialogue option) ...
4
votes
3answers
660 views

How to test for USB dropouts on STM32F?

I've got a devices that is really strange, it drops USB periodically. By periodically I mean on a weekly (or biweekly) basis. By dropping out I mean windows loses the handle to the driver. Dropouts a ...
0
votes
1answer
79 views

AT90USB162 not detected in windows

I have an AT90USB162, have it set up like this: I'm trying to program the chip using Atmel FLIP, but I can't because it's not detected. What could be the problem and how can I fix it?
0
votes
1answer
604 views

One-time fuse for disconnecting/breaking signal path

I am looking for an IC solution, ideally, but alternatively also could use a tiny circuit that would allow to accomplish the following feature: Trigger an event by MCU that will fuse-out/disconnect ...
1
vote
1answer
115 views

LAN9500A Ethernet Adapter

I'm designing a USB-to-Ethernet adapter (actually a prototype of a piece of a larger board). As those following my questions will know, I've had some ups and downs getting the USB part working, but ...
0
votes
1answer
81 views

Is there any way a usb device can identify the usb host operating system? [closed]

Is there any way for the USB device to know if it is connected to a Windows or to a Mac without the installation of a third party software? Maybe there is a way to "ask" a question via USB and figure ...
2
votes
2answers
652 views

How to make a DIY Flash Drive?

There have been previous versions of this question that were closed since "there is no reason to create a one-off actual thumb drive", however, I have a very specific idea for a USB flash drive in ...
1
vote
1answer
48 views

How to limit current on parallel outputs from a power supply?

So I am trying to make a USB power dock for multiple devices. I have a 5v 20A power supply. If I connect 10 USB ports in parallel, is there a way to cap their current to 5v 2A? I don't want to fry my ...
0
votes
1answer
131 views

What USB-2 cabling hardware do I need to connect two Windows 10 computers together? [closed]

I want to run a .NET app in each of the two computers, so that they send and receive data through USB-2. What kind of cable adapter will do this? BACKGROUND: I need to build a GUI on Windows that ...
0
votes
0answers
33 views

Random generating USB bcdDevice field

I'm working on an embedded project involving USB 2.0 and STM32F3 MCU. I need to generated the bcdDevice field for the device descriptor and the serial number string (which can be arbitrarly long). I ...
0
votes
2answers
194 views

USB 5V 2.1A Charger Destroys Device [closed]

I have a USB powered device with an internal Li-Ion battery that has overheated and died. After looking for similar events online I found that charging on a 2.1A charger can damage or destroy the ...
0
votes
2answers
82 views

Soldering USB cable to the bottom of USB connector

I have a USB device with a type A jack connector (see photo). I am integrating this device as a part of another device and due to requirements for ruggedness I would like to have a fully soldered USB ...
0
votes
1answer
40 views

Large LED Array powered via USB

I am working on building a keyboard at the moment and I have run into an issue. I need to power 79 led backlights on the keyboard but I have no idea how to do this given that the power is coming via ...
0
votes
1answer
223 views

USB Bus Powered with LDO device example

I'm planning to use the FT232R in my USB device. The device consists of the FT232R and a dsPIC33EP64MC202 (Basically speaking, the FT232 and a microcontroller only). On the FT232R's datasheet, at the ...
0
votes
3answers
766 views

What is the difference between usb root hub and usb host controller?

From the oracle wiki (usb controller): The USB host controller has an embedded hub called the root hub. The ports that are visible at the system's back panel are the ports of the root hub. ...
1
vote
3answers
123 views

Doubt about USB bus powered device

I want to improve my project to be more robust, because it needs to be available 24 hours a day. Initially, my design had one microcontroller and a USB (FT232R) interface. The FT232 is 5V powered and ...
0
votes
2answers
55 views

RS232 Bridge cable stopping after some time

Im trying to reverse engineer a very old DOS program that connects with a machine using RS232, for this i setup a typical in the middle connection like this: From Computer A to PC A connection im ...
0
votes
1answer
873 views

STM32L4 USB Device with VBUS Sensing

I'm trying to get the CubeMX generated sample CDC application working on STM32l475VG IoT board. By following a document from ST Community, I was able to get the clock configuration right and the CDC ...
0
votes
1answer
48 views

Micro-USB Octopus

I've been searching around for a splitter-type / octopus device that will let me charge many (8) devices over micro-usb from a single outlet. My assumption has been (but correct me if I'm wrong) that ...
0
votes
1answer
181 views

How can I test the resistor on my USB connector?

I have purchased some USB-C connectors that I use to build my own cables with (I have separate "host" and "device" side connectors for various cable assemblies), and I was wondering how I might go ...
1
vote
1answer
157 views

USB 2 data over Cat5 cable

I'm looking to extend two USB 2 devices with one 5 meter long cable. From what I've read, one can run USB 2 fine over Cat5e cable (as long as it's <5m). My question is whether it really matters if ...
0
votes
1answer
159 views

Unexpectedly drawing power over serial tx/rx? What to do?

I have this TTL-to-USB-serial device (supposedly from WINGONEER, who doesn't seem to have any documentation on how to use it): https://www.amazon.com/gp/product/B06XY18XLL I'm using it to hook up ...
1
vote
1answer
235 views

USB 2.0 circuit

I am designing and using a USB 2.0 (High-Speed) specification circuit. The circuit is shown as below. Sometimes CPU cannot recognize the USB stick (USB 2.0 High speed). At first, I changed the ...
0
votes
0answers
2k views

after replacing micro usb port, tablet charges only 450mah [duplicate]

I changed micro usb port which was broken (it takes out from motherboard) on tablet. On motherboard are 5 contacts and one is damaged (4. - it is for data transfer, ID). I solder +5 VDC contact and ...
0
votes
1answer
50 views

How to receive data from RS-422 or RS-232 device in linux

I'm very new in this linux device driver and communication things. If i have to connect this kind of devices with a computer, and receive the data, than how should i start it? should i create a device ...
0
votes
0answers
42 views

USB A 2.0 +5V bus interfering with Vsys?

I want to have a USB connector on my PCB that will act only as host for joysticks. It will be a USB2.0 A connector. The voltage supplied for this is from +5V_Vsys. My question is what happens when a ...
0
votes
1answer
97 views

Analyzing USB signals [closed]

I'm experimenting with HID lately. And I need to know more about the physical output signal of a USB keyboard. My goal in the end is to put a small data logger in between the USB-keyboard an a ...
1
vote
3answers
179 views

Any idea on this USB interface type?

The USB charging port is on a AOBO spy camera, ive no charging cable and this doesnt appear to me to be standard. Instructions with the device indicate it is a USB interface port. The instructions ...