Questions tagged [usb]
Widely used standard for connecting computers to other devices, such as printers and keyboards.
554 questions
0
votes
1
answer
1k
views
STM32 as keyboard
I would like to use a STM32F105xx to build my own computer keyboard.
That MCU has support to USB OTG (FS).
So, I have 2 questions:
Can I flash microcontroller with usb or I need a external
programer?
...
1
vote
1
answer
196
views
PC not recognizing Arduino when working with a class and MIDIUSB library
I've recently bought an Arduo Due to create some sort of a Midi controller together with the MIDIUSB library.
I have create a simple a test program with 1 potentiometer (without the use of a class) ...
1
vote
2
answers
295
views
USB to Arduino to bluetooth
I have a piece of equipment that has a USB output, that a flash drive gets inserted into, to collect data as the equipment completes its cycles. I need to make a device that can replace the Flash ...
0
votes
1
answer
2k
views
Cannot write to HID USB device (Arduino, V-USB, HidSharp)
I am currently prototyping an HID USB device using Arduino Nano and V-USB library. The problem is that although I can read from the device I cannot write to it.
Here is the schema:
As for the ...
-1
votes
1
answer
130
views
Dotstar strip goes nuts when connected to MIDI piano
I've got a Dotstar strip, a piano, and an UNO(w a usb host shield).
I can get and properly translate data from the piano to the UNO, so I'm definitely getting the right information to the board. When ...
1
vote
0
answers
160
views
Using Arduino based OpenCR with USB Host Shield 2.0 to connect to PS4 controller
I am trying to use a PS4 controller with my dynamixel setup using the OpenCR 1.0 board. The USB Host Shield 2.0 library is used to talk to the controller, but the current library does not support Open ...
4
votes
1
answer
9k
views
Using usb port to communicate with standalone atmega328p circuit
noob here
So I managed to get my circuit to be a standalone circuit (as pictured below). I want to use this circuit as an input to a game on my computer. What I want to know is could this micro-usb ...
1
vote
0
answers
116
views
Arduino MKRZero malfunctioned after trying to load a program
I have an Arduino MKRZero that I tried to load the following program into:
#include <FastLED.h>
#define NUM_LEDS 60
#define ledPin 4;
AudioFrequencyMeter meter;
CRGB leds[NUM_LEDS];
void ...
1
vote
0
answers
67
views
Arduino Killing USB-C Mini Dock
I've been having some issues with my Arduino Mega Board. I built a PCB that would sense LM35 reading, low-pass filter it and send it to A0 into the Arduino. This is the input for a PID controller ...
1
vote
0
answers
325
views
Arduino GPIB control
I want to control a scientific instrument with an Arduino through GPIB. I have a USB-GPIB adapter, so I would want to do it through the USB. There are tutorials on the Internet on how to connect ...
1
vote
1
answer
730
views
Mega ADK connecting to PS3 Controller - OSC did not start error
I have a project that I am working on that uses a PS3 controller to connect to an Arduino Mega 2560 ADK (built-in USB). I have been trying to test the controller/arduino connection and I cannot get ...
-1
votes
1
answer
40
views
Two adruino are connected to the raspberry via usb, but one is reconnected during processing code is running
I try to solve this a month..but still problem...
I want to make below led-matrix spectrum.
Thumbnail image
https://youtu.be/X35HbE7k3DA
※Environment
Device UML
One Raspberry pi 3 : 2019-09-26-...
0
votes
1
answer
328
views
Serial.write without a receiver
I'd like to send a monitoring information (temperature) to a serial receiver periodically. The problem is I don't know if there is any monitoring service (serial receiver) and how fast it is reading. ...
0
votes
0
answers
84
views
Send information from computer to Arduino via USB (basic clock)
I've created a small project using an Uno. I usually mess around with ESP8266 chips, because they have WiFi and are relatively easy to work with. However, this time I've decided to go right back to ...
1
vote
0
answers
841
views
Interfacing optical mouse with arduino
I have a USB mouse which I am using to measure distance travelled by my bot for a project. I followed this blog to get the optical sensor from the mouse from the arduino and interface it with the ...
-2
votes
1
answer
39
views
About boot-loader ic used in DEV boards [duplicate]
I have problem with Arduino MEGA, Arduino Deu etc... Those Development board are having separate MCU except main MCU... Why? For what purpose are they used for?
as FTDI or bootloader chip or ...
-1
votes
1
answer
1k
views
Connecting Logitech F310 gamepad to Arduino Uno and Arduino USB Shield
I am trying to connect Logitech F310 gamepad to Arduino Uno with ARDUINO USB HOST SHIELD https://store.arduino.cc/arduino-usb-host-shield using http://github.com/felis/USB_Host_Shield_2.0 library.
...
0
votes
2
answers
1k
views
How to program micro chips directly with USB
Is it possible to program chips like the Arduino uno's Atmega328P directly with USB serial from your computer?
Where can i find information on the protocols/standards to do such a thing?
More ...
1
vote
0
answers
2k
views
Using ESP32-CAM (with ov2640 camera image sensor) to send image via USB
I was trying to obtain image from ESP32-CAM (with ov2640 camera image sensor).
I obtained the image through camera web server by connecting the ESP32-CAM and PC to same wifi network. A USB to TTL ...
0
votes
1
answer
467
views
How To Get Data From Arduino Uno Onto My Laptop Through The USB
I want to write a c++ program that does something with the data from one of the input analog pins as the program runs, but I want to know how to get the value from the arduino uno though the USB port (...
0
votes
2
answers
165
views
Arduino powered from motor shield and USB issue
I am using an Arduino (Elegoo) Mega with Motor shield to drive a digital train set. The Motor shield is powered from a 12v 1.1 amp dc power supply and I have the Arduino plugged into my laptop via USB....
2
votes
1
answer
380
views
Arduino due erase button and power switching
Last days I have been investigatin schematics of arduino due board. The purpose of proper understanding of schematics in crucial for me, beacuse I indend to build myself my own board with some minor ...
1
vote
4
answers
770
views
How to set cables to connect CP2102 to Pro Mini?
How do I connect the cables in order to program the Arduino Pro Mini with the CP2102 usb interface?
The TX, RX and GND is easy, but I am not sure about the RST, DTR, DST, etc.
When I try cables like ...
0
votes
4
answers
336
views
Detect if laptop is on or not?
How would I safely connect an Arduino so that it can detect if a laptop is on or off?
The Arduino would be powered separately by a normal USB charger, since it needs to be turned on even when the ...
1
vote
0
answers
559
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 ...
1
vote
1
answer
1k
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
1
answer
506
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 ...
1
vote
0
answers
51
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 ...
2
votes
1
answer
1k
views
Communicating with Arduino Mega 2560 Serial ports through x2 RS232
I am trying to drive 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 is ...
1
vote
0
answers
356
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
2
answers
360
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 for ...
1
vote
0
answers
326
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
1
answer
62
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
1
answer
2k
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
1
answer
299
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
1
answer
1k
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....
1
vote
1
answer
783
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
1
answer
101
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
1
answer
1k
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
2
answers
240
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 ...
-1
votes
1
answer
572
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/SDA ...
1
vote
0
answers
89
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 ...
1
vote
3
answers
12k
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
1
answer
2k
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
1
answer
920
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 ...
1
vote
1
answer
2k
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 ...
1
vote
0
answers
163
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?
1
vote
2
answers
92
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 ...
1
vote
2
answers
4k
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 ...
1
vote
0
answers
473
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 ...