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.

2
votes
0answers
222 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
884 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
258 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
929 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
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 ...
1
vote
0answers
124 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
763 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
242 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
89 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
45 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
62 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
46 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
187 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
113 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
367 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
82 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
224 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
120 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
258 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
370 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
29 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
220 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
477 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
596 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
312 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
271 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
334 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
193 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
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
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?
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 ...
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
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'...
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
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 /* * -------------------------------------------------------------------...
0
votes
0answers
52 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
225 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
43 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
184 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
1k 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
379 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 ...