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
330 views

9V Vin powered Mega - 3V instead of 5V

I'm experiencing an issue with an Arduino Mega 2560 : I powered the board through the Vin using a +24 --> 9V voltage regulator. When I power the board and measure the 5V output from the board, the ...
2
votes
4answers
2k views

External 5V Power and USB Serial

I have a Chinese Arduino nano clone, but I don't know if it's possible to connect the Arduino to external (5v) power and have a USB serial connection ongoing. I'm trying to make a PC controlled LED ...
1
vote
0answers
177 views

XBee Shield Arduino External Power Issue

The XBee part of the entire thing works flawlessly no matter how things are being run. Equipment: Laptop Arduino Uno Sainsmart XBee Shield USB XBee Explorer 2 x XBee Series1 modules Terminal ...
3
votes
2answers
506 views

How can a USB keyboard emulator (TrinketKeyboard) type Unicode characters?

I've got an Adafruit Trinket microcontroller set up using this USB keyboard tutorial, and it works great. I'd like to set up my project to type a shruggie ( ¯\_(ツ)_/¯ ) when I press a hardware button....
3
votes
1answer
97 views

Identify connected PC per Arduino

Question: Is there a way to collect any data (e.g. MAC addresses, installed devices, driver versions, etc.) from a PC by simply connecting an Arduino via USB to it, so that this PC can be clearly ...
2
votes
1answer
86 views

Arduino project feasibility

Question completely rewritten Trying to assess an Arduino project feasibility. New to Arduino... but did a lot of controller programming (assembly), Roboteq (C) and Phidgets (C++) , using various ...
3
votes
1answer
680 views

Arduino program does not start when plugged in

I am having trouble with my Arduino Mega with getting the program to start when the Arduino is plugged into a computer via USB. All that happens is the LED turns on and stays on. The device does not ...
1
vote
1answer
198 views

Connect to Arduino 2560 using a RS232 Connection

Is it possible to connect to an Arduino 2560 using a RS232 (DB9) connection rather than the regular connection using USB cable? I am thinking of this connection scheme: PC -> USB cable -> USB ...
-1
votes
2answers
92 views

How to connect a thermostat to an arduino via USB

I want to allow the user to plug in a device into the arduino (e.g. thermostat). The problem is that I don't want them to struggle to put 3 pins into a breadboard, as that is not very user-friendly. ...
0
votes
1answer
794 views

Connect USB cable to GPIO pins on an Arduino Uno

Electronics Newbie!! I want to connect a USB cable to my Uno's GPIO pins (and then connect it to a USB port on my computer). I have chopped off a USB cable from a keyboard, I read this and I'm hoping ...
0
votes
1answer
27 views

Answer power IN from two sources

Items: Arduino Uno Laptop 7.4V 2s LiPo Battery Neewer 30A ESC Scenario: The LiPo powers the ESC while the Laptop USB powers the Arduino. If I unplug the USB from Arduino is loses power (obviously) ...
1
vote
3answers
309 views

Listen for USB “TX signal received” response on RX [closed]

Is there a usb signal I can send on TX that will generate a response from the computer on the RX only if the computer is active/not a wall usb power supply? I'm trying to use the Remote library when a ...
0
votes
1answer
269 views

USB connector between Arduino and a lever (switch)

I am not sure an Arduino forum is the right place to ask this question, but since I'm using Arduino here I thought it would be a good starting point. I am trying to connect a lever (you can think of ...
1
vote
1answer
671 views

How do I Read and Write data from a USB stick?

Hello I have an Arduino Uno and I salvaged a USB port from an old computer. The USB port has 4 pins on it and it accepts USB sticks. I was wondering if it is possible to connect it to my Arduino so my ...
0
votes
3answers
337 views

Programming an Arduino Mini 05

So, I recently bought an Arduino Mini (5V, 16MHz), and a USB to Serial Converter. Provided are the links to both the products: Arduino Mini, USB to Serial Converter Now, I tried programming the mini ...
2
votes
2answers
1k views

