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
0answers
14 views

Timer Triggered ADC, USB/UART transmission

I want to sample 10khz sine wave analog signal generated by an external signal generator and send measured ADC values over serial port(either UART or USB as which can be more efficient). I am ...
0
votes
1answer
75 views

The datasheet says that USB operates on 1.8v instead of 3.3v, do I need some sort of logic level shifter in my circuit?

I'm trying to design a breakout board and connect the Google coral chip to my Toradex Colibri imx6 SoC via usb. I'm assuming that the imx6 is using 3v3 logic because it doesn't indicate otherwise, and ...
1
vote
0answers
29 views

Type-c device for smartphone with optional charging

I've been challenged to "make" an accessory around this gps module. The idea being to receive the GPS through the serial port emulated into the phone whilst being able to optionally power ...
1
vote
1answer
49 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 ...
1
vote
0answers
46 views

Can I use eval boards for SoCs that support dual-role USB for prototyping a USB3 peripheral?

I have recently started prototyping a custom USB peripheral that I would find very useful in my work if it existed. I made the extremely crude proof-of-concept version using an Arduino Due, its native ...
0
votes
0answers
8 views

Using a USB 3.0 Type A Male to Male cable with a Type A Female to Female coupler [migrated]

My computer's USB 3.0 ports are not easily accessible so I essentially need to extend the port. In order to do this I am trying to use a M-M type A cable running from the computer into a F-F type A ...
1
vote
2answers
87 views

Understanding Rp / Rd switch in USB-C DRP/DRD 2.0

There's this Rp/Rd switch schematic mentioned in TI's primer on USB-C that I don't quite understand. The original text on page 6 goes: A DRP/DRD can present itself as either a UFP or DFP. As a ...
2
votes
1answer
35 views

How does a role swapped USB OTG A-device detect that it has been disconnected from the host?

Let's say I have a USB OTG A-device that has negotiated a role swap via HNP, i.e. it is providing VBUS while acting in the device (non-host) role for data. More commonly USB devices do not provide ...
0
votes
1answer
59 views

Driving LEDs with USB datalines

can I use a schmitt trigger to drive LED with USB data lines D+ and D-? I use a USB2.0 Full speed. Thank you,
1
vote
3answers
50 views

Is a computer wired controlled sd card or USB flash drive feasible (like the Scylla cards connected with a laptop in prison break)?

Is a computer wired controlled sd card or USB flash drive feasible (like the Scylla cards connected with a laptop in prison break)? It means there is no storage on the flash drive itself. When a ...
-2
votes
0answers
59 views

3d mice: What happened to spatialfreedom and the astroid controller? [migrated]

This is a question about the history of particular hardware peripheral design so slightly off-topic. I've self-classified it as "history of electronics" and posted here. If there is ...
0
votes
0answers
13 views

M2S150 Smartfusion2 SPI Flash Format Issue

I am currently using the M2S150 Development kit (from microsemi), and am trying to get the SPI Flash to work as a USB mass storage device when I plug the board into my computer. I am running through ...
2
votes
1answer
35 views

USB-C Charging Device With Agnostic Power Supply

I'm designing a PCB that will utilize USB-C to supply power (5V/3A) to my board and have a few questions: What are the requirements to ensure a 5V/3A (15 W) supply to my device if I know nothing ...
0
votes
1answer
47 views

How do I know if I should use VBUS-sensing on STM32?

I have a schematic that looks like this. And I wonder if I need VBUS-sensing on my STM32? Because, I planning to use the +5V from the USB, to power the STM32 and also have communication (D+, D-) with ...
0
votes
0answers
45 views

Unable to Identify VL805 device

I have designed a PCIE to USB3 converter device that is based to VIA LABS VL805 Q6 Chip. My problem that I can't recognize the VL805 chip in Linux, using the command "lspci": here is the ...
0
votes
2answers
76 views

Keyboard USB transform

I want to press a key on my keyboard, for example "a" and a device should take the scan code of the button I pressed and transform it to something else: e.g. "b" or the scan code ...
0
votes
0answers
59 views

Should I ground my 5V USB dc output for user safety? - Product design

