44
votes
Mac OSX Yosemite no serial ports showing for Uno R3
Probably, you have Chinese Uno analog which works on CH340 USB-to-serial chip, so you need to install driver for it.
Steps to fix:
Install the CH340 driver
Run the command in Terminal: sudo nvram ...
40
votes
First time set up- permission denied to usb port- ubuntu 14.04
From the documentation:
Open Terminal and type:
ls -l /dev/ttyACM*
you will get something like:
crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0
The "0" at the end of ACM might be ...
18
votes
Accepted
Can the Arduino interface with USB devices without the USB host shield?
First things first you need to learn the basics of how USB works.
In USB there are two main "things": Hosts and Devices.
You have one Host (usually your computer) and many Devices (such as Arduinos, ...
15
votes
If the USB gives 5v, how can the Arduino supply 5v to the 5v pin? (And another question)
Actually, Arduino is powered at 5V (the 5V pin and the ATmega328p are connected to the +5V rail in the board). The point here is where do those 5V come from. Basically, from 2 possible sources:
USB. ...
10
votes
Accepted
Difference between /dev/ttyACM0 and /dev/ttyS0 (Arduino IDE ports under Linux)
/dev/ttyACM0 is a USB communication device (CDC) of sub-type "abstract control model" (ACM). That is what the Arduino is.
/dev/ttyS0 is a hardware serial port - the (typically) 9-pin D connector on ...
8
votes
Accepted
Is it OK to Serial.print(message), when the USB cable is not connected to a host PC?
It is OK to write out serial data with nothing connected.
In case (2) "Arduino + USB interface chip", the arduino has no idea if anything is connected or listening to the serial port. The ...
8
votes
Arduino Nano not visible in Serial Ports (Mac OS)
Is it an original Nano or a clone?
The original Nano uses FTDI's FT232 ship, whereas clones use the CG340 USB-to-TTL chip. The former works fine straight away Mac OS Sierra, whereas the latter needs ...
8
votes
Accepted
CH340 max serial speed
CHG340 supports common baud rates: 50, 75, 100, 110, 134.5, 150, 300, 600, 900, 1200, 1800, 2400, 3600, 4800, 9600, 14400, 19200, 28800, 33600, 38400, 56000, 57600, 76800, 115200, 128000, 153600, ...
7
votes
Accepted
External 5V Power and USB Serial
Having used counterless Arduinos and clones, I can tell you that you can connect both without worrying about any danger. Unless you have a very faulty board, your pc won't be damaged, almost surely ...
6
votes
Mac OSX Yosemite no serial ports showing for Uno R3
This fixed the problem for me:
http://blog.sengotta.net/signed-mac-os-driver-for-winchiphead-ch340-serial-bridge/
... and the direct link to download.
EDIT: I have one of the cheap clones with a ...
6
votes
First time set up- permission denied to usb port- ubuntu 14.04
All you need to do is add yourself to the dialout group as described in the answer by Ignacio Vazquez-Abrams. This is done in the terminal by typing:
sudo usermod -a -G dialout $USER
You do not need ...
6
votes
My Digispark board won't show up in Ports tab in Arduino IDE (OSX)
I don't think it is supposed to. The Digispark briefly connects in "bootloader" mode, which you spotted as "Vendor-Specific Device:".
Then after 5 seconds it runs the loaded sketch. If your sketch ...
6
votes
Arduino Leonardo as keyboard for an iPad
If indeed the descriptor is the problem then yes you can change it.
In the core file USBCore.h is the line:
#define D_CONFIG(_totalLength,_interfaces) \
{ 9, 2, _totalLength,_interfaces, 1, 0, ...
6
votes
Accepted
How can I detect which baudrate a virtual COM port is set to?
From looking at the source it appears that on 32u4 based boards Serial includes extra methods to access the settings from the USB host:
see: https://github.com/arduino/ArduinoCore-avr/blob/...
5
votes
Keyboard.print() skips keys
The Arduino assumes a US keyboard layout. The thing with keyboards is they don't actually send the letters or symbols that are printed on the keys. Instead the send a scan code that defines where on ...
5
votes
Mac OSX Yosemite no serial ports showing for Uno R3
This site fixed the problem for me:
http://kiguino.moos.io/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html
...somebody else has made an alternative to the ftdi ...
5
votes
Accepted
Pinout for Leonardo USB
The USB does not go to pins 0 and 1. The UART goes to pins 0 and 1 - that is a totally different interface.
The USB is connected to dedicated USB pins on the chip. If you look at the Leonardo ...
5
votes
Protecting your computer from stupid (arduino) mistakes
Both the arduino and a USB port do have some protection against wrong connections and such. The arduino has a diode to prevent wrong polarity to reach your power supply, it also have a resetable fuse (...
5
votes
Why is there already text in the serial monitor before the Arduino initializes?
It's because the Arduino has started running the sketch and placed data into the USB chip's buffer. You then open the serial monitor which then opens the serial port thus resetting the Arduino. So the ...
5
votes
Accepted
Which Arduinos have a true serial port?
There seems to be quite a few Arduinos without a 32U4, like:
Uno (you mentioned it already)
Mega (same)
Lilypad Snap
MKR1000
Pro
Pro Mini
Zero
Due
Ethernet
Mini
Nano
MKR Zero
See the list at ...
5
votes
How to convert USB to PS/2?
Many USB keyboards (certainly older ones, though almost certainly not wireless ones) are also PS/2 keyboards. The wiring of the cable is all that differs, and the chip in the keyboard changes its ...
5
votes
Is it possible to upload an arduino sketch through the serial port (RX) instead of USB
No need to have a specific bootloader. The basic bootloader can do that (in Arduino that's the case so I hope this answer will apply in your case. But if not, the principle is certainly the same).
...
5
votes
Accepted
My ESP32-S3 DevkitC-1 has two USB micro ports labeled 'USB' and 'UART'. What are they for?
The USB port connects directly to the D+/D- pins of the ESP32, which allows it to act as a USB host. CircuitPython, for instance, uses this functionality to look like a USB flash drive. You could also ...
4
votes
Accepted
Power Supply Problem with Arduino Yún: Using a long USB cable
The USB specification limits the length of a cable between two devices to 5 meters. When you make a longer cable, you're going out of spec, which means it is not guaranteed to work anymore.
Since you'...
4
votes
Can the Arduino interface with USB devices without the USB host shield?
No. USB strictly distinguishes between host and device roles. A few chips have functional blocks capable of performing either role, but the 8u2/16u2 are not examples of this.
Typical USB serial ...
4
votes
100khz square wave with 50% duty cycle
The problem with your program is that it does not loop fast enough. Each
call to delayMicroseconds() should take roughly the requested time to
execute, but the CPU also needs time to execute the rest ...
4
votes
Accepted
How to send Serial.Print only If Serial Connection is open?
The Arduino Mega's "serial" connection comes from an external chip implementing USB-serial conversion. While this chip knows if a session is open with a host, the standard design has no way to share ...
4
votes
Using ATTiny85 as a USB HID Mouse
Due to the lack of USB-Support of the ATtiny85 you will be forced to use something like V-USB as the tutorial does. This might have implications when you are targeting a commercial product.
...
4
votes
How to add extra USB port to Arduino Nano?
USB is deceptively simple. The underlying protocol is very complex. So a complete answer to your question requires some USB background.
USB is divided into 2 types. USB Hosts and USB Devices. We ...
4
votes
Why do I get avrdude: stk500v2_ReceiveMessage(): timeout error when uploading to Arduino Mega?
The error message basically means that the programmer is unable to contact the boot-loader on the device. The code you're trying to upload has no bearing on the problem.
There could be one of the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
usb × 543serial × 122
arduino-uno × 104
power × 64
arduino-mega × 41
arduino-nano × 40
arduino-leonardo × 35
keyboard × 31
arduino-ide × 24
arduino-micro × 23
communication × 22
shields × 22
uart × 20
programming × 19
arduino-due × 18
arduino-pro-micro × 18
ftdi × 18
bootloader × 16
uploading × 16
attiny × 15
atmega32u4 × 15
linux × 14
mac-os × 13
teensy × 12
esp8266 × 10