Bidirectional communication between Arduino and Raspberry Pi over USB possible?

Is it possible to have bidirectional communication betweeen an Arduino Uno Rev 3 and a Raspberry Pi Modell B+ running Rasbian? They're connected ofer USB, and it would be good if I could use Python on ...
1
vote
2answers
79 views

Port Not Being Found [closed]

Hey everyone I know this is a pretty common question, and I have read/tried almost everything on all the other posts here and on the arduino.cc forums, but I have been unable to fix my problem. ...
0
votes
3answers
592 views

Can you output to D+ and D- so that Arduino Uno can be used as a USB device?

My project is basically a set of 5 audio signals (analog) that get altered slightly by Arduino Uno. I convert to MIDI and would then output it to USB, so that it can be used in a program of my choice ...
0
votes
1answer
356 views

How to send Serial.Print only If Serial Connection is open?

So I looked through the Arduino Mega2560 documentation and searched the web for a solution, and so far I haven't had any success. What I'm trying to accomplish is fairly simple. I need to send a ...
0
votes
2answers
4k views

100khz square wave with 50% duty cycle

How to generate 100khz square wave with 50% duty cycle using arduino uno The following code was tried but did not give appropriate output void setup() { // initialize digital pin 13 as an output. ...
2
votes
2answers
163 views

Why is there already text in the serial monitor before the Arduino initializes?

I have encountered this several times before and I would like it if someone was able to give an explanation. In almost any sketch that I've ever created with Serial communication involved, I notice ...
-1
votes
1answer
160 views

arduino usb android controller

i am pretty much newbie with arduino and want to start my first project so i may be asking stupid questions. My goal is to make usb controller for android tv (running on raspberry pi or s905). I want ...
0
votes
1answer
2k views

Why can't my Arduino IDE recognize serial ports? (Mac El Cap, Ard. UNO)

My Arduino UNO I bought directly from Arduino.cc, so I'm pretty certain it's not a cheap clone. I have a MacBook Pro El Capitan 10.11.5. My Java is 1.8, but I'm pretty sure that doesn't matter. I have ...
0
votes
1answer
41 views

Circumventing overflow error by pushing data into computer?

It seems in certain applications, for example signal processing, Arduino and other micro-controllers in general run into the overflow error when they're trying to store even moderate amounts of data. ...
1
vote
0answers
332 views

Arduino Geeetech Voice Module - CoolTerm not responding to commands [closed]

I am trying to use a Geeetech Voice Recognition Module to connect with the computer, along with a CP2102 USB to TTL module; but unfortunately, when I send any string, CoolTerm does not respond to it ...
2
votes
3answers
3k views

Arduino Nano (clone) not recognized

Asking here cause I ran out of options in searching. My Arduino Nano clone isn't recognized by my computer anymore. It was, until I plugged into a Windows machine, that did not recognize it... and now ...
1
vote
0answers
242 views

Arduino nano is not working [closed]

A couple weeks ago I got my Arduino Nano after having experienced the Uno i wanted another one. The problem was that it wasn't ***** working. I searched a lot of the internet, but couldn't find a ...
4
votes
2answers
13k 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
552 views

Different sensor readings on analog input when connected via USB to self-contained/externally powered

I am building up an electricity monitor using the ACS712 hall effect sensor. I have tested and built the circuit having the Arduino (Nano) connected via USB to my laptop, and have tested/debugged etc....
1
vote
1answer
741 views

Enabling keyboard feature on Arduino with CH340G

I've seen here that it is possible to enable keyboard feature on Arduino Uno so it can emulate a keyboard (send keystrokes to computer) like the Leonardo. They do it by updating ATmega16U2 firmware. ...
1
vote
0answers
110 views

Can d2xx connect to an arduino mega 250?

I am trying to replace a device which used a FTDI chip (http://www.ftdichip.com/Drivers/D2XX.htm) to get USB to serial. I need some more code on the chip, so I want to use an arduino mega 2560 instead....
0
votes
2answers
329 views

Arduino Uno (or Teensy 3.2) programmatically powering an external USB connection

I'd like to create a process to programmatically turn-on/activate a separate USB device connected to my computer...Thinking another way to state the problem, I want the Arduino to complete the USB ...
1
vote
0answers
349 views

How to detect whether connected to computer

I built a keypad that can adjust volume, play, pause, skip tracks, and control the arrow and num keys. It has some backlighting under the keys. I'd like to turn this off when the computer is off. ...
1
vote
0answers
42 views

Arduino micro window focus troubles

I'm currently attempting to use an arduino micro as a ducky usb for penetration testing, and currently when I attempt to open a command prompt (or any other window) the window loses focus which ...
1
vote
2answers
13k views

Can I reassign my Arduino Uno COM Port?

The Arduino SW, under Tools, identifies my Uno as COM Port 3. However, COM Port 3 on my computer is in use by a chip set. My computer assigned COM Port 4 to my Arduino Uno. Can I reassign my Uno to ...
1
vote
0answers
78 views

How to get power for a nexus 7 while reading serial data from an arduino over usb?

Does anyone know how to simultaneously power a Nexus 7 tablet while simultaneously reading serial data from an arduino over USB? I have had quite some trouble with this and have attempted multiple ...
0
votes
2answers
3k views

Arduino Nano - Unknown USB device

I just bought an Arduino Nano v3.0 (compatible? +- 5$) and I cannot connect it to my computer (Windows 8.1 64bit, Arduino IDE 1.6.8 installed). The Arduino was bought as a clone but shows GRAVITECH....
1
vote
0answers
211 views

Due as USB Host timing issues

I own a UDOO Quad board which features two CPUs (SAM3X8E like Arduino Due and a ARM Cortex-A9) connected with an internal OTG USB. I am trying literally for months to use the USB Host Shield Library ...
0
votes
2answers
109 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: ...
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 ...
0
votes
1answer
90 views

Micro USB to USB adapter m/m [closed]

I'm looking into working with an Arduino micro, and I'd like to be able to plug it into my computer directly(without a cable). I've been looking around, and the best thing that I found was this. The ...
1
vote
1answer
444 views

Connect a USB slave into Arduino using FTDI

Probably I'm asking a nonsense question but I'm new at interfaces. I want to connect an USB barcode scanner to an Arduino (Uno or Mega). I've read that I need a USB host shield to achieve this. But I ...
1
vote
1answer
2k views

Possible to create IP-to-USB HID (keyboard) device using Arduino?

Is it possible to create an IP-to-USB HID (keyboard) using Arduino? I'd like to connect an Arduino to my network using Ethernet, and then send it commands using TCP/IP and have those commands ...
3
votes
2answers
697 views

I can't get code transferred to my Arduino Mini Pro

About 3 years ago Sparkfun had a sale on Arduino Minis, so I bought 6 of them (3 x 3.3 V @ 16 MHz and 3 x 5 V @16 MHz). I used two of them for separate projects (everything worked flawlessly) then ...
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
2answers
1k views

Reading 2 numbers from serial

I try to send pairs of numbers over the serial port from a linux pc to the arduino. By now I did so always by piecing together the ASCII chars from the serial line and using Serial.read(). Now I need ...
1
vote
1answer
370 views

How to use unregulated VIN voltage?

I have recently bought an Arduino Mega, and I am powering it with a USB charging port, 5V at 1A. I need to use the 1A with a transistor, since the Arduino itself can only supply a maximum of 20mA ...
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?
0
votes
2answers
183 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
1answer
770 views

Arduino Uno not working as usb HID interface

I have an arduino uno rev 3 and it works perfectly fine. I the OS I am using is Kali Linux 2.0 and you can upload everything as normal to the arduino. I am following this tutorial:Arduino Uno as usb ...