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.

0
votes
0answers
22 views

OSCOKIRQ failed to assert with USB HOST and SD card

I am having an issue using a MAX 3421 EE based Arduino USB Host shield and an SD card shield. From my understanding, they should both function as long as they are using different CS/SS pins and only ...
0
votes
1answer
25 views

Reducing static on button reading

I have a very simple code for a controller I'm working on for a robot. void setup() { // put your setup code here, to run once: pinMode(3,INPUT); Serial.begin(9600); } void loop() { // put ...
0
votes
1answer
22 views

Cannot connect through /dev/ttyACM0 (Ubuntu 18.04)

I am using an Arduino UNO which worked fine until today. My system: Ubuntu 18.04 Now, the IDE can no longer connect to it: Cannot do any sketch upload Cannot ask for board info No USB ports shown in ...
0
votes
0answers
38 views

Compare barcode scanner string with existed string

I have a project which is reading barcode scanner result then compare with an existed string. I have used the library USB host shield in order to read data from barcode scanner then I would like to ...
0
votes
1answer
19 views

Is there a simple (permissive license) Leonardo driver for a USB-to-USART bridge to substitute an FTDI chip?

I'm making an ESP32 development board and I'm thinking about putting an Arduino Leonardo chip between the USB port and the ESP32's USART pins to act as a USB/USART converter instead of the FTDI chip ...
0
votes
1answer
33 views

No ttyACM0 with Pro Micro on Ubuntu 18.04

