Stack Exchange Network

Stack Exchange network consists of 175 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
10 views

How to modify current driver files in USB_Host_Shield2.0 on github for Arduino Mega ADK USB driver for Epson LQ-310 printer?

At the moment, I am engaged in a project in which I have to drive Epson LQ-310 printer with Arduino Mega ADK (USB Host). There is already a library USB_Host_Shield_2.0 on Github which includes usb ...
0
votes
0answers
21 views

Arduino based Bluetooth-USB pass through device

I new to this particular StackExchange. I am looking for guidance on whether it would be possible to create a device using an Arduino Uno to replace a USB serial cable currently being used to pass ...
0
votes
0answers
29 views

USB+External Power

I am designing a PCB based on an ATmega328P, the matter is that I need more current than the 500mA that USB 2.0 gives. I have been searching for the Arduino Power schematic to implement it, but I ...
0
votes
1answer
19 views

Arduino Due - Native/Programming Port [closed]

I am finalizing a project. I was using the programming port from the beginning and getting ready to change to the native port. I thought it would be as easy as changing my Serial.xxxx to SerialUSB....
-1
votes
2answers
200 views

How do I change pin assignments for the LUFA AVRISPMkII?

I just managed to get Dean Camera's LUFA AVRISP clone working on my Arduino Pro Micro, when to my dismay I found that to use PDI for my XMega, I need to have PD5 exposed for the clock source! The Pro ...
0
votes
3answers
43 views

Is it possible to upload an arduino sketch through the serial port (RX) instead of USB

In another words, is it possible to develop a custom bootloader so sketches can be uploaded via serial connection made using the RX/TX pins and not via the USB connector (I am using Pro Micro boards)? ...
0
votes
1answer
46 views

Wemos D1 mini not being shown when connected to macbook [closed]

I have multiple Wemos d1 mini lying around, but can't seem to get them connected to my macbook, to they do not show up in my /dev/tty? I tried updating the driver, both using home-brew and installing ...
0
votes
1answer
66 views

Arduino Uno: external power supply +5V and serial communication with pc over USB

I have connected to my Arduino Uno outputs relay module. Relay module has 16 relays (5VDC) which are controlled by transoptors pins (HIGH from Arduino = specific relay is off). Link to relay module ...
1
vote
1answer
23 views

How ro re-enable 32u4 USB controller after sleep mode?

I've run into quite the problem with my 32u4, I can't get it to reconnect to the computer upon wakeup from a sleep mode! So I have an Arduino Pro Micro featuring the 32u4, and I'm also designing a ...
0
votes
0answers
20 views

Connecting STM32F103C through USB as well as external power supply

What will happen if I connect a STM32F103C board to a USB as well as an external power supply? Will it work? Does the STM32 decide which power source to consider?
1
vote
3answers
1k views

Arduino crashed my computer when I plug in the USB cable

I have a 2008 Mac that hardly ever crashes. But from time to time (not always) it crashes (the whole computer shuts down as if the power has been cut off) when I plug in an Arduino via USB. What ...
0
votes
0answers
46 views

Leonardo - send key command after HID connection with computer established automatically?

Have confirmed that the BootKeyboard programming on the Leonardo is able to launch the macOS recovery partition or boot screen. The problem I've got is that this only works if you send it after the ...
1
vote
2answers
33 views

Emit region-neutral keyboard signals

The Keyboard API allows the Arduino boards such as the Micro or Leonardo to emit USB signals mimicking a physical keyboard. However, the signal seems to transmit key strokes and not characters which ...
2
votes
1answer
55 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 ...
16
votes
4answers
58k views

First time set up- permission denied to usb port- ubuntu 14.04

I just plugged my arduino in and the light is on, but the blink test failed to upload. here is my error: Arduino: 1.6.7 (Linux), Board: "Arduino/Genuino Uno" Sketch uses 1,030 bytes (3%) of program ...
0
votes
1answer
49 views

NodeMCU burned, did I something fundamental wrong?

I have a NodeMCU where I connected a LED strip (WS2812b, which operates at 5V). NodeMCU is powered via USB 5V. The used power adapter can supply 2.5A max. I don't have a separate power supply for ...
0
votes
0answers
34 views

Arduino Mini and USB2Serial not uploading sketch

I am trying to upload my sketch to an Arduino Mini Pro. My programmer is the Arduino USB2Serial. I am running the Windows store app on a Windows 10 machine. I wired everything up according to the ...
0
votes
1answer
51 views

Sketch starts and keeps counting on external power supply but not usb

Thank you for the add, total newbie here (electronics and arduino) on his first project. Trying to make a counter for a hay baler with two HAL effect sensors, (pin 5 & 6) and outputting to an I2C ...
2
votes
1answer
655 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
1
vote
2answers
43 views

Leonardo - always on power, status remains between computer reboots?

I'm looking for two answer here. Is it possible to power a Leonardo to be always on, separate from the power from the USB host - I've tried with a full size Leonardo and a power adapter but for some ...
0
votes
0answers
69 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
0
votes
0answers
53 views

USB Host can't understand how to send and get data

I need my Arduino to communicate with a USB device. The Arduino will be the host, so I need USB Host library, but I can't understand how to start coding. On the documentation of the device I see: I'...
4
votes
2answers
14k views

