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

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
2
votes
0answers
794 views

Read string from DigiUSB

I wrote simple code for my Digispark (Attiny85 with Micronucleus bootloader) in Arduino IDE: #include <DigiUSB.h> String inst; void setup() { DigiUSB.begin(); pinMode(1, OUTPUT); } void ...
2
votes
0answers
249 views

Arduino IDE programs Leonardo but cannot open serial terminal

I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo". When I try to program my code, it works without problems. When I want to open the built-in Serial Monitor or Serial Plotter, ...
2
votes
0answers
879 views

Using USB on a Leonardo to receive data from PC

I am new to the Leonardo, having only used a duemilanove before, and I am interested in using it's USB capabilities for a project. Basically I need it to be an input and output device, communicating ...
2
votes
0answers
2k views

How to use the native USB of the Arduino Due for high-speed communication?

All the Arduino examples involving communication via USB I could find use a virtual COM Port. On the Arduino part it's Serial.begin(baudrate); Serial.write(byte); And on the PC part it's just ...
1
vote
0answers
52 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 ...
1
vote
0answers
102 views

How fast an Arduino mouse would be?

I'm thinking about making a custom Arduino-based mouse and I expect not to be the first one to have the idea. Does anybody know what speed I can expect to achieve? Suppose I use a mechanical mouse as ...
1
vote
0answers
605 views

No ttyACM0 nor ttyUSB0

I checked several related posts but couldn't solve my problem. I have Antergos Linux : # uname -a Linux biutitude 4.14.11-1-ARCH #1 SMP PREEMPT Wed Jan 3 07:02:42 UTC 2018 x86_64 GNU/Linux The ...
1
vote
0answers
173 views

Cannot upload to otherwise working bootloaded ATmega328P via RS232: “programmer is not responding”

I have an ATmega328P on a breadboard with the following circuitry around it: The ISP is a Tiny AVR Programmer. The RS232 to USB converter is this thing. Following is the test program I use: void ...
1
vote
0answers
79 views

Digital Music Player (SD to USB)

I own a couple of digital in-ear headphones that connect to my phone using USB (some micro, some type C), i.e. they have a built-in DAC and amp. Now instead of having to carry my phone along to listen ...
1
vote
0answers
42 views

Different behavior when Arduino Micro powered by laptop USB vs portable charger USB

I'm working on a project that uses an LM35 temperature sensor to control a few LEDs. Above 97 degrees, one LED should switch on. Below 95 degrees, it should switch off and the other should switch on. ...
1
vote
0answers
56 views

Can I upload with avrdude 2 hexes with 2 usbasp connected to computer, one hex with one usbasp ? If yes, how?

If I have connected 2 usbasps in the same time to ubuntu, can I upload 2 hexes one after the other(using avrdude) on each usbasp without disconnecting a usbasp ? If yes, how do I select each port for ...
1
vote
0answers
44 views

I want to modify setup, to also keep the serial USB port opens so I can send strings via a Raspberry Pi

I am trying to modify the original code from these guys GRA & AFCH, who have made an Arduino Sketch Program that runs a Arduino powered Nixie Clock. Here is the link to their Firmware file:...
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 ...
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....
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
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 ...
1
vote
0answers
208 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 ...
1
vote
0answers
114 views

Change device Function Summary for Teensy-LC

I found this thread here which describes procedure to change the produce-name of Teensy However when we open device properties we see 'Teensy USB Serial (COM xx) in the Device function summary. ...
1
vote
0answers
247 views

Why can't I upload GRBL but I can upload other sketches

I had GRBL running on an Arduino UNO (China Copy). When I tried to update to the newest GRBL Version I was not able to upload the sketch: avrdude: stk500_recv(): programmer is not responding) I ...
1
vote
0answers
350 views

Data exchange through USB Host Shield

I have a Razor IMU, which communicates through a USB to Serial Converter with a USB Host Shield mounted on an Arduino Mega 2560. Even though serial communication can be achieved directly through the ...
1
vote
0answers
28 views

Split arduino run mode depending on active USB connection

Ok, so i have a unit that i want to add information to the EEPROM, using the USB port, such as SSID for wifi shields. Then i want to disconnect the USB cable, plugin a battery and then it should run ...
1
vote
0answers
49 views

How to reset Arduino Uno over BLE?

I'm working on wireless uploader for Arduino over BLE. I've managed to make it working for Arduino Mega 2560 using GPIO and HM-10 AT commands to control GPIO pins. I'm using pretty the same schematics ...
1
vote
0answers
208 views

CH340: right endpoint?

I'm working on implementing CH340 drivers used by cheap Arduino clones on Android (Linux). What endpoints should be used as read endpoint since two endpoints have IN flag - 0x81 and 0x82? http://...
1
vote
0answers
462 views

