Stack Exchange Network

Stack Exchange network consists of 174 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]

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

0
votes
1answer
344 views

USB Device not recognized (error 43, arduino uno)

I know that there's already post about this, but mine is different. Instead of not recognized, it gets recognized, and I can upload codes, but after a while, windows starts to not recognize it. And ...
1
vote
1answer
82 views

Use ATtiny85 to perform initial config on a Cisco router using its USB console port

We have 200+ brand new Cisco routers that have USB console ports (but not the old RJ45 serial console ports). This is quite frustrating because the routers didn't ship with console cables and Cisco ...
0
votes
1answer
23 views

Can external power supply above current limit lead to errors/shutdown arduino?

I have an Arduino Due that is connected both over native USB to PC and a 12v power supply in the Jack. Mounted on the Arduino I have a custom PCB that drives 3 motor drivers. The Motor drivers are ...
0
votes
1answer
108 views

Using TXD1/RXD1 on ATmega1280 for USB communication

I have a few MakerBot Mightyboards running off ATmega1280 chips that can no longer use their standard USB port to connect to a computer (to make a long story short, there's a little inductor that blew ...
0
votes
0answers
179 views

Arduino USB Host Shield + USB-Serial Adapter

I have a Neato Robotics XV-11 robotic vacuum cleaner. It has a USB port that, when connected to a computer, shows up as a USB to serial adapter. This is a very simple and easy-to-use command-prompt ...
0
votes
0answers
28 views

Can't find Pro Micro on my laptop

When I plug in my Arduino Pro Micro the green light turns on, but nothing happens on the laptop. I looked in the device manager, but its not there. I have tried on every USB port on my laptop and even ...
1
vote
1answer
968 views

Unknown USB Device (Device Descriptor Request Failed) - Win 10

I am posting a possible solution here for any online searches happening upon this exact issue. So I have a third party board (Mega 2560) and I was plagued with my board intermittently working, on ...
0
votes
1answer
99 views

Arduino: using digital pins to emulate USB device

Is there any "easy" way to emulate USB keyboard or gamepad using digital pins on Arduino Mega? I looked at Uno-Joy/Mega-Joy, but I dont find firmware changes appealing.
-1
votes
2answers
38 views

How to create a device with buttons that records when they are pressed [closed]

I want to build a very simple device, which has a bunch of buttons for switching "settings" and LED lights to show which "setting" it is on. I also want it to record the times of the transitions ...
0
votes
2answers
48 views

Can't identify + or - in the 5v USB wall adapter, does it matter? [closed]

I want to power the UNO with the USB power adapter (the charger of a phone), the adapter delivers 5.0 volts and comes from the wall (in the photo a regulator is added). However, the legs of the USB ...
0
votes
2answers
60 views

Where can I find the complete list of Arduino Serial Command & Query Strings?

I am planning to use the Arduino as a replacement for a USB-Controlled Digital I/O device, which will be integrated into an existing C++ software package that I created. I understand that the Arduino ...
0
votes
1answer
192 views

How to create custom bootloader with accompanying program loader for ATMega2560

Just for some context, I have created a custom board based on the ATMega2560. I currently have the original Arduino Bootloader for the ATMega2560 and have no problems uploading code via the USB Port ...
0
votes
0answers
422 views

Arduino Mega not detecting in device manager for laptop

The Arduino mega 2560 works fine on my PC and friends laptop (when I say fine I mean it is being detected). However if connected to my laptop am working on it does not get detected in the device ...
1
vote
1answer
87 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>...
0
votes
0answers
55 views

ISSUE with USING WINUSB Driver & Arduino AS USB &LUFA/ CATERINA boatloader

Project Goal: Create a custom USBDevice. Name of device : "CapiaZ" Board used: Arduino MICRO summary: I was able to modify the Caterina boatloader for my CapiaZ board, to have a specific VID & ...
1
vote
1answer
333 views

Using Arduino Uno as USB to serial converter

Can I use my Arduino Uno as a USB to serial converter to program my Raspberry pi 0 over serial communication? My idea: Computer connects to Arduino via USB > Arduino connects with Raspberry pi 0 via ...
1
vote
0answers
103 views

How fast an Arduino mouse would be?

I'm thinking about making a custom Arduino-based mouse and I expect not to be the first one to have the idea. Does anybody know what speed I can expect to achieve? Suppose I use a mechanical mouse as ...
1
vote
2answers
107 views

Arduino doesn't boot unless I short USB pin 1-2 (VCC/Data -)

I've made my own AVR programmer with an Arduino Nano V3 clone. It has been working fine, but yesterday I was trying to program a faulty board that pulled too much current. Was powering via USB and my ...
1
vote
0answers
618 views

No ttyACM0 nor ttyUSB0

I checked several related posts but couldn't solve my problem. I have Antergos Linux : # uname -a Linux biutitude 4.14.11-1-ARCH #1 SMP PREEMPT Wed Jan 3 07:02:42 UTC 2018 x86_64 GNU/Linux The ...
0
votes
2answers
1k views

Connect ESP-01 to USB Uart

for programming my ESP-01 chip I bought an "USB Uart", but it looks different to all the ones in all tutorials. I don't know how to connect the uart to the esp. The uart i bought has following pins: ...
0
votes
0answers
35 views

What am I doing wrong? (LED PROBS)

I have chopped up and spliced together some USB cables to combine with several strips of LEDs to create (what should be) a daisy-chainable setup that I can use to make a light fixture. Below is a ...
1
vote
2answers
2k views

Typing into ESP8266 with a USB keyboard

I need to be able to connect a USB keyboard, like a tiny Xbox keyboard, or a nice wireless one, into an ESP8266-based thing to type passwords into the MCU. Adapting the PS2 lib for AVRs (PS2==USB ...
1
vote
2answers
576 views

Uno r3 - Can't get USB Keyboards to work with an USB Host Shield

I'm a day 1 beginner to Arduino, and I am trying to obtain input from a USB keyboard. I've connected the USB keyboard to an Arduino USB host shield attached to an Arduino Uno r3, and I am using the ...
1
vote
0answers
176 views

Cannot upload to otherwise working bootloaded ATmega328P via RS232: “programmer is not responding”

I have an ATmega328P on a breadboard with the following circuitry around it: The ISP is a Tiny AVR Programmer. The RS232 to USB converter is this thing. Following is the test program I use: void ...
0
votes
1answer
57 views

Detecting the presence of a specific smartphone [closed]

I would like you to give me some clues about a projet I have: I want to make sure that my little brother's smartphone stays in a shelf overnight and during school hours in order to monitor the time he ...
-1
votes
1answer
42 views

How to fix the Break Beam Sensor programming issue that says “USB Device Disabled”?

I am trying to use the Adafruit Metro Mini as Arduino (can be used the same way) to program an IR Break Beam sensor and a stepper motor. I connected the beam sensor to the breadboard and plugged the ...
-1
votes
1answer
42 views

Engraving machine with arduino [closed]

I'm trying to control an engraving machine with an Arduino Uno. I don't have so many knowledges in electricity so I'm trying something very simple. I think my program is OK but I have no idea how to ...
0
votes
2answers
135 views

3.3V Pro Micro clones flashing LEDs after 1200 bps touch

I have several Pro Micro clones. This morning I uploaded a sketch into one of them (that was previously unprogrammed, so it stayed in Bootloader mode) and when I wanted to upload the sketch a second ...
0
votes
0answers
37 views

Pro Micro HID freezes during computer boot or resume from standby

I am using a Pro Micro as a HID touchpad, connected to a laptop running Ubuntu 17.04. Everything works, except that the board freezes or hangs while the computer boots or resumes from standby, ...
1
vote
2answers
622 views

After burning bootloader, Windows 10 doesn't recognize the USB device

I just built my own version of an Arduino Micro, using the ATMEGA32u4 chip. I burned the bootloader to it via another Arduino (Arduino Nano from banggood.com). The Arduino Nano uses an ATMEGA328 chip,...
0
votes
1answer
349 views

Can't flash ESP8266-01 with Sparkfun FTDI basic - wrong direction/command

Connections: RX -> TX TX -> RX GND -> GND VCC -> 3.3v CH_PD -> 3.3v GPIO0 -> GND (flash mode) Click the picture to make it larger/more readable. I am trying to flash an ESP8266-01 ...
0
votes
1answer
801 views

Arduino force feedback vibration gamepad

I'm projecting a gamepad with Arduino Micro. I'm using the Arduino Joystick Library. I'm building this gamepad for racing games so I need to catch signal like hit_the_wall, hit_another_car. I wonder ...
1
vote
1answer
455 views

Can the Mouse library scroll horizontally?

I'm using the Mouse library with an ATmega32U4 connected to Linux via USB. I would like to issue horizontal scroll commands, but the Mouse.move() function only seems to accept X movement, Y movement ...
0
votes
2answers
107 views

Why Arduino Mega 2560 throw error when i try to upload example

I'm try to connect my Arduino Mega 2560 to PC, but I think it's not easy as I imagine. I spent a lot's of time to install USB driver. Here is a screenshot: When I try to upload blink example, Arduino ...
0
votes
0answers
154 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 ...
0
votes
1answer
51 views

Programing a Mini 05 without a USB-to-serial converter

I have an Arduino Mini 05 clone Wattuino, an Elegoo Mega, a Powerboost 1000c, but not access to a USB-to-serial converter. Is there any way to program the Arduino Mini with these devices? I tried to ...
0
votes
2answers
124 views

Arduino mega board 5v pin does not gives 5v when 7.5v is applied through external source

I gave 7.5v to the arduino mega board through battery. 5v pin in the board gives me the same voltage as input. Earlier it was working fine now it is giving problem.Please let me know the solution as ...
1
vote
1answer
180 views

USB or external power

I have an arduino mega that i am using as a clock. I would like it to detect if it is connected to a USB or external power supply (e.g. a battery). I then want to set a variable to different values ...
0
votes
1answer
536 views

Switching between SPI Devices when one is an SD card

I'm using a USB Barcode scanner connected via a USB shield, I'm able to get the readings from the barcode using this example, After getting this readings, I'd like to save it to an SD card but the SD ...
0
votes
2answers
233 views

How to restart USB subsystem?

I'm developing on the Arduino platform (ESP8266 with USB -> serial) and sometimes the USB port that is being used stops working and gets frozen. Then I need to plug the device into another USB port. ...
1
vote
1answer
650 views

Super-fast USB communication; how is it possible?

On Arduino forums, there's a post where someone improved the USB communication and made it super-fast. I don't understand how he did this, and I'm trying to recreate this, but failing. My test code ...
1
vote
0answers
80 views

Digital Music Player (SD to USB)

I own a couple of digital in-ear headphones that connect to my phone using USB (some micro, some type C), i.e. they have a built-in DAC and amp. Now instead of having to carry my phone along to listen ...
1
vote
1answer
290 views

Programming Leonardo with TTL to USB cable

I have wired my Arduino as seen in the picture, with the RX of the cable plugged into the TX (D1) of the Leonardo and the TX of the cable plugged into the RX(D0) of the Leonardo. I then have the ...
1
vote
0answers
42 views

Different behavior when Arduino Micro powered by laptop USB vs portable charger USB

I'm working on a project that uses an LM35 temperature sensor to control a few LEDs. Above 97 degrees, one LED should switch on. Below 95 degrees, it should switch off and the other should switch on. ...
0
votes
0answers
425 views

How to read all directories in a USB device through a USB shield?

I want to read and display in Arduino serial monitor all file names in my USB device using a USB shield. /* Listfiles This example shows how print out the files in a directory on a SD card The ...
3
votes
3answers
558 views

Arduino Leonardo as keyboard for an iPad

I'm trying to make a Arduino Leonardo as a Keyboard for an iPad. I was successful with an Arduino UNO. However I'm hoping to use an ATmega 32U4 because of the better HID functionalities and smaller ...
0
votes
1answer
127 views

Connecting Arduino to PC through Slimline SATA instead of USB?

I removed the DVD-RW from my laptop and want to use the new area as an IO port instead. There is an Arduino Nano with me which can fit into the emptied out drive space and there are some easy to ...
-1
votes
1answer
70 views

Arduino Micro disappears on osX 10.11.6

so I have an arduino micro, and it was working fine until the latest security update for OSX 10.11.6 now the port won't show up in the arduino IDE. This doesn't seem to be a problem with the Uno / ...
0
votes
3answers
62 views

is a 5V cellphone power supply stabilised?

can I feed my arduino UNO with a 5V cellphone USB power supply ? Since the arduino board doesn't regulate the 5V from the USB input, is a cellphone power supply sufficiently regulated ?
0
votes
1answer
478 views

Can an Arduino be used to read data from a serial port?

People often use Arduinos to send data over serial to other peripherals (flashing firmware onto modules, etc) by pulling RES to ground, connecting the TX and RX pins to the device being programmed, ...