Can the Arduino interface with USB devices without the USB host shield?

I'm looking to connect various USB-devices to an Arduino Uno (specifically, a gamepad and a webcam, but I'm interested in the general case). Is this possible without using the USB host shield, since ...
0
votes
1answer
3k views

Mac won't detect Serial Port for Leonardo

EDIT: The problem was the cable I was using (see answer below). I have a MacBook Pro running OS X Yosemite (10.10.1). I connected my Arduino Leonardo to my computer for the first time today (using a ...
0
votes
0answers
29 views

Have terminal bash script act as virtual “button” for Leonardo?

I've searched quite a lot for this and tried to piece bits of code together but with no luck so far. All i'm looking to do is have a command I can run in terminal/bash script on the Mac trigger some ...
0
votes
1answer
31 views

USB Communication between Arduino Nano and UHF Reader module

I am working on a project that requires a UHF reader development kit that can communicate using either RS232 or by USB. Via USB and a Serial terminal, I have been able to send commands to the reader ...
0
votes
1answer
732 views

Adafruit Gemma unrecognised USB device on Windows 10

I have a V2 Adafruit Gemma from the Gemma starter pack, and I'm running Windows 10 Home (version 10.0.14393), on a 64-bit laptop. Following the Introducing Gemma guide I've installed the Adafruit ...
0
votes
1answer
161 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
1answer
2k views

SerialUSB on Arduino Due

I'm starting fiddling with a Due but I can't seem to be able to communicate over USB with it. Here is my code: int bauds = 9600; void setup() { SerialUSB.begin(bauds); } void loop() { if (...
6
votes
3answers
2k views

How to stop Arduino from drawing power through USB

I'm working on an embedded project, where I use arduinos as a "sensor shield" for RaspberryPi (I have model B). The problem is, that the RaspberryPi's USB port is not powerfull enough to drive WiFi ...
2
votes
1answer
355 views

Get USB host controller serial number or ID using Teensy or other HID devices

I have a Teensy board and would like to know if there's a way to get a serial number (or any other kind of ID that is preferably unique) of the host controller that I plug my Teensy into. E.g. can I ...
0
votes
1answer
54 views

Why does attaching Nokia 5110 LCD make my otherwise fine MKR1000 disconnect USB after 15 secs?

This problem just started after 3 days of working on a project. I am using Arduino IDE in Windows 10. When I go to upload "Blink," everything works fine. I connect the USB (sometimes I have to ...
0
votes
1answer
209 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 ...
0
votes
1answer
906 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 ...
0
votes
0answers
253 views

Emulating a generic Mifare USB peripheral device with RFID-RC522

Hardware Dev Board: Arduino Nano V3.0 Module: RFID-RC522 13.56 MHz Cable: USB A - USB Mini B Configuration Physical Code /* * -------------------------------------------------------------------...
3
votes
2answers
336 views

Interfacing Logitech Joystick to Arduino and interrupt a while loop

I am working on a project of a robot arm. The joints are made of servo motor. The basic function can be describe as: The robot arm (the servos) were moved manually by the Logitech joystick. The user ...
0
votes
1answer
189 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 (...
1
vote
0answers
148 views

Connect old USB webcam to USB Host Shield 2.0 Arduino Uno / Mega

Does anybody know how to interface an old USB webcam with the USB Host Shield 2.0 connected to an Arduino (Uno or Mega 2560 or other models - excluding Yun). I've got the USB Host Shield set up ...
2
votes
1answer
380 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() { ...
1
vote
1answer
119 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 ...
5
votes
3answers
2k views

Protecting your computer from stupid (arduino) mistakes

I recently ran way to much voltage through my Arduino and back into my computer via the USB connection. I'm looking for a USB hub with a fuse or some sort of protection to protect my laptop from these ...
0
votes
1answer
39 views

Does NodeMCU have some protection against wrong connections that could kill a computer USB?

I know some computer USB could handle some bad connection (by blocking the port, which need to reboot the computer). But I wonder if a NodeMCU 8266 offers some protection.
0
votes
1answer
142 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 ...
0
votes
1answer
65 views

Arduino baud rate 8 times too high?

I'm having a strange issue where in order to get the expected serial output on my serial monitor, I have to set the baud rate on my serial monitor to be 8 times higher than the rate that i set in my ...
1
vote
1answer
174 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 ...
0
votes
2answers
110 views

Arduino micro lost connection after first programming

I have just programmed a new micro, loaded the basic blink code in it. After that neither my laptop, nor my desktop sees it anyway with the following usb error: Fri Apr 1 14:32:01 2016] usb 1-2: ...
1
vote
3answers
42 views

Do I need the Ground and 5 V pin connect to Led?

I am building an ambilight. So I bought a 3 pin LED Strip which I power with the USB hub from my TV. Next step is to connect it to the Arduino Nano. Is it OK when I only use the dataport from the ...
0
votes
2answers
176 views

arduino usb host shield and sd card [closed]

when I use the sd card on the mega or the arduino uno it works. Everything is fine. However, when I use it in combination with the USB shield host it doesn't work. I know the usb shield host works ...
1
vote
1answer
138 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
269 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 ...