The project consists of a metallic bench that can be placed outdoors, with a couple of USB outputs to charge your mobile on the go. The bench is grounded (bonded with our internal connection box, ...
0
votes
3answers
97 views

Why do I have 44V AC between ground and the V(-) and V(+) of a switch mode power supply?

I have a system were we wish to place a USB charger outlet. The output is placed in a bench made of metal, so even if the output is isolated and low voltage, it would be a good idea to ground the ...
0
votes
0answers
46 views

Power distribution problem in multi-camera usb array

Problem Summary My MacBook Pro (development system) can successfully capture images from 24 cameras in the multi camera assembly we have assembled. But when our assembly is attached to a new Raspberry ...
0
votes
2answers
58 views

USB Host and Device communication happen in the same controller preferably Pic controller

Working on new project, which requires- 1st port is for HOST function with Type A connector and 2nd is for Device function with Type B connector & not support USB host port and device port at the ...
0
votes
0answers
54 views

What is the best location of a (damped) LC network here?

I'm using this circuit to create the analog supply in my usb-device: After the high-side switch, the incoming 5V is boosted to 5.5V and then regulated back down to 5 volts. The entire analog part ...
1
vote
1answer
52 views

Which USB spec actually defines support for Dual Role Device? Type-C or USB 3.1?

I'm trying to get a concrete answer on what determines DRD support... the port type (USB-C) or the protocol type (USB 3.1). Besides the poor naming scheme with USB 3.0/3.1/3.2, there's a lot of ...
0
votes
1answer
48 views

How to remove byte to byte delay using MCP2210

I am using a Microchip MCP2210 USB to SPI converter, however during operation, there is a delay between the sent bytes. Is there a way to remove this ?
1
vote
0answers
47 views

USB VBus Current Shaping

I'm trying to solve a design issue regarding a USB device under development. The unit is quite similar to the TS-80P in that it implements Power Delivery and the main function is heating. We require ...
-1
votes
2answers
63 views

Suggestions for a SPI Master board which can be directly controlled through USB using C/C++? [closed]

I am trying to figure out a solution to control multiple SPI slaves directly through my software. I am developing software in C/C++ for a hardware device that has an MCC USB-2637 DAQ board to acquire ...
0
votes
1answer
26 views

Makeshift Passive USB Charger 5V OVP

I was looking to protect my 5V device from 20V, since the charging port is Type-C, but used for USB 2.0 communication without any power delivery or bc. Expected to be charged with 1A-1.5A from the ...
1
vote
2answers
75 views

Can I convert usb-male device to usb-female pluggable device?

I have an external audio card, it's small and it has usb-a male to plug it anywhere, well anywhere you have usb-female of course :) I've been using it on the few mobile phones I have. (some are on ...
0
votes
1answer
54 views

TTL to USB (CP2102)(Driving 5V USB)

I have a USB to TTL Adapter. The Adapter uses the CP2102. I noticed that the CP2102 seems to derive it's power from the USB V+. My problem is that I need to supply power to the USB. The reason is that ...
2
votes
1answer
104 views

USB Type-C: Are CC1 and CC2 interchangeable?

The schematic bellow is a USB controller, designed to be used to change USB's VBUS voltage: Question: Are CC1 and CC2 interchangeable, meaning that red-marked labels could be switched between them, i....
1
vote
1answer
80 views

Can I maintain the health of the data on a NAND USB drive with a power-only USB charger? [closed]

I want to maintain some data securely (avoid bit rot) on solid state media. I know that SLC flash is the best technology to do that with, but even SLC eventually drains. Could I plug an SLC USB flash ...
0
votes
0answers
28 views

How to understand connected USB port type from the UFP side?

I am designing a USB 3.X device with a Type-C receptacle. I know that a standard USB 3.X downstream port can supply 900mA current and a USB 2.0 port can supply 500mA current. I am expecting the ...
0
votes
2answers
49 views

Understand USB suspended or unconnected mode

I'm trying to understand a problem I'm having related to a USB connection. I'm working with a Mini PCIe 4G module (Quectel EC25 Mini PCle 4G/LTE) and at this moment my goal is to put it in sleep mode. ...
0
votes
1answer
38 views

Schottky diode polarity attiny85 dev board

This dev board, forgive my second question on it today. My question is regarding the Schottky diode. It looks to me like the USB 5V is wired to the cathode. Wouldn't that mean it would only allow ...
0
votes
1answer
147 views

Why is there a 5V linear regulator on this USB ATTiny85 dev board?

This dev board. 78M05G regulator, attiny85 MCU. Similar (ON MC78Mx05) regulators' dropout voltage is listed at 2V0. USB voltage is specified at 5V0 (+0V25)(-0V55). The ATTiny85 can take 2V7 to 5V5, ...
0
votes
2answers
57 views

Analyse data on USB line

I have a device (USB CDC) class that is connected to a host PC via USB. On this device there's a request-response task implemented, meaning I get a message, do some stuff and when I'm done I send a ...
0
votes
1answer
92 views

Connecting 1.8V USB and PCIe to 3.3V system

I'm working with a google coral module (ASIC) that has both PCIe gen2 1x and USB 2.0. From the datasheet (https://coral.ai/docs/module/datasheet/) the I/O levels are 1.8V maximum. The problem then ...
1
vote
3answers
106 views

How to detect USB data polarity?

Assuming we have a USB (1.x or 2.0) device and know what pins are for +5 and GND, is there a general way to detect which of the ...
0
votes
2answers
57 views

monitoring voltage and amperage on Raspberry Pi USB ports

Question: Is there a way to get the Pi to tell me the instantaneous voltage and amperage on the USB port that I could write to a data file? Why I am trying to do this: I am trying to monitor rapidly ...
5
votes
2answers
2k views

How to use USB to send video data?

I have YUY2 video data that I want to be sent over USB to a computer. I want the computer to recognize the device as a video device so it can be displayed with software like a webcam viewer. I have ...
0
votes
2answers
34 views

CNC USB keep randomly disconnect while plug Computor notebook to wall plug [closed]

My CNC Machine used Mach3 USB board, Switching PSU (for stepper) and inverter fpr spindle. When notebook run from battery, every work fine until battery run out. After thatr, I plug computor notebook ...
0
votes
0answers
27 views

USB 2.0 0.9A and Data (hub) Simultaneously

Trying to combine USB hub and higher-than-default USB charging currents. My experience with implementing USB is close to zero, although I usually have no problems with datasheets and other designs I ...
0
votes
0answers
62 views

Protection circuit for fake-USB device

I'm developing a set of sensor modules that connect to a controller board, that's also developed by me. Though the communication between controller and slaves is RS-485, I'd like to use a USB-C ...
1
vote
1answer
58 views

Does a device with USB HS Device support necessarily support host mode?

I'm a beginner in the MCU world, I've been looking at some comparison tables for MCU capabilities and I am a little confused about USB capabilities. For instance, looking at this Microchip listing ...
1
vote
1answer
96 views

USB keyboard unplugs and plugs itself when a human approaches or steps away

My computer makes the USB disconnect/connect sound whenever I stand up and walk away from the desk or sometimes sit down at the desk. I tracked down the source, which is the keyboard, by testing with ...
0
votes
1answer
95 views

How can I test a USB switch and hub for compliance with USB power standards (e.g. no backfeed)?

I would like to buy a USB switch and hub, or a combination hub/switch to connect several USB peripherals to two computers. According to this answer on a related question, many USB devices like this ...
1
vote
4answers
125 views

USB Beginner Help [closed]

Why is it that when I plug in a USB device mouse/ 2D scanner, the host computer is able to detect and recognize it automatically, allowing it to do whatever it is supposed to do (i.e. move my cursor/ ...
0
votes
2answers
382 views

What is this device and what does it do?

I have this device here and I do not know what it is or what it is used for. I literally found it on the ground of a store parking lot. I've attempted to research the item and I think it is a tool ...
0
votes
0answers
93 views

Writing USB Joystick for PIC18F using MikroC

I'm using PIC18F2458 as USB Joystick HID. The program works, but I have few problems. Right now, The USB is not detected If I write less than 5 values ( Throttle, X,Y, 4 buttons). The current problem ...
1
vote
1answer
93 views

Upgrading a device female micro-USB connector to USB-C

I have a battery manager PCB, which has a microUSB female connector for power-input (5V from smartphone charger for instance). The power input is fed to a PMU which charges a lipo battery and power a ...
-1
votes
1answer
35 views

Can a USB key data be erased by a upsurge in the voltage?

Say I want to design a USB key that would hold personal information. And I want to have a kill switch that would make the NAND memories just destroy or change status instantly by an upsurge of voltage....

1
2 3 4 5
11