Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.arduino.cc

Arduino refers to both the hardware (single boarded micro-controller) and the software (a minimized IDE based on the Processing IDE) which makes hardware prototyping simple and engaging for people with little or no programming experience.

Arduino is open-source, meaning that anyone can manufacture a compatible board and the official site offers detailed instructions. Similar projects include:

There are also similar pin compatible versions such as:

146 questions
69
votes
6 answers

Changing permissions on serial port

I'm using the Arduino IDE in Ubuntu, and am having issues with the serial port. It has worked in the past, but for reasons that may be unnecesary, I felt the need to change the ownership of some of the files from root ownership to my users…
Terrik
  • 803
57
votes
13 answers

Uploading code to arduino gives me the error: "avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied"

My OS is Ubuntu 18.04 and arduino was working until now. Although there are a few solutions, none of them seems to work for me. I followed these instructions on the arduino website. Then I tried this on arduino Stack Exchange, which should work in…
30
votes
8 answers

How to install the latest Arduino IDE?

I have an Arduino UNO, which I need to get working with Ubuntu. Can somebody explain to me the steps required to install the IDE on Ubuntu?
Amith KK
  • 13,547
22
votes
8 answers

Setting Up Arduino Uno IDE on Ubuntu

I am new to Ubuntu (And I love it). I want to burn a code to my Arduino Uno. When uploading the code, there's an error message saying, Serial Port COM1 not fount found. Did you select the correct one from tools -> serial port menu?. Now, visiting…
18
votes
7 answers

Arduino serial port COM1 problem

I bought an Arduino Uno and installed Arduino IDE 1.6.5. But when I want to upload a sketch to the Arduino board I get this error: avrdude: ser_open(): can't open device "COM1": No such file or directory ioctl("TIOCMGET"): Inappropriate ioctl…
Hakan Ormancı
  • 181
  • 1
  • 1
  • 3
12
votes
2 answers

How to install latest Arduino IDE?

As we know Arduino has non-official Snap which can access serial ports only if installed as classic (but not indicated in snap find output): $ snap find arduino Name Version Developer Notes Summary arduino-mhall119 1.8.5 …
N0rbert
  • 103,263
8
votes
3 answers

How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?

I have Ubuntu 18.04 LTS installed. I installed Arduino IDE v1.8.5 as a snap with snap install arduino-mhall119 I have added my user to dial-out group and rebooted: sudo usermod -a -G dialout $USER $ groups username adm dialout cdrom sudo dip…
N0rbert
  • 103,263
7
votes
1 answer

Cannot send AT commands in minicom

I am trying to use minicom to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom. However, after typing "AT", once I type "Enter"…
martin_0004
  • 1,063
  • 5
  • 12
  • 19
7
votes
2 answers

Run "sudo arduino" with .desktop file

To the close voters: seemingly a dupe, but not quite, at least not of the suggested one: in the linked question, the commands can be added safely to the sudoers file. In case of an IDE, it is a bad idea. So I have installed arduino IDE from the…
Metalzero2
  • 205
  • 1
  • 2
  • 5
7
votes
4 answers

Arduino IDE not connecting to microcontroller

I get this error when trying to connect to an Arduino through a USB serial connection. I'm using the Arduino IDE 1.0.1 and the 64bit version of Ubuntu 12.04. This has been a reoccurring problem since 10.04 and happens to a few other programs that…
JDD
  • 183
7
votes
2 answers

Can not connect Arduino IDE with Arduino Board on Ubuntu 22.04

I have freshly updated my Ubuntu 20.04 to the new 22.04 LTS release. I have installed the Arduino IDE and add my user to the groups tty dialout uucp plugdevs. When I connect my Arduino Nano per USB to my computer, in the Arduino IDE, the entry…
nuri
  • 212
7
votes
4 answers

Ubuntu 20.04 - can't upload Arduino's sketch

After a fresh install of Ubuntu, I tried to upload sketch using Arduino IDE v1.8.16 (installed using a .deb file downloaded from web). An error occurred while uploading the sketch avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or…
guyd
  • 987
6
votes
1 answer

how to permanantly install arduino ide 1.6.5?

I downloaded the zip file arduino-nightly-linux32.tar.xz from here to my desktop.(YOU MAY NEED 64-bit. Ask your computer what it is: 32-bit or 64-bit): I double clicked the arduino-nightly-linux.tar.xz icon and it opened a window that showed the…
MMK
  • 163
6
votes
1 answer

/dev/ttyACM0 : Permission denied error

I'm using an Ubuntu 14.04 and I'm having trouble with port permission for /dev/ttyACM0 . Every time I plug in my arduino uno board to my laptop, I face problems uploading code to the board beacuse I get a 'Permission Denied' error. The problem was…
SY_13
  • 486
  • 4
  • 7
  • 22
6
votes
2 answers

Ch340 keeps disconnecting

I recently bought a esp32 devkit with ch340 USB-UART bridge. After plugging it into the USB port of my Ubuntu 22.04 the serial port /dev/ttyUSB0 repeatedly connects and disconnects. Also, I have tried this on Windows and Fedora where it worked as…
realdebil
  • 61
  • 1
  • 3
1
2 3
9 10