Questions tagged [usb]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Sending sensor data from Android app to arduino via USB Serial

I've searched this and have only found solutions for receiving data FROM Arduino TO android, I need the opposite. I basically need to figure out how to press a button from my android phone that will ...
0
votes
0answers
24 views

what does a HID usb device says to the pc? [on hold]

I want to make the atmega328p talking directly to the pc with the DFU mode as HID device. In DFU mode, when I write nothing in the serial port, in the device manager it is showing an unknown device ...
1
vote
1answer
127 views

Arduino IDE doesn't pick up serial ports

I am fairly new to Arduinos and I recently bought a nodeMCU Amica esp2866 for this tutorial. I have my board connected to my MacBook Air (10.14.5 with Mojave) and only the "/dev/cu.Bluetooth-Incoming-...
1
vote
1answer
46 views

Arduino USB host + RS232

I'd like to get a word of advice regarding the subject. Basically there's a COM port based device which I need to connect to an Android tablet via USB. The tablet will be exchanging data packages with ...
0
votes
0answers
20 views

Possible to live-control an Arduino microcontroller from any Linux IoT board?

I'm working on a home project that centers around a non-Arduino Ubuntu IoT board but I'd like to add an ATmega32U4 chip for USB HID. I'm thinking about using an Arduino Micro. The signals to the ...
0
votes
1answer
38 views

Communicating with Arduino Mega 2560 Serial ports through x2 RS232

I am trying to driver a stepper motor using an Arduino Mega 2560. There will ideally be two RS232 signals being read into / written from the Arduino, each using male USB 3.0 connectors; one of these ...
0
votes
0answers
39 views

Can't open serial monitor on Ubuntu (Teensy 3.2)

I am running a simple blink/hello world program on Teensy 3.2. The code is compiling and running fine but I can't see the serial output. When I try to open the serial monitor it gives me "Board at ...
0
votes
2answers
41 views

Sharing serial output from one to many arduinos (plus a computer) via USB hub

I am trying to send rotary encoder output from an UNO to seven Trinket M0s and a computer via a (powered) USB hub. Currently the UNO → Laptop bit works great, serial monitoring works via the hub ...
0
votes
0answers
30 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
26 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
83 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
47 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
24 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
84 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
44 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
46 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
32 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
39 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
70 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
45 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
52 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
57 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
41 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
125 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
143 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
31 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
52 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
36 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
150 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
51 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
172 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
109 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
48 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
38 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
44 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
786 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
261 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
59 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
220 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
90 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
50 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
276 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
63 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
258 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
431 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
335 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
593 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
2k 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
81 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 ...