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.

2
votes
1answer
669 views

Arduino sending keystrokes via push-buttons. Proper bouncing and manually setting buttons?

I have a simple set of 8 push buttons wired to a Teensy 3.2 board (which uses Arduino via Teensyduino plugin). The 8 buttons are on pins 1-8 and their common ground line (one line soldered to each of ...
35
votes
11answers
120k views

Mac OSX Yosemite no serial ports showing for Uno R3

I have a MacBook Pro running OS X Yosemite (10.10.3). I connected my Arduino UNO R3 to my computer for the first time after the Yosemite upgrade - it worked fine before this! When I opened the ...
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 ...
4
votes
1answer
3k views

Arduino clone CH340G (ATmega328P), MIDI over USB

I just bought my first Arduino compatible device, and I am greatly enjoying it. I finally could not resist the urge after going to an Arduino meetup, where someone showed me their Teensy connected to ...
15
votes
1answer
20k views

Arduino Nano no serial port for MacBook Air 2013

Problem I have an Arduino Nano connected via a USB cable (Type A to Mini Type B) to my MacBook Air (Mid 2013 Model). The PWR LED is on while the arduino is connected. Opening the Arduino software, ...
5
votes
5answers
392 views

Arduino-based mains frequency monitor

I'm looking to put together a simple mains frequency monitor based on the Arduino platform. The mains here are 250 V @ 50 Hz, but obviously these fluctuate slightly, which is the whole point of the ...
4
votes
1answer
1k views

Change select pin of USB Host library

TL;DR With regards to the USB host library: Which is the correct file to modify the Arduino pin used for the USB Host slave select (SS) line? I would like to add USB host functionality, to a ...
4
votes
1answer
23k views

Arduino Nano not visible in Serial Ports (Mac OS)

I have used by Arduino countless times over the past few years and only after installing an update to Mac OS Sierra did the device stop showing up under the Serial Ports. Now only tty-bluetooth shows ...
3
votes
1answer
1k views

Uploading sketch to ESP8266

I'm managing to upload a sketch to the ESP8266 01. I have been researching on internet but I'm not able to get it. I have installed the libraries for Arduino IDE and my circuit is the ESP powered by ...
2
votes
2answers
2k views

Is supplying 5V from both external 5V and USB harmful?

I have an arduino nano which is powered through unregulated 5V (pin 27). For debugging purpose, I'd like to connect the USB port to my computer in order to use the Serial.Print function. The external ...
1
vote
3answers
2k views

How to use an Arduino Uno + Keyboard Firmware to make a “N Key Rollover” Game Pad

Hello I have flashed my Arduino Uno with USB keyboard firmware from this tutorial http://mitchtech.net/arduino-usb-hid-keyboard/#comment-6786, and I have been successful sending individual key presses ...
4
votes
1answer
60 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
1answer
2k views

How to change the usb name of Atmel 32u4?

I want to change my Arduino Leonardo's name that Windows shows me when it's plugged in. I know that i have to change its firmware to change the name but I cant find firmware for it on the Internet. ...
1
vote
1answer
738 views

Unable to upload code to Leonardo

I was using Arduino-Makefile to upload code to a Leonardo via its standard make upload. However, it became "stuck" and unresponsive, as Leonardo's sometimes do. I tried power cycling it, and ...
1
vote
2answers
5k views

Can I change the USB device name of Arduino?

I have several Arduinos connected to my Windows PC, and they appear as follows: COM7 (Arduino Uno) COM11 (Arduino Uno) COM13 (Arduino Uno) So there's no way to tell which is which, and when I ...
1
vote
1answer
1k views

How to operate under linux an USB to I2C adapter based on the FTDI FT232R? [closed]

How can I easily use, from the command line, the USB to I2C adapter based on FTDI FT232R?
1
vote
2answers
5k views

May I use both USB-serial and tx/rx pins at the same time?

I am building a CNC machine based on GRBL code on a uno. I also have found a script to read data on a N64 controller. I know there is not enough pins available to do both codes running on the same ...
1
vote
2answers
449 views

How can I use my Arduino sketches on my Raspberry Pi IDE?

I have installed the Arduino IDE 2:1.0.5 on my Raspberry Pi3 under Raspbian and am using a cobbler breakout which provides a nice breadboard. On that breadboard I have installed an Arduino Nano to do ...
1
vote
2answers
30 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
2answers
2k views

Arduino Uno R3 (with Atmega 16u2) and MAC OSX 10.11 (El capitan) not working

I have Chinese copy of arduino which uses ATmega16u2 (at least that's what is written on the chip itself). When connected, it is visible in system information under USB section: Communication ...
0
votes
1answer
1k views

Recovering from lost USB connection (Leonardo to Raspberry Pi)

I have several Arduino Leonardos connected to a Raspberry Pi (running Ubuntu) via USB. They appear as /dev/ttyACM0, /dev/ttyACM1, etc. Occasionally, one will disappear and even pressing the Arduino'...