Can't connect to an Arduino board


New Member
Hello I have Ubuntu linux and I installed the Arduino IDE on the machine and tried to connect to my board but it couldn't connect. The output at the Arduino IDE was:
avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
I also tried adding my user to the dialout group of the serial port like this:
sudo usermod -a -G dialout [my username]
after running this command nothing changed and I wasn't able to connect.
by the way, that's the permissions of the "ttyUSB0" file after running the command:
crw-rw-rw- 1 root dialout 188, 0 Jan  4 16:46 ttyUSB0
Please help me to solve this, thanks in advance.


New Member
ls -l /dev/ttyUSB0

check that the device is set to dialout gruop

adduser <the user you want to add> dialout

after adding your user to dialout, re-login (just reboot)

Members online

Latest posts