Questions tagged [usb]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 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 ...
user avatar
0 votes
0 answers
31 views

How I can sniff USB data from Arduino UNO using some sort FTDI cable whilst maintining using the default usb for serila transfer? [duplicate]

What I want is to have a second USB cable used for debuging whilst I use Uno's onboard cable. What I want to do is this: What I want is to read any traffic incomming from tx and rx pins and transfer ...
user avatar
0 votes
1 answer
39 views

Is Arduino's USB communication protocol the same as USB modems use?

An Arduino Uno uses for the default USB communication either an FTDI chip in early versions or a microcontroller that emulates/replicates the FTDI chip communication. Is this type of USB ...
user avatar
0 votes
1 answer
102 views

Why modem driver is loaded and used from my linux machine in order to communicate with Arduino?

Once I plugin an arduino to my linux machine the following response is retrieved (via dmesg): [ 7250.906241] perf: interrupt took too long (2504 > 2500), lowering kernel.perf_event_max_sample_rate ...
user avatar
2 votes
0 answers
37 views

Can the USB interface IC be identified via code alone?

I know that the master controller can be found in verbose upload output in IDE, but I have a few boards from different manufacturers and my smartphone camera is apparently insufficient to take a ...
user avatar
2 votes
2 answers
158 views

How can I log data to a thumb drive?

I am working on a project where I need to log data, but I was wondering if it is possible to log that data to a thumb drive? I know that I can log data to an SD card, but I thought a thumb drive would ...
user avatar
1 vote
0 answers
27 views

Can read Serial but cannot write - serial communication Arduino Mega 2560 clone

I am having issues using the following USB to UART module. I am using an Arduino 2560 clone. I have two connections with the Arduino: COM7 which consists of the given module, connected to the main ...
user avatar
0 votes
1 answer
31 views

Can I make an Arduino Uno Rev3 pretend to be a joystick?

I want to create a joystick for my flight simulator and I need to make an Arduino Uno Rev3 pretend to be a joystick when I plug it to my computer.
user avatar
0 votes
1 answer
48 views

Funduino USB Host Shield problems

I'm currently working on connecting a Funduino version of usb host shield onto an arduino mega board. But the serial output shows "osc did not start", which means the board can't find the ...
user avatar
0 votes
0 answers
37 views

Disable USB support for mega32u4

I have a custom Leonardo board (mega32u4-based) that does not use at all the USB features. When I build my sketch (vscode and platformio) I read: Compiling .pio/build/leonardo/FrameworkArduino/CDC.cpp....
user avatar
  • 287
0 votes
1 answer
74 views

USB-C to USB-C cable Arduino is not responding even not powered by this cable

Hi I want to connect arduino NANO to my laptop with Type-C (USB-C) ports (on below image left side [4] and other side 3). Now I bought a USB-C to USB-C cable, because it appeared to be the right tool, ...
user avatar
  • 205
0 votes
2 answers
79 views

Arduino Leonardo/Pro Micro sleep and USB

I am using an Arduino Pro Micro (basically a Leonardo in a smaller form factor) in a mobile application where power consumption is really important. To reduce power consumption, I put the Arduino to ...
user avatar
  • 207
