Questions tagged [usb]

Widely used standard for connecting computers to other devices, such as printers and keyboards.

Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

OSX upload error: avrdude: ser_open(): can't open device "/dev/cu.mydev" : Resource Busy

I'm trying to upload the blink script to my unnamed Arduino-like board. However, the USB port appears to be busy. This is all the output I get: Archiving built core (caching) in: /var/folders/43/...
0 votes
0 answers
19 views

Problem flashing Arduino Uno [closed]

I'm using an Arduino Uno to control some 12vdc motors and I think i may have burned my Arduino. When removing the hardware from the chip, I accidentaly touched some ICSP pin with 12vdc, the board ...
-1 votes
1 answer
24 views

COM port issue ~ A-Star 32U4 [closed]

My robot is the Pololu 3pi+ 32U4 Turtle Edition. I downloaded the Arduino IDE and installed the appropriate board/packages listed in the User Guide. However, I am receiving the following issue ...
1 vote
3 answers
451 views

How to set cables to connect CP2102 to Pro Mini?

How to connect the cables in order to program the pro mini with the CP2102 usb interface ? The TX RX and GND is easy, but I am not sure about the RST, DTR, DST, etc When I try cables like this: TX .....
1 vote
1 answer
47 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
2 answers
160 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
1 answer
776 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 ...
1 vote
1 answer
48 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%" ...
0 votes
0 answers
19 views

Portenta H7 with Breakout Board, USB A as client and USB-C as Host

Portenta H7 with Breakout Board. I would like to use the USB-A on Breakout Board as a client to send debug messages back to the terminal. USB-C on the H7, I would like to use as a Host for Keyboards ...
1 vote
0 answers
148 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 ...
-2 votes
1 answer
8k views

Connect NodeMCU with USB camera

I am trying to connect a USB camera to my NodeMCU v0.9. VCC Red +5V D- White Data D+ Green Data GND Black Ground I dismantled the USB cable ...
0 votes
3 answers
212 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....
0 votes
1 answer
604 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 "...
2 votes
1 answer
115 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
77 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....
0 votes
2 answers
1k views

Serial to USD (HID keyboard device) converter

I am working on a project to collect data from a barcode scanner using an Arduino, which in turn is connected to a POS/laptop. So far I am able to collect the data from the barcode scanner by using ...
2 votes
1 answer
65 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
1 answer
1k views

Communicating with Arduino Mega 2560 Serial ports through x2 RS232

I am trying to drive a stepper motor using an Arduino Mega 2560. There will ideally be two RS232 signals being read into / written from the Arduino, each using male USB 3.0 connectors; one of these is ...
1 vote
2 answers
1k views

Wireless Bluetooth USB HUB using Arduino nano

I have the following problem/idea: I have a electronics workbench and a separate PC desk. Now I have a USB HUB on the workbench, but it doesn't properly work, because the USB-cable to the pc is too ...
2 votes
2 answers
160 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 ...
0 votes
0 answers
38 views

Salvaging Arduino board from Google ADK 2012

I found an old Google ADK 2012 in my closet and remembered it came with a Arduino board (?), an ARM 32-bit Cortex M3 micro-processor available at the time (possibly the DUE). The ADK 2012 design files ...
4 votes
2 answers
4k views

My ESP32-S3 DevkitC-1 has two USB micro ports labeled 'USB' and 'UART'. What are they for?

I'm new to micro-controllers. I've got an ESP32-S3-DevKitC-1 and I'm trying to do a simple hello world with the Serial. I'm using the Arduino IDE for flashing and serial monitoring. My code is: /** * ...
1 vote
1 answer
118 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
19 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
1 answer
2k 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
488 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......................................
0 votes
2 answers
109 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 ...
0 votes
2 answers
517 views

USB Host Shield plus 2 identical joysticks

I'm trying to get two identical joystics (Saitek cyborg 3D) running with the USB-Host-Shield on a Mega 2560 and an USB-Hub. I already get the event-messages of both of them: #include <usbhid.h>...
1 vote
0 answers
91 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
1 answer
406 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 ...
0 votes
2 answers
2k views

How to make an arduino webserver over USB? without ethernet shield nor wifi chip

I would like to begin to understand ethernet handshakes by integrating an Ethernet over USB protocol within an arduino mega or nano. Is there something about the ethernet protocol that requires more ...
2 votes
0 answers
289 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
253 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
24 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-...
1 vote
1 answer
4k 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 ...
4 votes
1 answer
507 views

Power Supply Problem with Arduino Yún: Using a long USB cable

I want to use an Arduino Yún as a kind of outdoor weather station. I want to supply the power for the Yún with a 5V USB-Charger. Using a normal USB cable everything works fine. But as the weather ...
3 votes
1 answer
297 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 ...
0 votes
1 answer
1k views

Attiny85 not recognized at windows startup

I'm using an Attiny85 to interact with a computer using an USB connection, and everything works fine except when I restart my computer and the Attiny85 is connected. When Windows end to boot up the ...
2 votes
1 answer
1k 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 votes
1 answer
571 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
3 answers
3k views

how do i connect my Arduino Nano to my Linux Laptop

update: I uninstalled the portable package of Arduino IDE, completely, and installed the IDE using sudo apt install arduino. yes, I verified that my Nano was plugged in, the status on the bottom right ...
1 vote
0 answers
624 views

Arduino Pro Mini ATmega 328P: garbage output on serial console

Arduino Pro Mini ATmega 328P 3.3V 8MHz, connected to USB port via USB to Serial breakout board built around the FT232RL FTDI chip. JTAGenum project code uploaded to the Arduino. I opened terminal and ...
1 vote
2 answers
204 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 "...
3 votes
1 answer
1k 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
71 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 ...
-1 votes
1 answer
591 views

Can I use this approach so I can sniff both TX and RX signals using a Second arduino?

Based upon this answer I can hook up 2 arduinos like this: But AFAIK The main microcontroller uses an RS232 protocol and AtMegau16 (or ATMegau8) converts it into USB one emulating an FTDI chip. But ...
0 votes
1 answer
212 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 ...
2 votes
1 answer
267 views

Broken USB connection [closed]

When I connected an external power supply to my Arduino Uno R3 (it was connected to PC via USB cable too), I heard Windows disconnected device sound and the device isn't visible since then (nothing ...
0 votes
0 answers
197 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
666 views

Teensy 2.0 usb xinput device

So I came across a library that lets you turn your TeensyLC/3.X into an xinput device. I only have a 2.0 on hand. I spend the past few hours messing around with the LC example to see if I could hack ...

1
2 3 4 5
11