Questions tagged [usb]
Widely used standard for connecting computers to other devices, such as printers and keyboards.
554 questions
0
votes
1
answer
35
views
Which USB driver to choose for Digispark ATtiny 85 board connected to a Windows 11 PC?
I'd like to know which driver to use on a Windows 11 PC for a Digispark ATtiny 85, micronucleus bootloader: winusb, libusbK, libusb_win32 ? Thanks
0
votes
0
answers
78
views
USB Host Serial Port Emulator
I am trying to build a USB Host-side serial port emulator, similar to HyperTerminal or TeraTerm, to run on an Arduino platform. That is, to send and receive ASCII characters to and from a USB Serial ...
0
votes
1
answer
42
views
Sketch Upload Fails -USB bus damaged?
My desktop computer abruptly started failing to upload sketches to the Arduino UNO (a smd "Make: Special Edition" board) I've been working with for the last few weeks. The sketch compiles ...
0
votes
1
answer
106
views
PS4 not recognizing Leonardo as a controller
I have created a modified AVR core based on ArduinoXInput's custom core but for PlayStation instead, to emulate a DS4 controller on HID-capable boards like the Leonardo. Using USBTreeView and online ...
0
votes
1
answer
88
views
How to modify the Leonardo's HID descriptor
I'm trying to make an Arduino Leonardo work with a PS4 following a similar approach as ArduinoXInput with its modified AVR core. However, even though I managed to add the device and configuration ...
-1
votes
1
answer
103
views
Reasons for an ATmega328P Nano SuperMini USB-C board not being recognized by a PC/Mac? [closed]
I recently got two of these ATmega328P Nano SuperMini USB-C boards but none of them is being recognized by my PC or Mac.
I'm using the old bootloader setting in the Arduino IDE 2.3.6, CH340 drivers ...
1
vote
0
answers
36
views
arduino micro A000053 disappear at device manger
I have two Arduino micro atmega32u4 boards (A000053)
and I'm trying to detect them with at Device manger but I'm stuck,
I tried to solve it with the guide below but not succeed because the device ...
0
votes
2
answers
74
views
Communication vs Power Arduino
If I want to use an external power source to power up my Arduino through the raw pin and connect its ground to the ground of the Arduino (Arduino Pro Micro), but need to also have USB connected to my ...
0
votes
2
answers
214
views
Is a programmable keyboard (Arduino Pro Micro + USB HOST ) possible?
How to use Arduino to create a programmable keyboard?
I want to connect a USB keyboard to my Arduino and then connect my Arduino to my computer via USB so that my Arduino is recognized as a keyboard. ...
-1
votes
1
answer
86
views
Using arduino to power another usb device
Can I configure an Arduino Uno as a power source to recharge a USB device while being powered by another external power device? I asked ChatGPT for input and it gave me this code:
#include <USBHost....
0
votes
0
answers
73
views
Upload Same Sketch to Multiple Different Microcontollers via USB?
I'm attempting to figure out how to mass-upload a single Arduino INO sketch file to several different microcontrollers on a Windows 10 system.
It was understanding that, every time that the Arduino ...
0
votes
0
answers
99
views
Why can my computer not see my Arduino Uno?
I've plugged my ELEGOO Uno R3 into a USB port on my computer with a USB cable. However, neither Arduino IDE nor my computer can see the device. When the Uno is connected, it shows no connected devices....
3
votes
1
answer
194
views
Arduino R3 Uno Clone - When barrel plug connected there is 5V on USB. Why?
I have been using Arudino Megas for some projects and never had this problem.
Simply enough - I am powering arduino with 12V in via barrel and take power out via VIN to 12V low very low current small ...
3
votes
1
answer
93
views
Is it possible to use an already working Barebones (328P) via FTDI to load a bootloader onto another 328P?
When testing / developing a proto type using a barebones board with 328P, I usually add a Serial to TTL adapter, which then allows me to modify and upload code as well as being able to the use Serial ...
1
vote
1
answer
111
views
Arduino board with StandardFirmata doesn't respond to C# and Python client
I have a Seeeduino XIAO board with Firmata running on it. I'm currently trying to write C# client to communicate with this board.
I have tried using Iot.Device.Arduino, SolidSolis.Arduino and ...
1
vote
1
answer
110
views
Bad symbols in the serial monitor when connected via USB 3.0
I tested DHT11 + Arduino Uno with a very basic example sketch.
The Arduino board was connected to USB 3.0 and sometimes I saw incorrect symbols in the serial monitor, e. g. "Humidit?: _7%" ...
1
vote
0
answers
1k
views
USB Driver for LGT8F328P Arduino clone
Where is the USB driver for LGT8F328P Arduino Nano clone downloaded from for Windows 10 64-bit?
When I plug in the LGT8F328P into USB, using IDE 1.8.13, it does not detect it. I think it is because ...
1
vote
1
answer
4k
views
Change USB VID and PID (Leonardo)
I'm new to using electronic boards, and have followed a guide online for printing a 6 DoF (degree of freedom) mouse. I'm stuck on an optional step that requires me to change the PID and VID of a "...
0
votes
3
answers
804
views
Arduino Nano Every USB Connection not working
I have two original (designed and assembled in Italy) Arduino Nano Every Boards from a German Web Shop. They came sealed in original packaging. When I try to connect them to my PC, they don't power up....
2
votes
1
answer
382
views
Best Solution to Parallel UART reads with Arduino Due
I have 4 Arduino boards pushing data over UART to 4 serial ports on the Arduino Due at 115200 baud rate.
Data format - <Short URL>,<Number of the Node>
Eg: px.ht/d/mCxG,1"
Arduino Due ...
1
vote
1
answer
136
views
Getting a strange symbol when pressing buttons in a USB keyboard connected to the Arduino GIGA R1
I am using the following code:
#include "USBHostGiga.h"
//REDIRECT_STDOUT_TO(Serial)
Keyboard keyb;
HostSerial ser;
void setup() {
// put your setup code here, to run once:
Serial....
2
votes
1
answer
133
views
Micropython installation on Arduino nano
I am currently trying to use micropython on an arduino Nano 33 BLE using MacOS. Following the instructions from arduino website I was able to complete steps 1-3. At step 4, I can find the bossac file ...
2
votes
2
answers
333
views
How to detect, if Serial is really connected to listening PC program? (on atmega32u4)
How to detect, if Serial is really connected to listening PC program? (on atmega32u4)
I need to connect from PC to Arduino Micro Pro over USB Serial and disconnect again and not slow down the Arduino ...
1
vote
1
answer
324
views
Intercepting Keyboard Data on a Micro Controller
Recently I have purchased male and female USB-C breakout boards. I intend to connect the male breakout to a keyboard and the female end to my computer using a USB-C cable and wire the breakouts ...
1
vote
0
answers
28
views
How does arduino pro micro reset via USB? [duplicate]
The pro micro has no hardware reset circuitry that would allow host PC to cause a reset via USB. But when programming using the bootloader, the host PC must have a way to reset the pro micro to allow ...
1
vote
2
answers
4k
views
Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)
I want to use a Waveshare Pi Pico Zero to connect two standard NES controllers to a computer over a single USB port.
I'm using the Waveshare RP2040 Zero board definition from https://github.com/...
2
votes
1
answer
1k
views
Unable to upload sketch to Lolin S3 Pro (ESP32-S3)
I'm trying to upload a simple sketch to the new Wemos Lolin S3 Pro but unfortunately I can't seem to get it to work. I get the following error message:
Connecting......................................
1
vote
1
answer
1k
views
USB OTG and ESP32-S2
I have an ESP32-S2-DevKitM-1 which is supposed to able to act as USB HID device.
But whatever I try using either ESP-IDF or Arduino-IDE, I can't get any data from it.
I ran this esp-idf example.
I ...
0
votes
2
answers
207
views
how to avoid an Arduino pro micro waking up a pc
I have an Arduino Pro Micro only sending data via com port, connected to a PC.
I don't use the USB protocol and I think the Arduino send request with USB and it's the reason why my computer wakes up
I ...
1
vote
0
answers
136
views
how to config size USB mass storage arduino nano ble 33?
I see that they arduino nano ble 33 support USB 2.0. Is there a way for us to create a USB mass storage of about 200kb for convenient storage of configuration files and history files?
I see example ...
2
votes
0
answers
437
views
Implementing very slow external drive using ESP32 and TinyUSB
I want to implement a simple external drive with ESP32-S3 that would act like a normal USB enabled flash drive when connected to a computer.
The actual storage of the data is done mechanically (for ...
1
vote
1
answer
539
views
Arduino Mega Loopback Test with Several TX/RX Ports
I am trying to do a loopback test using an Arduino Mega. What I am looking to do is send a byte over TX and receive said byte back at RX and verify that the byte is unchanged. More or less I just have ...
1
vote
0
answers
37
views
Any libraries exist for easy configuration via USB?
I have a device that would really benefit from a USB configuration tool. I'm envisioning "plug it into a PC, and it appears as a storage device with a YAML config file". Are there any ready-...
2
votes
1
answer
711
views
Nano 33 BLE Sense powered with Vin and USB at the same time
I have a project where I would like to power an Arduino Nano 33 BLE Sense
with USB and Vin at the same time.
The idea is to charge an external LiPo 3.7V through a charger module
that would take the ...
3
votes
1
answer
676
views
Arduino | external power supply and USB at the same time
Arduino | external power supply and USB at the same time
I have got an Arduino Mega 2560 project with many sensor and outputs.
Right now I’m supplying it with an external stabilized 5V over the 5V pin ...
2
votes
1
answer
3k
views
Why is Arduino not visible in MacOS USB port list? [duplicate]
When I connected my Arduino Nano 33 IoT to my 2017 iMac (Ventura OS), the USB port did not show in the Arduino IDE port list, even after double-clicking the Nano reset button to put it in the right ...
1
vote
2
answers
401
views
Arduino MEGA - How to send and receive data asynchronously?
i am newbie to this so i hope i can explain my problem clearly;
Arduino MEGA connected to PC via USB port.
I am using an encoder to trigger function to send data to pc, data is a simple string "...
-1
votes
1
answer
113
views
Can an ethernet shield function as an adapter?
I want to communicate with my Arduino over a long distance so I decided to use an Ethernet cable between my computer and Arduino. Searching up a few tutorials I've found them all mentioning IP ...
0
votes
1
answer
361
views
Alternate full speed usb library for ATTINY85?
I'm currently working on a project using the ATTINY85 for USB communication. After some research, it turns out that the V-USB library only supports usb 1.1, which only supports a 125hz polling rate. I ...
3
votes
1
answer
2k
views
Xbox 360 controller commands to Uno-compatible board via USB module [closed]
I am trying to receive commands on a third-party Arduino-Uno-compatible board from an Xbox 360 controller via an M5Stack USB module but I am not seeing the behavior I expect (see heading Expected ...
-1
votes
1
answer
803
views
ATTiny85(Digispark) not connected/recognized
I have 1xDigispark(ATTiny85) from Amazon https://www.amazon.pl/gp/product/B076KS2QDS/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1.
When i connect it into USB port nothing happen i didn't get ...
0
votes
0
answers
294
views
Atmega32u4: Reduce power consumption while keeping USB active
I have a USB powered board, that should consume as little power when idle as possible, while keeping the USB connection alive.
The device only sends data to the host, doesn't receive any, so the ...
1
vote
1
answer
11k
views
How to install FTDI Serial Drivers on Mac?
I'm following this tutorial on how to install FTDI drivers on macOS, but am facing some issues. After downloading the USB Serial Driver version 2.4.4 (for OS X 10.14) from FTDI Chip's virtual COM port ...
0
votes
1
answer
1k
views
On Linux Min21, unable to access tools/port (grayed out) [duplicate]
I have dual boot laptop, Windows 11 & Linux Mint 21 (default boot). when running Arduino IDE 1.8.19 using Linux the port not accessible [from tools/port], but if I boot as windows, I can access ...
2
votes
1
answer
321
views
Why wont my custom Arduino-Micro-based board connect over USB?
I designed and printed a PCB for my MIDI controller project with a modified Arduino Micro microcontroller essentially built into the design. I swapped out the USB Micro for a USB-C type port (just ...
1
vote
1
answer
228
views
Why wont my custom Arduino-Micro-based board receive power via USB?
UPDATE: I believe I have mostly solved the power issues, but now have USB connectivity issues described in EDIT 3 at the bottom.
I designed and printed a PCB for my MIDI controller project with a ...
-1
votes
1
answer
172
views
Rename cu.usbserial-1410 on macOS
Is it possible to rename, e.g., cu.usbserial-1410 to something else?
I have to connect multiple Arduino's and right now the order is rather important.
Being able to set a fixed name would help a lot.
1
vote
2
answers
236
views
Arduino Uno USB 5 V and external power supply 12 V overheating
I have a issue with my Arduino Uno r3.
I'm not sure why is that happening but I have a 5 V, 18 A power supply to power my LEDs. I connected 5 V from the Arduino to 5 V from the external power supply ...
1
vote
0
answers
428
views
Adding Serial2 ends up blocking nano rp2040
Background Info
I want to have two serials in my arduino nano rp2040 connect, in order to be able to communicate using the following scheme. (μC is a microcontroller).
μC1 <--> μC2 <--> ...
0
votes
2
answers
3k
views
Arduino cannot connect to port (arduino nano rp2040)
My arduino cannot connect to any port of my computer. So far i tried the following, without any luck:
Using another arduino to check the usb, and it worked. So no problem with usb cable.
Resetting ...