Can I use an Arduino Due as a flash drive?

More specifically, can I use an Arduino Due to have an interface that can plug in/out of a USB port on a computer, connect it to an SD card or similar via a sd card logging shield, and have it present ...
1
vote
0answers
3k views

Arduino Serial Monitor shows strange ASCII characters

I connected an ArduiMU v3+ via a FTDI-cable to my Mac (OS X 10.10) (latest VC FTDI driver is installed and loaded). Inside the Arduino-software the Serial Monitor (monitoring /dev/cu.usbserial-...
1
vote
0answers
574 views

Feedback Request: HID USB to Bluetooth Relay

Bluetooth Relay Project: Develop a USB to bluetooth adapter for my mechanical keyboard. Using a USB host shield, have an Arduino Pro Mini read keyboard usb commands and repeat them over bluetooth. ...
1
vote
0answers
295 views

Trying to play audio files on arduino via Usb Host Shield

I want to build a program that will seek audio file inside a USB DOK (DisK On Key/Pen Drive) when it is inserted to the Circuits@Home USB Host shield. After a specified file will be found i want it to ...
1
vote
0answers
259 views

How to do Serial monitor with Arduino Yun?

I'm trying to read some values from a TCS3200 colorsensor using Arduino Yun. I have some code, which you can see below, that I used when I tested on the Uno. With the Uno everything worked fine and I ...
1
vote
0answers
322 views

Which components to built remapping keyboard via USB in + out (remapped)

I know that it's fairly easy to change the emulate keyboard and mouse by Arduino. But I'm quite specific about the goal I would like to achieve hence I would appreciate if you could advise me which ...
1
vote
0answers
44 views

One FTDI on Three Atmega

I'm doing a schematic for an arduino project-based and I can not proceed. I'm facing a problem which I have no idea how can I solve it so that's the reason I'm writing back to you. The thing is: I ...
1
vote
0answers
1k views

Reading Arduino output from serial line

I'm attempting to read data from the serial line coming from the Arduino and return it as a string. I have found/modified the following code to do so: #include <sys/types.h> #...
1
vote
0answers
190 views

Daisy Chaining USB Communication over Arduino Due

I have two Arduino Due boards. I would like to connect one to my computer through the programming port as USB Serial so that I can send it commands, but I would like it to also be able to communicate ...
0
votes
0answers
33 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
37 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'...
0
votes
0answers
25 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
0answers
38 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 /* * -------------------------------------------------------------------...
0
votes
0answers
35 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 ...
0
votes
0answers
46 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,...
0
votes
0answers
175 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
28 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 ...
0
votes
0answers
417 views

Arduino Mega not detecting in device manager for laptop

The Arduino mega 2560 works fine on my PC and friends laptop (when I say fine I mean it is being detected). However if connected to my laptop am working on it does not get detected in the device ...
0
votes
0answers
55 views

ISSUE with USING WINUSB Driver & Arduino AS USB &LUFA/ CATERINA boatloader

Project Goal: Create a custom USBDevice. Name of device : "CapiaZ" Board used: Arduino MICRO summary: I was able to modify the Caterina boatloader for my CapiaZ board, to have a specific VID & ...
0
votes
0answers
35 views

What am I doing wrong? (LED PROBS)

I have chopped up and spliced together some USB cables to combine with several strips of LEDs to create (what should be) a daisy-chainable setup that I can use to make a light fixture. Below is a ...
0
votes
0answers
37 views

Pro Micro HID freezes during computer boot or resume from standby

I am using a Pro Micro as a HID touchpad, connected to a laptop running Ubuntu 17.04. Everything works, except that the board freezes or hangs while the computer boots or resumes from standby, ...
0
votes
0answers
152 views

Arduino Pro Mini ATmega 328P: garbage output on serial console

Arduino Pro Mini ATmega 328P 3.3V 8MHz, connected to USB port via USB to Serial breakout board built around the FT232RL FTDI chip. JTAGenum project code uploaded to the Arduino. I opened terminal and ...
0
votes
0answers
419 views

How to read all directories in a USB device through a USB shield?

I want to read and display in Arduino serial monitor all file names in my USB device using a USB shield. /* Listfiles This example shows how print out the files in a directory on a SD card The ...
0
votes
0answers
991 views

Using C# to send data to an Arduino through a USB-serial converter

The two FT232RL USB-serial converters I ordered from China arrived today, and I tried to find a way to test them. I wrote the following Arduino code: const uint8_t ledPin = 3; bool ledIsOn = false; ...
0
votes
0answers
353 views

Arduino not recognized by PC, overheats and L led is always on

I have a problem with my Arduino Uno rev3, which suddenly started to overheat near the small, black, square element next to the circular cable power input port, isn't recognized by Windows 10 (I have ...