3 votes
1 answer
257 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: /** * ...
user avatar
  • 131
1 vote
0 answers
63 views

Arduino port not discovered with bootloader / Did I fry my board?

I have a Arduino Nano 33 BLE that I've been using for a while. I usually upload new programs to the board through USB with the board in a bootloader loop. The other day this stopped working. The board ...
user avatar
0 votes
1 answer
49 views

Different meanings of pid and vid in boards.txt

Let's see the leonardo section in boards.txt: leonardo.name=Arduino Leonardo leonardo.vid.0=0x2341 leonardo.pid.0=0x0036 leonardo.vid.1=0x2341 leonardo.pid.1=0x8036 leonardo.vid.2=0x2A03 leonardo.pid....
user avatar
  • 287
1 vote
2 answers
164 views

Can I power up an Arduino Uno via the 5 V pin while USB is connected at the same time?

I want to use Grbl to control a diy CNC machine. I need to communicate with the CNC using Grbl and this is done via the PC's USB port. So the PC's USB port is connected to the Arduino Uno which is ...
user avatar
2 votes
1 answer
53 views

ELEGOO Mega 2560 USB and Vin simultaneously?

I'm powering my Arduino clone with an LM317 circuit that regulates Vin voltage to 10V (measured with a multimeter). While the Arduino is powered by USB only, everything works. When it's powered ...
user avatar
  • 21
-2 votes
2 answers
147 views

Arduino Uno R3 not recognized by Arduino IDE on Ubuntu 21.04

Now I've been pulling my hair for two days over this one. I've tried everything. I've turned every stone, looked at every search result, and every Arduino Forums thread. The problem is that Arduino ...
user avatar
0 votes
1 answer
65 views

How does Arduino board separate USB traffic (uploading code vs. communication)?

A beginner in Arduino programming here (learning Arduino programming while waiting for my board to arrive). I am trying to understand how Arduino board is able do these two things using only one USB ...
user avatar
0 votes
0 answers
54 views

How to modify an Arduino Due native USB port VID and PID?

I would like to know if it is possible to modify the VID and PID of the Native USB port of an Arduino Due.
user avatar
  • 121
1 vote
0 answers
44 views

Porting Arduino for ATMEGA16U2 [duplicate]

I have a bunch of ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware. After a Google search I learn the ATMEGA16U2 is often hosted on the ...
user avatar
  • 287
1 vote
1 answer
69 views

Arduino native USB port and Simulink [closed]

I am trying to communicate through the native USB port of the Arduino Due with a PC. The native port itself works, I have tested this. The problem is, that every time I upload my Simulink model via ...
user avatar
2 votes
3 answers
74 views

Why must I detach the Arduino from the computer when making adjustment to the circuit?

I am new to Arduino and am reading Learn Electronics with Arduino: An Illustrated Beginner's Guide to Physical Computing. On page 118, it says: Remember, whenever you make adjustments to a circuit, ...
user avatar
  • 123
1 vote
1 answer
68 views

Peculiar behaviour of arduino pro micro

I am working with an arduino pro micro and I am facing a peculiar problem. The project I am working with includes arduino MKR NB 1500 as well. I am transferring data from MKR NB 1500 to arduino pro ...
user avatar
  • 31
1 vote
0 answers
56 views

Control D+ and D- USB lines using an arduino disconnect/connect

I am using Arduino to remotely trigger a shutter action. All is well, until I hook up a USB cable on the 4 regular USB pins. This cable runs between a Sony camera and a printer. But I can not take an ...
user avatar
  • 111
0 votes
1 answer
88 views

Arduino Zero not recognised as MIDI device via native USB port

I'm currently trying to get an Arduino Zero to show up as a native USB MIDI device in my DAW (ableton). No matter what I try, I cannot get it to show up as a device in Ableton. I have previously used ...
user avatar
2 votes
1 answer
341 views

Fail upload sketches to ESP8266 only on Ubunto 20.04.3

I installed a fresh copy of Ubuntu 20.04, and Arduino IDE1.8.16. At the beginning adding user to dialout group enabled uploading sketch to Aruino AVR family, and ESP32, but still ESP8266 gives this ...
user avatar
  • 858
1 vote
1 answer
128 views

Mounting an Arduino inside a PC

I want to mount an Arduino Pro Micro inside my PC, hooked up to the PC's USB. I don't want to have external cables for this, but have it neatly cabled inside. My motherboard has USB connectors with 9 ...
user avatar
  • 173
1 vote
1 answer
54 views

Can I use an arduino as an interface to pass files between a device and a PC?

Or maybe you guys can point me towards another direction... You may ask, why not connect the device directly to the PC? Well, the device is designed to recognize only USB sticks, and dump the data ...
user avatar
  • 11
3 votes
1 answer
114 views

Alerting the ATMega32u4 that it's plugged into a computer (via USB)

I need help in writing some code that will allow for the ATMega32u4 to be aware of when it's plugged into a USB port. I'm not really familiar with the ATMega32 or with it's function in Arduino, so I'm ...
user avatar
  • 135
0 votes
1 answer
226 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 the ...
user avatar
  • 31
2 votes
1 answer
298 views

Arduino Uno won't connect when using USB-C to USB adapter

So I just got my first Arduino which is an Arduino Uno. I have a newer MacBook Air which doesn't have any USB ports so I thought I'd just use one of those USB-C to USB adapters. I plugged it in and ...
user avatar
1 vote
1 answer
426 views

Can Arduino UNO be used to emulate a PS4 joystick?

I Want to know if there is a library that can be used in order to make a PS4 controller with Arduino. I have a PS2 steering wheel and I want to use it thorugh Arduino with PS4. I know that PS4 has his ...
user avatar
  • 203
0 votes
1 answer
41 views

My Arduino UNO works, but 2 smd overheats. Why?

I can use my Arduino with the usb plug, but 2 smd overheating when I plug into the computer, But when I use the DC plug, the leds on the Arduino barely visible (for example the "ON" led), so ...
user avatar
1 vote
1 answer
91 views

Can at least one Arduino emulate a USB hub?

What I'd like to do is have some kind of compact (and preferably inexpensive) Arduino-compatible device emulate a USB hub, and simulates plugging in a USB keyboard, pressing a key, then simulates ...
user avatar
1 vote
0 answers
133 views

USB and LM7805 both to power Arduino

I have high current usage For my circuit as you can see below (link): I like to power Arduino when it is not connected to PC by USB Connection, So I want to add one external power supply and connect ...
user avatar
2 votes
0 answers
175 views

Attiny85 uploading error

I am getting an error while trying to upload programs to the Attiny85 through a USBTinyISP programmer, found here. Unfortunately, it isn't working. Following this tutorial for connecting the board and ...
user avatar
0 votes
1 answer
107 views

Can i use PL2303 USB to TTL Serial Converter Module send keystrokes using Arduino nano?

If I can, which library to use (an example code will be great). Here is the module:
user avatar
1 vote
1 answer
415 views

connect USB keyboard to Arduino using clk and data wires

Edit: What I'm looking for is some kind of library which could be used with an arduino to read the HID protocol output from the Data+ and Data- cables of the USB. ========== If I cut the cable of a ...
user avatar
1 vote
0 answers
140 views

Resuming Serial Connection after sleep on Arduino M0

For debugging purposes I want my serial connection to resume after sleep. After running LowPower.sleep() from the <ArduinoLowPower.h> library, I don't get any new serial messages in the serial ...
user avatar
  • 170
1 vote
0 answers
816 views

How to get the esp32s2 recognized as USB device?

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 ...
user avatar
1 vote
0 answers
353 views

Reusing Digispark ATtiny85 micro-USB as 1-wire bus

I'm working on a project of my home plants irrigation/hydroponic system(not cannabis!)) just chilies and other eatables). Also I'm trying to recycle modules, wires and other projects' leftovers such ...
user avatar
  • 11
1 vote
1 answer
99 views

Problem with my usb plug

First of all, we connected our usb plug to arduino board (starter kit). After that, we completed Project 1 successfully (circuit with led and switch.) We tried unplug the usb cable, but it was very ...
user avatar
  • 11
1 vote
1 answer
772 views

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable

I have tried everything on this url https://stackoverflow.com/questions/10165761/java-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t session output: root@whale:/home/kermit# ...
user avatar
  • 201
1 vote
0 answers
39 views

Powering Arduino by USB

The USB cable that came with the Arduino board is not easily recognized by the computer for selecting the appropriate COM port, For powering the Arduino it works fine (the board will light up when ...
user avatar
  • 51
0 votes
1 answer
722 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 ...
user avatar
0 votes
1 answer
360 views

Arduino Nano Every Vin 5V fixes I2c problems

I had problems with connecting my devices via I2C. The "requestfrom" constantly hanged and the endtransmission sometimes gave NACK responses. After disconnecting the devices from 12V and ...
user avatar
  • 49
1 vote
1 answer
195 views

How to get arduino to always be connected as /dev/ttyUSB0 and with chmod 0777?

I've got Debian 10 as OS and for a Project, I need my arduino to always be connected as /dev/ttyUSB0, not any other ttyUSB-number, and I need it to be connected with the 0777 rights for a script to ...
user avatar
1 vote
1 answer
107 views

Broken USB connection

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 ...
user avatar
1 vote
0 answers
331 views

Fried 2 MKR Wifi 1010 after plugging them to a solar panel

I fried 2 MKR Wifi 1010 after powering them using a solar panel. Here is the diagram: Both were working fine as long as I used the LiPo battery and/or my macbook (using USB) as power sources. They ...
user avatar

1
2 3 4 5
11