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

Questions tagged [usb]

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

0
votes
0answers
1k views

ATmega32u4 usb powered, minimal bootloader and test circuit

I'm new in electronics and I want to use a ATmega32u4 in a very compact project. It will have no raw supply, only +5v from usb. I've done a lot of research and i built this two schematics: one is the ...
1
vote
1answer
1k views

Arduino board as USB/serial for a Nano with broken USB

I broke the USB connector on an Arduino Nano and I am trying to use my Uno board as a USB/serial adapter to be able to upload sketches. The broken Nano came with a customized bootloader (avrdude -c ...
1
vote
1answer
135 views

Powering Arduino through 12V USB communication unstable

When powering Arduino through Japan Jack at 12V USB communication becomes unstable and frequently interrupts/disconnects. Using Arduino Uno R3 and Linux on the connected computer. Does anyone have ...
0
votes
0answers
2k views

Arduino IDE Can't find the USB Port

I'm on a Mac, running 10.11.6 and Arduino IDE 1.8.1. I've been prototyping some projects using an Adafruit Trinket. I was not having any problems, until at some point my Mac stopped recognizing the ...
0
votes
1answer
646 views

Arduino Mega read data from USB

I´m completely new to the arduino and not used to work with it. Due to an project I need to know the best way to transfer Data to my Arduino Mega. The transferred file will be an sliced 3D object. Is ...
1
vote
2answers
450 views

How can I use my Arduino sketches on my Raspberry Pi IDE?

I have installed the Arduino IDE 2:1.0.5 on my Raspberry Pi3 under Raspbian and am using a cobbler breakout which provides a nice breadboard. On that breadboard I have installed an Arduino Nano to do ...
4
votes
1answer
1k views

Change select pin of USB Host library

TL;DR With regards to the USB host library: Which is the correct file to modify the Arduino pin used for the USB Host slave select (SS) line? I would like to add USB host functionality, to a ...
4
votes
1answer
559 views

Arduino Uno as keyboard

I am trying to make Arduino Uno to act as a keyboard. I have successfully flashed the USB-HID firmware in it using this link also and programmed it like this. uint8_t buf[8] = { 0 }; int inpin1 = 7;...
1
vote
1answer
219 views

RS232-TTL Data Transmission

I'm developing an computacional module to create risk maps in agriculture, I am using one arduino mega as "GreenSeeker", generating "fake" data to transmit via RS232 connection to one Raspberry PI, ...
1
vote
1answer
330 views

Win10 PCs won't see ATtiny boards

I bought some ATtiny boards on ebay but I can't get my computers to see them. When I plug them in I get the USB connected sound then a couple of seconds later it gives the USB unplugged sound. The ...
0
votes
0answers
180 views

Flora upload issues

Good Morning and Merry Christmas, I have purchased 2 Flora boards and am having trouble uploading the "Blink onboard LED" program to test the board. And every other code. here is the website with ...
0
votes
1answer
572 views

Feather32u4 device not accepting address 5, error -71

I'm using a Feather 32u4 bluetooth device connected to a AM2302 temperature sensor via I/O pin to my Linux PC via USB Everything was working fine, uploading the code to the micro via Artuino IDE and ...
0
votes
2answers
2k views

How to add extra USB port to Arduino Nano?

I'm trying to use V-USB library to emulate a keyboard using Arduino Nano but because of precaution, I don't want to use it's built-in USB port. My idea is to add another USB port so I cant power my ...
0
votes
1answer
719 views

Teensy to Teensy serial communication via USB connector

I have 2 Arduino Teensy 3.2 boards that I'm trying to implement serial communication between the 2 boards. I have successfully done this by connecting RX1 of the 1st Teensy with TX1 of 2nd Teensy and ...
0
votes
1answer
787 views

Microcontrollers with built in HID support

I am trying to build a wireless gamepad for which i am using NRF24l01 module for my wireless need and for Sending data to computer i need an mcu which support to act as hid device. So far, i got ...
3
votes
1answer
192 views

What USB to UART chip provides highest data rates with Arduino boards?

Checking out online stores for a USB/TTL adapter, I came across a wide range of products, and I'm having a hard time selecting the one which would achieve the highest data rate. I was comparing ...
1
vote
1answer
703 views

ard-reset-arduino resetting Leonardo/Micro via USB works on OSX, fails on Ubuntu

I'm trying to program a Leonardo (actually a Micro ATmega32U4) via the command line using USB. Schematically, I'm doing ard-reset-arduino followed by a sleep 1 and an avrdude command. This works ...
1
vote
1answer
1k views

How to make auto keyboard using arduino nano V3.0 ATmega 328P ?

I have an Arduino Nano v3.0 ATmega328p board. I want to make an auto keyboard that types in a string when its plugged in. I have googled and found that these chips doesn't support that feature unlike "...
0
votes
2answers
2k views

Arduino USB Host Shield with joystick

I'm building my own quadcopter and going to use an Arduino for this. An Arduino Micro for the quadcopter and an Arduino UNO for the controller. I want to use an USB host shield with a Logitech Extreme ...
1
vote
2answers
518 views

Very strange power supply problem

So, I've put together my Christmas tree lights - a string of WS2811s driven by my Uno board. They are 12 volt WS2811s, so I have rigged a 12 volt supply to them and just using the Uno for the data ...
1
vote
1answer
360 views

Arduino Leonardo - disabling the debugger port

My Sketch program is working perfectly as a specialized keyboard application on the Leonardo. I want to disable the development tools drivers from the USB, (COM PORT) leaving only the HID Keyboard ...
0
votes
2answers
5k views

Using ATTiny85 as a USB HID Mouse [closed]

Our project involves using an arduino compatible microcontroller to control a mouse on a computer with an accelerometer and flex sensor. We had narrowed down to the ATTiny85 due to its small size. We ...
1
vote
0answers
44 views

I want to modify setup, to also keep the serial USB port opens so I can send strings via a Raspberry Pi

I am trying to modify the original code from these guys GRA & AFCH, who have made an Arduino Sketch Program that runs a Arduino powered Nixie Clock. Here is the link to their Firmware file:...
0
votes
1answer
44 views

What boards have integrated USB charging?

I've been building wearables, using the adafruit trinket, which I love, its small size is easy to tuck away. But I hate having to unplug the battery to charge it every time. I wired in a SPDT switch, ...
1
vote
1answer
634 views

Re-enable Arduino after short

I happened to short-circuit my Arduino by mistake. It was powered by USB on my Windows 7. The OS was so smart to pop-up warning about USB power surge and shut it down immediately. Arduino survived. I ...
0
votes
1answer
490 views

USB Communication like serial RS232 with an Attiny

Basically I want to use an Attiny running an Arduino boot loader as an usb device. I'm not sure how to even start or what phrases to search for. So here's what I ultimately wish to do. Load a ...
3
votes
2answers
105 views

Capacitors in DC circuits

I have a question about capacitors in DC (digital) circuits. The picture below is an edited schematic of the Arduino Uno R3. The DTR line is connected to the reset input of the Atmega328 by a 0.1uF ...
4
votes
2answers
416 views

Is my Arduino possibly broken?

We work in groups on a project at school. We had to build an electric scheme with an Arduino to make a small car moving. We got the parts from our school, except the Arduino (we had to buy it ...
3
votes
1answer
193 views

How to reprogram Arduino if USB port is already in use?

I'm developing a keyboard emulator using Digispark Pro (based on Arduino) which uses USB port as the keyboard interface. I haven't programmed it yet because I doubt how should I recognize the chip to ...
1
vote
1answer
437 views

Arduino Nano (3.0) Use an USB Bluetooth stick

I was thinking to build a very small USB Audio Streaming device with aux output for an amp (I know they already exist, but I like the self invention). So I bought an Arduino Nano and a USB Bluetooth ...
3
votes
2answers
80 views

All of the sudden the Nano will not accept programming

I have been working merrily along with CH340 to make Com10 work. It has been working flawlessly but now I am getting various messages like it can't open the port then the programmer is not responding....
0
votes
0answers
26 views

Only 1/4 Arduinos seen in Port list?

At some point last week I was able to connect to and upload code to all 4 of my arduino unos from my mac (OS X Sierra). I've been working on one Arduino for a few hours, and now that I tried to plug ...
2
votes
1answer
1k views

How to program an nRFL01 RF module that is connected to a pc via a USB to UART/TTL adapter?

In a few of my previous questions I was told that the nRF24L01 RF Module can be connected to a pc using a USB to UART/TTL adapter. After a bit of research I understand that one way to use it is to ...
1
vote
1answer
382 views

Problems building an Arduino Micro with through-hole components

So I'm trying to build an Arduino Micro using a bread-board and through-hole components. I'm leaving out the voltage regulator and voltage selector (see schematic at the bottom for reference). I'm ...
1
vote
1answer
2k views

What is a cheap way to interface a USB keyboard to an Arduino Uno?

What is the cheapest way to interface a USB 2.0 keyboard to an Arduino Uno? The keyboard does not support PS/2 emulation (interfacing a PS/2 keyboard to Arduino is easy). So this means the Arduino ...
2
votes
0answers
798 views

Read string from DigiUSB

I wrote simple code for my Digispark (Attiny85 with Micronucleus bootloader) in Arduino IDE: #include <DigiUSB.h> String inst; void setup() { DigiUSB.begin(); pinMode(1, OUTPUT); } void ...
0
votes
3answers
1k views

How to correctly read a string from Arduino serial port?

I'm trying to communicate with my Arduiono UNO via USB serial port, more precisely I'm trying to read a string like 125,0, I know it's full of article out there about this, but belive me I've tryied ...
1
vote
1answer
961 views

Arduino Micro Power Questions

I have a few questions about the Arduino Micro circuit: If I can provide a steady 5 V source (connected to +5V), then I don't need to use the voltage regulator module (including the selector) of the ...
1
vote
1answer
2k views

SerialUSB on Arduino Due

I'm starting fiddling with a Due but I can't seem to be able to communicate over USB with it. Here is my code: int bauds = 9600; void setup() { SerialUSB.begin(bauds); } void loop() { if (...
1
vote
3answers
1k views

How to repair or work around a damaged usb port on the Arduino?

While unplugging the usb cable from the Arduino, the plastic piece in the center of the port (the part that separates the pins) broke off and lodged into the end of the usb cable. I didn't notice that ...
0
votes
1answer
1k views

DigiSpark USB issue

I installed the drivers for x64 and got this: Notice it did not install the first one - USBSER. However, I am able to upload code in the Arduino IDE so I went ahead and uploaded the CDC ECHO sketch ...
0
votes
3answers
1k views

Questions about the Arduino Micro PCB

I'm planning on integrating an Arduino Micro in the circuit of a small project of mine (USB gamepad). The whole thing will use USB for power and data transfer (between the board and the computer). ...
0
votes
1answer
2k views

Arduino Mega 2560 and Android USB OTG serial communication

currently I am building a little project based on the Arduino Mega 2560. My goal is to send some data gathered by some sensors to an Android phone. It has to be as basic as possible. Buying new ...
1
vote
2answers
338 views

Sending GPS data to computer via USB and then to iPhone app through Wi-Fi on LAN [closed]

I was wondering how I would parse data from a GPS module from the Arduino to my laptop and from there send it to an iPhone app I'm building. One idea I had was to have it print the incoming serial ...
2
votes
1answer
107 views

What to do after prototyping?

I want to make a USB gamepad, and I've heard that an Arduino would be great for this kind of project. But before I start to work on it, I want to make sure I understand some things. Here are my basic ...
1
vote
1answer
481 views

Prevent 5V output on Arduino Nano 5V pin

I just made an addressable RGB LED strip controller but im concerned about if I'm going to break the thing. I know it sounds vague so let me elaborate: there is an external power supply connected to ...
3
votes
1answer
244 views

Attempt stacking 'CAN-BUS' and 'USB Host' Shields on Mega 2560

I've run into a case of 'In theory it works, but in reality'.... I'm using the CAN-BUS Shield V1.2 from Seeed studio. Many things are written in broken english, so I'm starting to wonder if I can ...
-1
votes
1answer
910 views

Arduino Rubber ducky?

So there is this hacking tool called a rubber ducky , the concept is that the device looks like a flash drive but the computer thinks it's a keyboard . According to what i know , a usb port has 4 ...
1
vote
1answer
251 views

Possibility of installing custom firmware from Arduino Uno R3? [closed]

I've been messing around with installing keyboard firmware onto my Arduino UNO R3 (I used this tutorial) and had an interesting idea: would it be possible to have this install custom firmware, ...
0
votes
3answers
3k views

Cheap ATtiny programmer on Debian

I've recently purchased a no-brand 1€ ATtiny programmer off eBay, and with the ridiculous price obviously came no documentation nor support from the seller. At first I thought that using it with the ...