Questions tagged [usb]
Widely used standard for connecting computers to other devices, such as printers and keyboards.
554 questions
1
vote
0
answers
506
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
2
answers
162
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 ...
1
vote
0
answers
140
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
1
answer
187
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 ...
-1
votes
1
answer
136
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 ...
3
votes
1
answer
11k
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
/*
* -----------------------------------------------------------------------...
2
votes
0
answers
1k
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
1
answer
467
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.
1
vote
1
answer
753
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
1
answer
258
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
3
answers
184
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 ...
-1
votes
2
answers
160
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
1
answer
2k
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
1
answer
2k
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 under ...
0
votes
1
answer
2k
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 (...
3
votes
1
answer
3k
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
1
answer
5k
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
1
answer
263
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
1
answer
183
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 ...
1
vote
1
answer
423
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
2
answers
4k
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
vote
1
answer
913
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
1
answer
298
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
1
answer
2k
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
2
answers
2k
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 ...
2
votes
1
answer
3k
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.
...
2
votes
1
answer
5k
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. ...
1
vote
2
answers
1k
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/...
1
vote
1
answer
701
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
2
answers
4k
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
2
answers
988
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:
...
1
vote
1
answer
899
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
1
answer
196
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
2
answers
4k
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 ...
-2
votes
1
answer
8k
views
Connect NodeMCU with USB camera
I am trying to connect a USB camera to my NodeMCU v0.9.
VCC Red +5V
D- White Data
D+ Green Data
GND Black Ground
I dismantled the USB cable ...
1
vote
1
answer
295
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
3
answers
1k
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
1
answer
1k
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 ...
-1
votes
1
answer
528
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 library ...
1
vote
2
answers
246
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
1
answer
600
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
1
answer
1k
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
1
answer
173
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 ...
3
votes
1
answer
262
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 ...
1
vote
1
answer
335
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
1
answer
613
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
1
answer
1k
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 ...
0
votes
2
answers
422
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
1
answer
71
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
1
answer
687
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 ...