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
2answers
239 views

Programming ATmega328p on external board with FT232R

I am making a 100W AC-DC linear power supply, for which I want to show output Voltage and Output current on LCD display. I already used shunt resistor and voltage resistor to bring both values to ...
3
votes
2answers
4k views

CH340 max serial speed

With an Arduino-like board using a CH340 USB Serial chip, I'd like to send text lines as fast as possible to a Raspberry Pi through USB using the Serial.println() function. The problem is that when I ...
3
votes
2answers
274 views

Interfacing Logitech Joystick to Arduino and interrupt a while loop

I am working on a project of a robot arm. The joints are made of servo motor. The basic function can be describe as: The robot arm (the servos) were moved manually by the Logitech joystick. The user ...
2
votes
1answer
69 views

How do i power recycle on SD card

I am working on my home made project where i am using SD card to log GPS data into it,As well as i have to access that data from the SD card on my computer while all the system is connected to battery ...
1
vote
1answer
1k views

Arduino USB and 9V

I'm working on a project for interfacing the Arduino with the Raspberry Pi. I need to be able to exchange serial data between the two using the USB port. My question is, can I do that while having ...
2
votes
1answer
949 views

Custom board with ATMega32u4 having USB issues

I built a custom arduino based board (speciffically based off of Sparkfun's Pro Micro 3.3V 8Mhz and their Qduino mini boards) that uses the ATMega32u4-RC. The board I built integrated an acceleromter ...
0
votes
2answers
225 views

Read and store data with the usb

Hi i am new to Arduino and I want to know if it is possible to read the data from a sensor that it is connected to the Arduino, I am using the Arduino mega 2560, which is already working, as I have a ...
0
votes
1answer
674 views

Adafruit Gemma unrecognised USB device on Windows 10

I have a V2 Adafruit Gemma from the Gemma starter pack, and I'm running Windows 10 Home (version 10.0.14393), on a 64-bit laptop. Following the Introducing Gemma guide I've installed the Adafruit ...
1
vote
2answers
148 views

Arduino Uno power input - is 5 V at 1 A enough?

I have a Arduino Uno board and phone power bank Power bank details Capacity - 8000 mWh Input - DC 5 V and 1 A Output - DC 5 V and 1 A Can I give the power to Arduino Uno ...
-1
votes
1answer
247 views

Which Arduinos have a true serial port?

After driving myself insane with an unreliable Leonardo, I narrowed down the problem to its serial port. Namely, it's not a true serial port, but some sort of simulated monstrosity that can't be ...
1
vote
1answer
749 views

Unable to upload code to Leonardo

I was using Arduino-Makefile to upload code to a Leonardo via its standard make upload. However, it became "stuck" and unresponsive, as Leonardo's sometimes do. I tried power cycling it, and ...
0
votes
2answers
302 views

Sampling/transmission limits for USB and Arduino UNO R3

I'm very new at this and I need some help. This is a college project that I must do and not even the professor knows for certain if it is possible. I have to sample two signals at a fixed sampling ...
6
votes
1answer
2k views

Arduino as a real device to computer

Suppose we have a computer mouse , now when we connect it to a computer then computer understands it is a mouse which is been connected to it. Same thing happens for keyboard and many other devices. ...
1
vote
1answer
257 views

MIDI output circuit behaving incorrectly when not connecting with USB

I recreated this circuit to send MIDI notes to my MIDI-USB adapter to my computer. It works fine when the Arduino is powered via USB. When I power the Arduino Nano with 9v on Vin however, the output ...
0
votes
0answers
1k views

Using C# to send data to an Arduino through a USB-serial converter

The two FT232RL USB-serial converters I ordered from China arrived today, and I tried to find a way to test them. I wrote the following Arduino code: const uint8_t ledPin = 3; bool ledIsOn = false; ...
0
votes
2answers
622 views

Accidentally plugged in Arduino Uno before installing software, now it's not recognized by Windows 10, only powered by usb port

Just got a new Arduino Uno, accidentally plugged it in before installing the IDE and windows installed its drivers and had it under ports as a generic device on COM3 (it wasn't named Arduino Uno on ...
4
votes
2answers
176 views

Avoid a Pro Micro waking up a PC?

I have an Arduino Pro Micro mimicking as a HID, connected to a PC. The PC BIOS is configured to wake from keyboard events - it is switched on by hitting a key on the regular keyboard. This is a ...
1
vote
1answer
41 views

Is there any option to connect XDTouch IrTouchScreen to Arduino?

Is there any option to connect XDTouch IrTouchScreen with USB interface or RS232 to Arduino board? At the cable of this touchscreen i have something like at the photo. At the top of the photo pins (+,...
0
votes
1answer
412 views

Getting the “Device has problem: 0x0a: CM_PROB_FAILED_START.” error code 10 while installing device driver for Arduino Uno

After uninstalling and reinstalling Arduino IDE, my Arduino Uno is not recognized by my PC. When I connect it to my PC all lights are glowing in my board but my PC is not showing anything connected to ...
1
vote
3answers
786 views

Arduino not detected [duplicate]

I took an Arduino from a friend yesterday but when I connect it to the laptop there is no light blinking from the Arduino and the laptop doesn't detect any device. Is there a problem with the Arduino ...
1
vote
3answers
193 views

Sending information via USB/Serialport

Am I able to send instruction from my computer, from another compiler, via the Arduino USB port? To put this in context, I'm doing some vision processing on my computer, with Visual Studio, and I ...
0
votes
1answer
165 views

Atmega2560 USART UDR r/w conflict possible?

I'm having a really weird issue with my project right now. I have an Atmega2560 using hardware serial, and the software on the other side is doing full duplex read/write at 500kbps. If I change it to ...
1
vote
1answer
29k views

Arduino Uno unable to detect usb port on Mac OS Sierra 10.12.5 [closed]

Few weeks ago my Arduino Uno (IDE version 1.8.2) detected the USB port and I was able to do some small IOT projects. I updated my OS to Sierra 10.12.5 and now suddenly the usb serial option has ...
1
vote
0answers
56 views

Can I upload with avrdude 2 hexes with 2 usbasp connected to computer, one hex with one usbasp ? If yes, how?

If I have connected 2 usbasps in the same time to ubuntu, can I upload 2 hexes one after the other(using avrdude) on each usbasp without disconnecting a usbasp ? If yes, how do I select each port for ...
3
votes
2answers
368 views

Grab keys from an ordinary USB kyboard

Arduino USB I want to write an Arduino Sketch (if there is no other possibility it can also be plain c) , to grab keyboard inputs from my ordinary USB keyboard. Preferably without expensive hardware, ...
5
votes
5answers
395 views

Arduino-based mains frequency monitor

I'm looking to put together a simple mains frequency monitor based on the Arduino platform. The mains here are 250 V @ 50 Hz, but obviously these fluctuate slightly, which is the whole point of the ...
-1
votes
1answer
601 views

Understanding schematics: resistors attached to Attiny85 pins V-USB

I'm currently trying to create my own Attiny85 usb thumb(to mimic an joystick). I understand that I have to limit the voltage on the attiny's pins that are connected to the D+/- pins from the usb. In ...
0
votes
2answers
277 views

Suggest me Arduino device with USB for Mass storage

I want to make a temperature data logger by using Arduino. I can read a data every 1sec and I want to store 30days data with date&Time. In data logger, I want to write a temperature data with ...
0
votes
1answer
466 views

Attiny85 not recognized at windows startup

I'm using an Attiny85 to interact with a computer using an USB connection, and everything works fine except when I restart my computer and the Attiny85 is connected. When Windows end to boot up the ...
-1
votes
1answer
1k views

OSX upload error: avrdude: ser_open(): can't open device “/dev/cu.mydev” : Resource Busy

I'm trying to upload the blink script to my unnamed Arduino-like board. However, the USB port appears to be busy. This is all the output I get: Archiving built core (caching) in: /var/folders/43/...
0
votes
2answers
49 views

How to program Fio v3 without MicroUSB port

I got given a Fio V3 but unfortunately the MicroUSB port is missing, not sure why. Is there any other way to program it? I'm thinking perhaps those 6 pins under the microcontroller? Also can I ...
1
vote
2answers
424 views

Where to connect shield in USB power supply for Arduino?

I'm making a 5 volt portable regulated power supply (using LM7805 regulator IC) for Arduino UNO. I'm planning to use a USB connector as its output socket, this way I can just plug it into the Arduino ...
0
votes
1answer
366 views

ESP8266 unstable connection

I try to flash an ESP12E microcontroller through an FTDI serial converter. It seems like the UART connection is a bit unstable, because when I try to flash it via esptool it often throws "Timed out ...
4
votes
2answers
412 views

Molex power with USB serial Communication from the same PSU

Before I begin I just want to apologize for my mediocre understanding of things electrical and arduino. I know there are a lot of topics similar to this but I'm confused by the term external PSU ...
1
vote
2answers
552 views

Arduino mega 2560 might be dead

I was playing with Vin and a transistor when the arduino got disconnected from my pc and after a few seconds it started to smoke. It wasn't much smoke but enough to panic and disconnect everything. I ...
1
vote
1answer
3k views

Can Arduino Leonardo use USB port and RX TX serial pins at the same time?

Can I use the TX/RX on pins 0, 1 (to a serial slave device) while also having the USB port dedicated PC communication?
2
votes
0answers
209 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
3
votes
2answers
226 views

Substitute for FTDI board?

I am thinking forward to buy a set of Arduino pro mini. I have a very low budget and I can't think of buying a FTDI board. Is there any substitute for the FTDI board that is compatible with these ...
1
vote
2answers
3k views

How do I connect Arduino to RS232 via USB? [closed]

I have a device that takes commands in the form of RS232 communication. I've connected the Arduino's USB port, through an adapter, to the device's 9-pin serial port, but no communication has happened. ...
1
vote
2answers
1k views

Run 5V/2.3W water pump on Arduino Pro Mini 5V

I want to build up my automatic water pump with an arduino pro mini 5v and a 5v usb water pump (2.3 W). As I understand, I cannot power the pump directly through the vcc pins of the board, right? ...
2
votes
3answers
1k views

Can I make a USB Device with only data output

This is about how USB ports/devices work Lets say i have a USB port on my computer If I have an arduino board or something similar, am I able to connect output to Data+ and sort of make my own USB ...
0
votes
2answers
3k views

How do I power an arduino without USB?

I'm working on a project where my arduino talks to another device that uses serial communication. I've connected my USB cable to a USB-to-serial adapter, so it can communicate with the device. The ...
0
votes
0answers
354 views

Arduino not recognized by PC, overheats and L led is always on

I have a problem with my Arduino Uno rev3, which suddenly started to overheat near the small, black, square element next to the circular cable power input port, isn't recognized by Windows 10 (I have ...
5
votes
3answers
851 views

USB and Arduino: Power Arduino, charge LiPo, and transfer data at the same time

I was hoping to design my own Arduino board for a recent project of mine, a portable project that was powered by a 3.7 LiPo battery. Most ideally, I wanted to replace the USB B port with a single USB ...
0
votes
1answer
3k views

My Digispark board won't show up in Ports tab in Arduino IDE (OSX)

I bought a Digistump/Digispark board online and when i received it, I plugged it into my iMac to see if it works. I went to the apple in the top left corner and clicked "About this Mac". Then I ...
0
votes
2answers
667 views

5V usb surge protection for circuit board?

I want to use a mini usb jack to power my device off board, but I want to make sure that the usb power coming in is not any higher than the 5V. I've read a bit about polyfuses but I am unsure if they ...
4
votes
6answers
8k views

If the USB gives 5v, how can the Arduino supply 5v to the 5v pin? (And another question)

I must not of understood something. Online, I've heard that the Arduino uses 9v typically (average), and that USB's in general supply 5v@500mA. If this is true: How can the Arduino even POWER ITSELF ...
4
votes
1answer
5k views

Can an Arduino emulate a USB mass storage device?

Question: Can I connect an Arduino's USB port to the USB port of another embedded device that is expecting a USB thumb/flash device? Or, can I connect a USB module to this embedded device, with the ...
3
votes
1answer
111 views

USB DEVICES WITH THE 32U4?

I have an Arduino Pro micro and I need to know if it is possible to use an USB device like a camera or things like that Since the processor is a 32U4. the USB Shield is for the Arduino Uno and I don't ...
4
votes
1answer
23k views

Arduino Nano not visible in Serial Ports (Mac OS)

I have used by Arduino countless times over the past few years and only after installing an update to Mac OS Sierra did the device stop showing up under the Serial Ports. Now only tty-bluetooth shows ...