Tested on:Ubuntu Linux 14.04 and 15.1; Arduino Nano v3.1
Hardware:Host Computer with Ubuntu Linux
Arduino Nano
Mini-USB to (standard) USB Type A cable
0

Arduino Mini-Introduction (Linux)

Before the Raspberry Pi frenzy started, the Arduino found the heart of many makers in the world. The devices are fundamentally different, yet may profit from each others different capabilities. An Arduino can handle higher voltages, has more hardware-PWM-Pins than a Raspberry Pi (which is great for Robotics) and runs compiled C code directly instead of booting an operating system, like the Raspberry Pi does. Because of this, the Arduino has a very good time precision, but can’t run Python code or access an operating system.
Out of the different models, the Arduino Nano impressed me most. Look how tiny and beautiful it is:

Arduino Nano

Arduino Nano v3.1

Arduino Software Installation
For installing the Arduino development software, type in the terminal

Setup the Software
After installing the Arduino software, start it with

It may happen that the Software requests permission changes, which should be accepted by clicking Add. Reboot then.
Now, the correct serial port and Arduino model have to be selected. For identifying the serial port, plug in the Arduino now, then enter

in the terminal. The result shold look similar to this:

Arduino Serial Port

Arduino Serial Port


The last line says ...attached to ttyUSB3, so it’s the third USB port ttyUSB3 in this setting, but may be another for you. Select the serial port by clicking Tools, then Serial Port and then the port identified with dmesg.
Now, choose the Arduino board type by clicking Tools, then Board and then the board type of your Arduino (which is Arduino Nano w/ ATmega 328 for a Arduino Nano v3.x).

Let there be light
The Arduino is now ready for its first run. Click File, then Examples, then Basic and Blink finally. The now-open file should look like this:

Arduino Blink

Arduino Blink

Upload and run the code by pressing the upload button (marked with the red arrow) and hold your breath for the blinking LED:

Check the comments in the code for an explanation of the Code.

What’s next?
Maybe control the Arduino from a Raspberry Pi with PyFirmata? Else, here are some fancy Arduino projects for inspiration:

Links
Arduino Website: https://www.arduino.cc/
Arduino project: Gardening: http://www.urbanpotager.com/
Arduino Nano v3.1 Reference: https://www.arduino.cc/en/Main/ArduinoBoardNano
Arduino project: Control the air conditioner: http://www.megunolink.com/articles/arduino-controlled-air-conditioner/
Arduino project: a giant LED cube: http://www.instructables.com/id/Led-Cube-8x8x8/
Arduino project: Mind control: http://www.instructables.com/id/How-to-hack-EEG-toys-with-arduino/
Arduino project: Swimming Robo Snake: http://www.instructables.com/id/Make-a-swimming-Robo-Snake/
PyFirmata: Raspberry Pi-controlled Arduino: http://www.knight-of-pi.org/raspi-ardi-big-love-pyfirmata-introduction/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

Comment

Time limit is exhausted. Please reload CAPTCHA.