I am trying to determine the dev path of a USB keyboard running an Arduino Pro Micro on my Ubuntu 18.04 system. The files /dev/ttyACM0 and /dev/ttyUSB0 do not exist. When I run dmesg I get: [ 410....
0
votes
0answers
27 views

Controlling keyboard LEDs with USB Host Shield

I've got a USB keyboard connected to my Arduino Uno with a USB Host Shield. I'm reading keystrokes using this example from the USB Host Shield library. I need to toggle the LEDs in the keyboard (that ...
0
votes
1answer
43 views

Programming the serial description

Is it possible to program a custom description so that my python program can know exactly what USB port to connect to for that specific programming? It should be able to find any board with that ...
0
votes
1answer
29 views

Can I daisychain multiple Arduino Nanos to a single USB port (specialized purpose)

I need to have several Nanos on one USB port. They will have separate power, so power constraints won't be a concern. I need them all to go through the same serial port. They will never get anything ...
2
votes
2answers
38 views

Ensure board is always on the same port?

I want to make a VB.NET program to communicate over serial with the board, but I need to be sure it knows which port. Instead of programming in more advanced methods of verification, for this project ...
0
votes
0answers
48 views

Sending Data to an endpoint with Arduino USB Host Shield

I'm currently working with a Logitect G502 mouse and would like change the LED colors through Arduino USB host shield. Mouse has 2 different interfaces. Interface-0 is a HID-mouse and Interface-1 is ...
-1
votes
1answer
42 views

Is it possible to send data from device (e.g. MPU6050) to Arduino through cut/hacked USB cable?

So I understand the USB cable consists of VCC, GND and Data+, Data-. Is it possible to connect an MPU-6050 gyro to these 4 pins, especially data+/-, and still receive them normally through the SCL/...
0
votes
0answers
20 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
3answers
50 views

Is it possible to upload an arduino sketch through the serial port (RX) instead of USB

In another words, is it possible to develop a custom bootloader so sketches can be uploaded via serial connection made using the RX/TX pins and not via the USB connector (I am using Pro Micro boards)? ...
1
vote
1answer
32 views

How ro re-enable 32u4 USB controller after sleep mode?

I've run into quite the problem with my 32u4, I can't get it to reconnect to the computer upon wakeup from a sleep mode! So I have an Arduino Pro Micro featuring the 32u4, and I'm also designing a ...
0
votes
1answer
95 views

Arduino Uno: external power supply +5V and serial communication with pc over USB

I have connected to my Arduino Uno outputs relay module. Relay module has 16 relays (5VDC) which are controlled by transoptors pins (HIGH from Arduino = specific relay is off). Link to relay module ...
0
votes
1answer
75 views

Wemos D1 mini not being shown when connected to macbook [closed]

I have multiple Wemos d1 mini lying around, but can't seem to get them connected to my macbook, to they do not show up in my /dev/tty? I tried updating the driver, both using home-brew and installing ...
0
votes
0answers
28 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 ...
1
vote
2answers
35 views

Emit region-neutral keyboard signals

The Keyboard API allows the Arduino boards such as the Micro or Leonardo to emit USB signals mimicking a physical keyboard. However, the signal seems to transmit key strokes and not characters which ...
0
votes
2answers
111 views

NodeMCU burned, did I something fundamental wrong?

I have a NodeMCU where I connected a LED strip (WS2812b, which operates at 5V). NodeMCU is powered via USB 5V. The used power adapter can supply 2.5A max. I don't have a separate power supply for ...
0
votes
0answers
44 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
117 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
72 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'...
1
vote
2answers
45 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
0answers
35 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
1answer
41 views

USB Communication between Arduino Nano and UHF Reader module

I am working on a project that requires a UHF reader development kit that can communicate using either RS232 or by USB. Via USB and a Serial terminal, I have been able to send commands to the reader ...
0
votes
1answer
52 views

Sketch starts and keeps counting on external power supply but not usb

Thank you for the add, total newbie here (electronics and arduino) on his first project. Trying to make a counter for a hay baler with two HAL effect sensors, (pin 5 & 6) and outputting to an I2C ...
0
votes
1answer
543 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 /* * -------------------------------------------------------------------...
1
vote
0answers
216 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 ...
0
votes
1answer
52 views

Does NodeMCU have some protection against wrong connections that could kill a computer USB?

I know some computer USB could handle some bad connection (by blocking the port, which need to reboot the computer). But I wonder if a NodeMCU 8266 offers some protection.
0
votes
1answer
192 views

Teensy 2.0 usb xinput device

So I came across a library that lets you turn your TeensyLC/3.X into an xinput device. I only have a 2.0 on hand. I spend the past few hours messing around with the LC example to see if I could hack ...
0
votes
1answer
87 views

Arduino baud rate 8 times too high?

I'm having a strange issue where in order to get the expected serial output on my serial monitor, I have to set the baud rate on my serial monitor to be 8 times higher than the rate that i set in my ...
1
vote
3answers
49 views

Do I need the Ground and 5 V pin connect to Led?

I am building an ambilight. So I bought a 3 pin LED Strip which I power with the USB hub from my TV. Next step is to connect it to the Arduino Nano. Is it OK when I only use the dataport from the ...
0
votes
2answers
237 views

arduino usb host shield and sd card [closed]

when I use the sd card on the mega or the arduino uno it works. Everything is fine. However, when I use it in combination with the USB shield host it doesn't work. I know the usb shield host works ...
0
votes
1answer
61 views

Why does attaching Nokia 5110 LCD make my otherwise fine MKR1000 disconnect USB after 15 secs?

This problem just started after 3 days of working on a project. I am using Arduino IDE in Windows 10. When I go to upload "Blink," everything works fine. I connect the USB (sometimes I have to ...
1
vote
1answer
203 views

Is there a board that can act as both a USB host and client for HID devices?

Trying to build an arduino-based Mouse/Keyboard enhancer. This will let me do things like press certain keyboard or mouse shortcuts on the input side, then do something custom on the output side. ...
0
votes
1answer
359 views

ATTINY85 with RGB LED

I'm trying to DIY about a dozen BlinkSticks (discontinued, Adafruit) pictured here I'm thinking to use a Digispark ATTINY85 to control a single RGB LED to show the status of some program running ...
0
votes
1answer
265 views

CH340G and CP2102 devices not recognized with Thinkpad L380

I have three different devices, none of them gets recognized on my new Thinkpad L380 running Windows 10: Arduino Nano Clone with CH340G chip (USB2Serial) NodeMCU (Lolin V3) with CH 340G chip (...
2
votes
1answer
504 views

Serial communication mac to Digispark ATtiny85

I want to use the Arduino IDE serial monitor with my Digispark ATtiny85 over USB. I can without problems upload this code(Digispark CDC example): #include <DigiCDC.h> void setup() { ...
2
votes
1answer
1k views

Install Arduino IDE in Raspberry Pi 3 model B

I am trying to install Arduino IDE in my Raspberry Pi model 3 but it is unable to locate file path. I use the following steps sudo apt-get update && sudo apt-get install arduino and in ...
1
vote
1answer
76 views

7-12V Power supply + USB

Im connecting a servo to my Arduino Uno Rev.3. The general recommendation is to put a 7V -12V power supply for servos as far as I understand. However I’d like to combine it with an USB to a computer ...
0
votes
1answer
58 views

Can a DHT11+ESP8266 be powered by a Adafruit USB LiPo charger directly?

I have rigged up a small DHT11+ESP8266 combo which I'm currently powering from the 3.3v from an Ardruino. I've ordered a 3.7v LiPo battery and have a Adafruit usb micro LiPo charger, however, the ...
3
votes
1answer
169 views

How can I detect which baudrate a virtual COM port is set to?

I would like my software running on Leonardo to behave differently depending on the baudrate of the USB Serial set by the PC. For example, I want to make a smart USB to UART converter which performs ...
1
vote
2answers
196 views

Arduino Uno won't upload code and overheats

We are using an Arduino Uno R3 connected via USB to a computer. The main problem is that we can't upload any code to the board. We get this error in the Arduino IDE console: avrdude: ser_open(): ...
-1
votes
1answer
261 views

Arduino controlled by USB gamepad

I want to control my Arduino with USB gamepad. I know that exists library for USB keyboard for Arduino but I don't know any library for usb gamepad. I have PS3 styled gamepad. I dont want to use ...
0
votes
1answer
80 views

How to upload program to custom arduino board without USB FTDI and making it read only? [duplicate]

If I was to mass produce a microcontroller board I have designed based around the atmega328 (very similar to an arduino uno) but for one embedded task where I want one program only to be stored on it. ...
1
vote
1answer
454 views

How to interface USB to custom Arduino Uno Schematic and programming atmega?

I'm fairly new to designing schematics and working with the atmega on its own and I'm designing an arduino schematic on eagle. Ive gotten to the stage where I need to incorporate a TTL USB interface ...
1
vote
1answer
227 views

Wake up a PC from an Uno

I want to wake up a PC via a USB-connected Arduino. When using a Pro Micro (Leonardo) I can do it, as its HID interface can wake up a PC. That is, in the Device Manager, under "Keyboards", the ...
1
vote
1answer
103 views

How arduino boards eliminate the need to press buttons to flash?

I've come across many Arduino shields for various boards like the Uno, ESP8266, and ESP32 which sometimes have a button for flashing and other times they do not because the flashing is automatic. ...