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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

-1
votes
1answer
32 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
24 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
36 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 ...
0
votes
0answers
33 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 ...
1
vote
1answer
88 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
36 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. ...
0
votes
1answer
37 views

How to convert USB to PS/2? [closed]

Objective: To get my USB keyboard to interface with an Arduino Uno board. Constraints: I can't afford a USB host shield for now for Arduino. Currently available is a keyboard with PS/2 connector. ...
0
votes
0answers
32 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,...
1
vote
2answers
16 views

Reconstruct uint32_t from char array to RTC.set

I am currently experimenting with a Digistump ATTiny85. Since it has no Serial, I use the basic DigiUSB library for communication. The RTC library used is this one: https://github.com/JChristensen/...
0
votes
1answer
43 views

Arduino and AVR Serial Communication over USB

I have a Arduino Uno Rev3 and I would like to use a AVR development toolchain to write a program that performs serial communication over USB. Doing this using the Arduino IDE is fairly simple: void ...
1
vote
1answer
42 views

Why doesn't Arduino work as USB to UART converter? [closed]

Sorry, if the question is not well constructed. So, I will try to explain here. I have an XBee radiomodule that I want to be seen by XCTU through Arduino (without XBee explorer). I have done several ...
0
votes
2answers
115 views

USB Mouse Passthrough

I am currently doing research for a project of mine. My goal is simple: I want to pass input from a physical mouse, to a microcomputer to process the input and modify, and send the input in the form ...
0
votes
2answers
51 views

Using Teensy 3.5 (Arduino) to produce USB and Hardware MIDI messages simultaneously. Help?

Currently trying to get a teensy 3.5 to spam a series of notes in a loop over USB and hardware serial, which I am pretty sure it can do. I have a MIDI circuit set up as per the specifications here: ...
0
votes
1answer
47 views

USB host shield help [closed]

Hello, I apologise for being such a noob but can someone help with this. I am having trouble working with this. When I insert the arduino's pins into my new usb host shield , there is no indication ...
2
votes
1answer
62 views

Long term connection between Arduino and computer

I am looking to make indicator lights for my computer to indicate things such as system load, IO usage, et cetera, using an Arduino and NeoPixels. I would like to just plug it into my computer, and ...
1
vote
2answers
173 views

wire up usb to pins rather than on board usb socket

I have an uno r3 clone in an enclosure and one of these usb ports on the enclosure. It's pretty tight in there so I was wondering if there was a way to bypass the usb port on the board and plug it in ...
1
vote
1answer
61 views

Arduino Nano /Uno USB is not getting recognized

I have multiple Unos and Nano and recently due to some bad configuration the USBs are not getting recognised on my Mac Air Laptop. These were working models for almost 1-2 years. I used it to control ...
0
votes
3answers
72 views

Why call a USB connection a serial connection?

Does anyone know why Arduino calls a USB connection a serial? When I hear a serial connection I automatically think of a male pin connection and not a USB connection. Also not sure if this a Linux ...
0
votes
1answer
50 views

USB upload to Pro Micro (32u4)

My project is based around the ATMEGA32u4 microcontroller. I followed the Arduino Pro Micro schematic to design my own board layout and build a custom PCB, soldered on the components. Then I used ...
0
votes
1answer
38 views

Using an Arduino as a Human Interface Device that sends analog inputs

I would like to have an arduino board act as a human interface device that can send analog inputs like joysticks. As it currently stands I see two aproaches to this issue: Use the arduino hid ...
1
vote
2answers
166 views

External power vs usb power

I built a sample of my project on a breadboard using little 700mh leds and other components that easily ran off my computers usb. Now I’m building my project to full size. This includes 12 7w leds, ...
0
votes
0answers
66 views

USBasp problem: could not upload sketches to Arduino clone with PL2303 USB-to-UART chip

I'm trying to upload sketch to a Gizduino board (these boards have PL2303 chip for USB-to-Serial communication; other than that they are entirely similar with Arduino Uno). I have installed the ...
1
vote
1answer
67 views

Sending data to Arduino Via Nodejs: Arduino does not echo back the data

