Setup Arduino on Debian

Some notes on setting up Arduino on Debian.

Add yourself to the required groups – dialout and tty.

sudo adduser $USER dialout
sudo adduser $USER tty

Confirm the port /dev/ttyUSB0 is being used by Arduino – tail messages then plug in the Arduino.

sudo tail -f /var/log/messages

# you should see something like:
FTDI USB Serial Device converter now attached to ttyUSB0

# out of interest, inspect permissions on port
ls -al /dev/ttyUSB0

Logout and login (or run a login shell). Confirm permissions.

zsh -l

# you should see something like:

Install Arduino pre-requisites.

sudo aptitude install arduino arduino-core

If preferred, download the latest Arduino environment, run the shell script to start it.

cd ~/arduino-1.0.5

Set the serial port (Tools -> Serial Port) to /dev/ttyUSB0. Any problems doing this, edit the serial port setting in ~/.arduino/preferences.txt

Hello World – upload Blink (File -> Examples -> 01.Basics -> Blink) to your Arduino, go crazy with that flashing LED!

Tags: ,

Share This


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>