What is Arduino?
Arduino It is a platform hardware libre, based on a plate with a microcontroller and a development environment, designed to facilitate the use of electronics in multidisciplinary projects.2 3
He hardware It consists of a board with a microcontroller Atmel AVR and ports of entry/exit.4 The most used microcontrollers are Atmega168, Atmega328, Atmega1280, ATmega8 for its simplicity and low cost that allow the development of multiple designs. On the other hand, the software consists of a development environment that implements the programming languageProcessing/Wiring and the bootloader which is executed on the plate.4
We install dependencies:
srokitoh@redorbita:~# udo apt-get install openjdk-6-jre gcc-avr avr-libc avrdudeWe have several options to install Arduino IDE.
From repositories:
rokitoh@redorbita:~# sudo apt-get install arduinoFrom the official website:
rokitoh@redorbita:~# wget http://arduino.cc/download.php?f=/arduino-1.0.6-linux32.tgz
rokitoh@redorbita:~# tar xvf arduino-1.0.6-linux32.tar
rokitoh@redorbita:~# mv arduino-1.0.6 /opt/To run it:
rokitoh@redorbita:~# /opt/arduinoWe connect our Arduino board via USB and check that it charges
rokitoh@redorbita:~# dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.739903] 0000:00:16.3: ttyS0 at I/O 0x5050 (irq = 17) is a 16550A
[ 837.313543] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
We add our user to the group
rokitoh@redorbita:~# usermod -a -G dialout <nuestro usuario>Once our Arduino IDE software has started we will: Tools > Serial Port > /dev/ ttyACM0
and we can start working with it
All the best.
Comments