I have the following sketch that runs in a arduino UNO: /* * Copyright 2018 Dimitrios Desyllas * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
-2
votes
1answer
46 views

USB reset fails on arduino due because of 5v on digital pins

I have the signal channels of four 5v magnetic encoders connected directly to the digital pins of the arduino due. I am aware that this is not allowed according to the specification which says that ...
4
votes
1answer
47 views

Arduino Uno R1 I soldered resistor but I cannot DFU program atmega8u2

I have an Arduino R1 board (the very first one) and I managed to solder the resistor into Arduino's Atmega8u2 (I went to a specialist in order to do that). Then I reset atmega8u2 and by wiring the ...
2
votes
0answers
22 views

Flashing ATmega8U2 using another Arduino

I have an Anduino Uno R1 and the ATmega8U2 on. It does not respond correctly. How can I use another Arduino Uno R3 in order to reinstall the correct firmware? What I want to avoid it to solder the ...
1
vote
1answer
54 views

How do I detect the Computer's operating system? [closed]

I'm working on an emoji keyboard and it requires different input depending on the OS it's connected to. I've written the relevant methods using Arudion's default Keyboard library and can manually set ...
0
votes
1answer
178 views

USB Device not recognized (error 43, arduino uno)

I know that there's already post about this, but mine is different. Instead of not recognized, it gets recognized, and I can upload codes, but after a while, windows starts to not recognize it. And ...
1
vote
1answer
55 views

Use ATtiny85 to perform initial config on a Cisco router using its USB console port

We have 200+ brand new Cisco routers that have USB console ports (but not the old RJ45 serial console ports). This is quite frustrating because the routers didn't ship with console cables and Cisco ...
0
votes
1answer
19 views

Can external power supply above current limit lead to errors/shutdown arduino?

I have an Arduino Due that is connected both over native USB to PC and a 12v power supply in the Jack. Mounted on the Arduino I have a custom PCB that drives 3 motor drivers. The Motor drivers are ...
0
votes
1answer
54 views

Using TXD1/RXD1 on ATmega1280 for USB communication

I have a few MakerBot Mightyboards running off ATmega1280 chips that can no longer use their standard USB port to connect to a computer (to make a long story short, there's a little inductor that blew ...
0
votes
0answers
74 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
23 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 ...
1
vote
1answer
494 views

Unknown USB Device (Device Descriptor Request Failed) - Win 10

I am posting a possible solution here for any online searches happening upon this exact issue. So I have a third party board (Mega 2560) and I was plagued with my board intermittently working, on ...
0
votes
1answer
53 views

Arduino: using digital pins to emulate USB device

Is there any "easy" way to emulate USB keyboard or gamepad using digital pins on Arduino Mega? I looked at Uno-Joy/Mega-Joy, but I dont find firmware changes appealing.
-1
votes
2answers
34 views

How to create a device with buttons that records when they are pressed [closed]

I want to build a very simple device, which has a bunch of buttons for switching "settings" and LED lights to show which "setting" it is on. I also want it to record the times of the transitions ...
0
votes
2answers
43 views

Can't identify + or - in the 5v USB wall adapter, does it matter? [closed]

I want to power the UNO with the USB power adapter (the charger of a phone), the adapter delivers 5.0 volts and comes from the wall (in the photo a regulator is added). However, the legs of the USB ...
0
votes
2answers
52 views

Where can I find the complete list of Arduino Serial Command & Query Strings?

I am planning to use the Arduino as a replacement for a USB-Controlled Digital I/O device, which will be integrated into an existing C++ software package that I created. I understand that the Arduino ...
0
votes
1answer
97 views

How to create custom bootloader with accompanying program loader for ATMega2560

Just for some context, I have created a custom board based on the ATMega2560. I currently have the original Arduino Bootloader for the ATMega2560 and have no problems uploading code via the USB Port ...
0
votes
0answers
288 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 ...
1
vote
1answer
60 views

USB Host Shield plus 2 identical joysticks

I'm trying to get two identical joystics (Saitek cyborg 3D) running with the USB-Host-Shield on a Mega 2560 and an USB-Hub. I already get the event-messages of both of them: #include <usbhid.h>...
0
votes
0answers
41 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
1answer
204 views

Using Arduino Uno as USB to serial converter

Can I use my Arduino Uno as a USB to serial converter to program my Raspberry pi 0 over serial communication? My idea: Computer connects to Arduino via USB > Arduino connects with Raspberry pi 0 via ...
1
vote
0answers
58 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
2answers
73 views

Arduino doesn't boot unless I short USB pin 1-2 (VCC/Data -)

I've made my own AVR programmer with an Arduino Nano V3 clone. It has been working fine, but yesterday I was trying to program a faulty board that pulled too much current. Was powering via USB and my ...
1
vote
0answers
316 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 ...
0
votes
2answers
661 views

Connect ESP-01 to USB Uart

for programming my ESP-01 chip I bought an "USB Uart", but it looks different to all the ones in all tutorials. I don't know how to connect the uart to the esp. The uart i bought has following pins: ...
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 ...
1
vote
2answers
832 views

Typing into ESP8266 with a USB keyboard

I need to be able to connect a USB keyboard, like a tiny Xbox keyboard, or a nice wireless one, into an ESP8266-based thing to type passwords into the MCU. Adapting the PS2 lib for AVRs (PS2==USB ...
1
vote
2answers
331 views

Uno r3 - Can't get USB Keyboards to work with an USB Host Shield

I'm a day 1 beginner to Arduino, and I am trying to obtain input from a USB keyboard. I've connected the USB keyboard to an Arduino USB host shield attached to an Arduino Uno r3, and I am using the ...