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

Atmega32u4 usb issue

I made my own custom Atmega32u4 board which worked all the time, but recently when I unplugged it for a moment to connect something to this port (I had no other free) board stopped working. windows ...
0
votes
0answers
14 views

ESP8266-01 w/ Arduino Uno: Failed to connect to Espressif device: Invalid head of packet

I have an Arduino Uno hooked up to an ESP8266-01. I've changed out the wiring multiple times and reassembled them just to make sure that I'm wiring everything the way it should be. I am however unable ...
1
vote
0answers
23 views

Is there a board that can act as both a USB host and client for HID devices?

Trying to build an arduino-based Mouse/Keyboard enhancer. This will let me do things like press certain keyboard or mouse shortcuts on the input side, then do something custom on the output side. ...
0
votes
1answer
43 views

ATTINY85 with RGB LED

I'm trying to DIY about a dozen BlinkSticks (discontinued, Adafruit) pictured here I'm thinking to use a Digispark ATTINY85 to control a single RGB LED to show the status of some program running ...
0
votes
0answers
29 views

CH340G and CP2102 devices not recognized with Thinkpad L380

I have three different devices, none of them gets recognized on my new Thinkpad L380 running Windows 10: Arduino Nano Clone with CH340G chip (USB2Serial) NodeMCU (Lolin V3) with CH 340G chip (...
0
votes
1answer
44 views

Serial communication mac to Digispark ATtiny85

I want to use the Arduino IDE serial monitor with my Digispark ATtiny85 over USB. I can without problems upload this code(Digispark CDC example): #include <DigiCDC.h> void setup() { ...
0
votes
0answers
31 views

Problem processing serial data

What I'm doing: piano --(usb)--> computer --(usb)--> Arduino UNO --> LED strip Basically, I play a piano and an LED strip illuminates the active notes. Problem: It works fine, until I ...
0
votes
0answers
14 views

Receiving volume change from Mac to 32u4 [duplicate]

I'm looking to make an audio interface using an arduino micro, and I can already change the volume using the arduino, but I would like to also receive the current value from the computer to the ...
0
votes
0answers
18 views

USB OTG to arduino using another power source [duplicate]

First off: I know some similar questions have been asked, but I think my question has not been answered yet. I am working on a way to controll my LEDs via my Android phone, which works, by connecting ...
2
votes
1answer
82 views

Install Arduino IDE in Raspberry Pi 3 model B

I am trying to install Arduino IDE in my Raspberry Pi model 3 but it is unable to locate file path. I use the following steps sudo apt-get update && sudo apt-get install arduino and in ...
1
vote
1answer
39 views

7-12V Power supply + USB

Im connecting a servo to my Arduino Uno Rev.3. The general recommendation is to put a 7V -12V power supply for servos as far as I understand. However I’d like to combine it with an USB to a computer ...
0
votes
1answer
34 views

Can a DHT11+ESP8266 be powered by a Adafruit USB LiPo charger directly?

I have rigged up a small DHT11+ESP8266 combo which I'm currently powering from the 3.3v from an Ardruino. I've ordered a 3.7v LiPo battery and have a Adafruit usb micro LiPo charger, however, the ...
2
votes
1answer
148 views

How can I detect which baudrate a virtual COM port is set to?

I would like my software running on Leonardo to behave differently depending on the baudrate of the USB Serial set by the PC. For example, I want to make a smart USB to UART converter which performs ...
1
vote
2answers
25 views

Arduino Uno won't upload code and overheats

We are using an Arduino Uno R3 connected via USB to a computer. The main problem is that we can't upload any code to the board. We get this error in the Arduino IDE console: avrdude: ser_open(): ...
0
votes
0answers
31 views

Arduino Uno doesn´t show up

I was using my original Arduino Uno as USB to TTL Serial adapter (Without the 328P chip). It was working like it for about a month now. Now if I connect it to my PC, it doesn´t show up at all. No ...
-1
votes
1answer
49 views

Arduino controlled by USB gamepad

I want to control my Arduino with USB gamepad. I know that exists library for USB keyboard for Arduino but I don't know any library for usb gamepad. I have PS3 styled gamepad. I dont want to use ...
0
votes
1answer
32 views

How to upload program to custom arduino board without USB FTDI and making it read only? [duplicate]

If I was to mass produce a microcontroller board I have designed based around the atmega328 (very similar to an arduino uno) but for one embedded task where I want one program only to be stored on it. ...
1
vote
1answer
119 views

How to interface USB to custom Arduino Uno Schematic and programming atmega?

I'm fairly new to designing schematics and working with the atmega on its own and I'm designing an arduino schematic on eagle. Ive gotten to the stage where I need to incorporate a TTL USB interface ...
0
votes
0answers
34 views

Can I trigger a program that didn't exist on the PC to run in the background as soon as i connect any USB enabled uC like SAMD21?

People usually trigger programs already there on their PCs when they connect their uC. There are already things like uC that can inject keystrokes. I was thinking of something even more ambitious - I ...
1
vote
1answer
108 views

Wake up a PC from an Uno

I want to wake up a PC via a USB-connected Arduino. When using a Pro Micro (Leonardo) I can do it, as its HID interface can wake up a PC. That is, in the Device Manager, under "Keyboards", the ...
1
vote
1answer
51 views

How arduino boards eliminate the need to press buttons to flash?

I've come across many Arduino shields for various boards like the Uno, ESP8266, and ESP32 which sometimes have a button for flashing and other times they do not because the flashing is automatic. ...
0
votes
1answer
46 views

How to convert USB to PS/2? [closed]

Objective: To get my USB keyboard to interface with an Arduino Uno board. Constraints: I can't afford a USB host shield for now for Arduino. Currently available is a keyboard with PS/2 connector. ...
0
votes
0answers
37 views

Mini USB Host 2.0 and MKR1000

I have a MKR1000 board mounted on top of the MKRMotorCarrier and connected to an IMU Shield that uses GND-3V-SDA-SCL pins, which leaves the MKR1000 available with RX, DAC0/A0, SCK, MOSI, GND, TX, MISO,...
1
vote
2answers
26 views

Reconstruct uint32_t from char array to RTC.set

I am currently experimenting with a Digistump ATTiny85. Since it has no Serial, I use the basic DigiUSB library for communication. The RTC library used is this one: https://github.com/JChristensen/...
0
votes
1answer
51 views

Arduino and AVR Serial Communication over USB

I have a Arduino Uno Rev3 and I would like to use a AVR development toolchain to write a program that performs serial communication over USB. Doing this using the Arduino IDE is fairly simple: void ...
0
votes
2answers
183 views

USB Mouse Passthrough

I am currently doing research for a project of mine. My goal is simple: I want to pass input from a physical mouse, to a microcomputer to process the input and modify, and send the input in the form ...
0
votes
2answers
70 views

Using Teensy 3.5 (Arduino) to produce USB and Hardware MIDI messages simultaneously. Help?

Currently trying to get a teensy 3.5 to spam a series of notes in a loop over USB and hardware serial, which I am pretty sure it can do. I have a MIDI circuit set up as per the specifications here: ...
0
votes
1answer
59 views

USB host shield help [closed]

Hello, I apologise for being such a noob but can someone help with this. I am having trouble working with this. When I insert the arduino's pins into my new usb host shield , there is no indication ...
2
votes
1answer
68 views

Long term connection between Arduino and computer

I am looking to make indicator lights for my computer to indicate things such as system load, IO usage, et cetera, using an Arduino and NeoPixels. I would like to just plug it into my computer, and ...
1
vote
2answers
212 views

wire up usb to pins rather than on board usb socket

I have an uno r3 clone in an enclosure and one of these usb ports on the enclosure. It's pretty tight in there so I was wondering if there was a way to bypass the usb port on the board and plug it in ...
1
vote
1answer
80 views

Arduino Nano /Uno USB is not getting recognized

I have multiple Unos and Nano and recently due to some bad configuration the USBs are not getting recognised on my Mac Air Laptop. These were working models for almost 1-2 years. I used it to control ...
0
votes
3answers
74 views

Why call a USB connection a serial connection?

Does anyone know why Arduino calls a USB connection a serial? When I hear a serial connection I automatically think of a male pin connection and not a USB connection. Also not sure if this a Linux ...
0
votes
1answer
81 views

USB upload to Pro Micro (32u4)

My project is based around the ATMEGA32u4 microcontroller. I followed the Arduino Pro Micro schematic to design my own board layout and build a custom PCB, soldered on the components. Then I used ...
0
votes
1answer
61 views

Using an Arduino as a Human Interface Device that sends analog inputs

I would like to have an arduino board act as a human interface device that can send analog inputs like joysticks. As it currently stands I see two aproaches to this issue: Use the arduino hid ...
1
vote
2answers
169 views

External power vs usb power

I built a sample of my project on a breadboard using little 700mh leds and other components that easily ran off my computers usb. Now I’m building my project to full size. This includes 12 7w leds, ...
0
votes
0answers
126 views

USBasp problem: could not upload sketches to Arduino clone with PL2303 USB-to-UART chip

I'm trying to upload sketch to a Gizduino board (these boards have PL2303 chip for USB-to-Serial communication; other than that they are entirely similar with Arduino Uno). I have installed the ...
1
vote
1answer
141 views

Sending data to Arduino Via Nodejs: Arduino does not echo back the data

I have the following sketch that runs in a arduino UNO: /* * Copyright 2018 Dimitrios Desyllas * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
-2
votes
1answer
51 views

USB reset fails on arduino due because of 5v on digital pins

I have the signal channels of four 5v magnetic encoders connected directly to the digital pins of the arduino due. I am aware that this is not allowed according to the specification which says that ...
4
votes
1answer
50 views

Arduino Uno R1 I soldered resistor but I cannot DFU program atmega8u2

I have an Arduino R1 board (the very first one) and I managed to solder the resistor into Arduino's Atmega8u2 (I went to a specialist in order to do that). Then I reset atmega8u2 and by wiring the ...
2
votes
0answers
31 views

Flashing ATmega8U2 using another Arduino

I have an Anduino Uno R1 and the ATmega8U2 on. It does not respond correctly. How can I use another Arduino Uno R3 in order to reinstall the correct firmware? What I want to avoid it to solder the ...
1
vote
1answer
56 views

How do I detect the Computer's operating system? [closed]

I'm working on an emoji keyboard and it requires different input depending on the OS it's connected to. I've written the relevant methods using Arudion's default Keyboard library and can manually set ...
0
votes
1answer
249 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
64 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
20 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
75 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
126 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
23 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
684 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
69 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
35 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 ...