Questions tagged [usb]

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

USB (Universal Serial Bus) can be used for connecting a wide range of devices to a host computer. On Arduino boards, a USB connection is commonly used for providing a power supply, loading programs (sketches) into Flash memory, and for sending/receiving other data via serial.

In some cases, such as the Arduino Micro, the microcontroller can be programmed to mimic a USB input device such as a mouse or keyboard.

550 questions
47
votes
11 answers

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 Arduino IDE I selected Tools > Board > "Arduino UNO",…
revive
  • 571
  • 1
  • 4
  • 3
27
votes
5 answers

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 storage space. Maximum is 32,256 bytes. Global…
user18719
16
votes
1 answer

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, pulling down the Tools > Serial Port menu does not…
Mecha
  • 391
  • 1
  • 3
  • 10
14
votes
2 answers

Difference between /dev/ttyACM0 and /dev/ttyS0 (Arduino IDE ports under Linux)

I use the Arduino IDE to upload sketches to my Arduino Uno. My OS is Linux Ubuntu 14.04 LTS. The Arduino IDE has two ports by default for communication with the Arduino Uno: /dev/ttyACM0 /dev/ttyS0 What is the difference between these two ports ?…
martin_0004
  • 271
  • 1
  • 4
  • 8
12
votes
1 answer

Is it OK to Serial.print(message), when the USB cable is not connected to a host PC?

Often I put a bunch of Serial.print( F("debugging messages") ) in my Arduino sketch. Normally those messages go up a USB cable to a host PC so those messages can be seen on the serial monitor. I want to install this Arduino as part of a stand-alone…
David Cary
  • 1,122
  • 8
  • 23
12
votes
1 answer

Update Dynamically Tkinter Widget Scale from Arduino Ports using python and firmata

I'm having trouble trying to get Arduino digital ports values and set these values into a Python Tkinter Widget Scale. I'm using Python and Arduino with Firmata. I'm able to access my arduino board with python code. For example in a label widget…
11
votes
2 answers

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 the Uno has a USB port and USB-to-serial…
Zenthirum
  • 113
  • 1
  • 1
  • 5
9
votes
6 answers

If the USB gives 5v, how can the Arduino supply 5v to the 5v pin? (And another question)

I must not of understood something. Online, I've heard that the Arduino uses 9v typically (average), and that USB's in general supply 5v@500mA. If this is true: How can the Arduino even POWER ITSELF with the 5v USB? I've heard the minimum is…
Blake
  • 213
  • 1
  • 3
  • 7
8
votes
3 answers

What's the smallest (cheap) USB Host solution for Arduino?

I'm building a project that will connect to users' phones (Android at first, but iPhone too, if there's enough interest) via USB. Of course, this means that I need a USB host in the project. The total size of the device has to be about the size of…
8
votes
3 answers

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 adapter and arduino with sensors. The solution is…
jnovacho
  • 235
  • 1
  • 3
  • 7
8
votes
4 answers

ATtiny85. How do I burn a bootloader? What is the process?

I want to use all six I/O pins of an ATtiny85, that means also using the reset pin as an I/O pin, however, I found out that if I disable the RESET pin, I can no longer program the ATtiny using an ISP programmer. However, I found out that there are…
Calin
  • 243
  • 1
  • 3
  • 9
8
votes
3 answers

USB and Arduino: Power Arduino, charge LiPo, and transfer data at the same time

I was hoping to design my own Arduino board for a recent project of mine, a portable project that was powered by a 3.7 LiPo battery. Most ideally, I wanted to replace the USB B port with a single USB Micro port that implements the following…
8
votes
4 answers

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 types of mistakes. Any suggestions as to…
StevieD
  • 181
  • 1
  • 2
7
votes
1 answer

Arduino as a real device to computer

Suppose we have a computer mouse , now when we connect it to a computer then computer understands it is a mouse which is been connected to it. Same thing happens for keyboard and many other devices. As per my understanding, the mouse has a…
7
votes
1 answer

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 up no others. I have looked a countless threads…
jctwood
  • 81
  • 1
  • 1
  • 3
1
2 3
36 37