ArduInstall – Installing Arduino IDE and ArduBlock quickly and easily

Some time ago I bought a Arduino Nano, and the first thing I did with it was this small set of traffic lights to get familiar with Arduino IDE and with processing, program-specific language in Arduino.

Later I met ArduBlock, a tool to program quickly and easily by dragging blocks from one side to another screen, to finally upload it to the Arduino IDE translated to processing -ready to be compiled.

ardublockWhenever I change machine I need to install Arduino IDE e integrate ArduBlock again, so I have made a script in Bash to automate the task; for now only is compatible with systems GNU/Linux based in Debian.

Screenshot of 2015-04-26 13:59:39You can download the code from this link, to always have the latest version of ArduInstall It is only necessary to install Git and clone the repository that contains the script.

#Instalamos Git.
usuario@maquina:~$ sudo apt-get install git

#Clonamos el repositorio de ArduInstall a nuestro equipo.
usuario@maquina:~$ git clone

Clonar en «ArduInstall»...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9 (delta 2), reused 8 (delta 1), pack-reused 0
Unpacking objects: 100% (9/9), done.
Checking connectivity... hecho.

#Nos movemos al directorio recién descargado, y listamos su contenido
usuario@maquina:~$ cd ArduInstall
usuario@maquina:~$ ls

Finally, we run ArduInstall with the permissions of the user for which you want to install the packages, i.e. without using the tool sudo; once launched the script We must choose the number of one of your options and proceed by pressing the enter key, It is possible that for some options it ask for password.

usuario@maquina:~$ ./ArduInstall

1) Instalar
2) Desinstalar
3) Ejecutar
4) Salir

You can contribute improving the existing code and adding new features; whenever you modifiquéis code is suitable to do a backup in local changes running git commit.

#Definimos nuestro nombre y email:
usuario@maquina:~$ git config --global
usuario@maquina:~$ git config --global peatonet

#Marcamos ArduInstall como  fichero modificado.
usuario@maquina:~$ git add ArduInstall

#Guardamos los cambios y una pequeña descripción de los mismos.
usuario@maquina:~$ git commit -m 'Mejora del menú'

[master 19f4266] descripción mejorada
 1 file changed, 1 insertion(+), 1 deletion(-)

To share your improvements, it is only necessary to send the changes to the server with the following argument to Git, and insert a user and password from GitHub.

usuario@maquina:~$ git push origin master

Username for '': peatonet
Password for '': 
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 292 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
 54f5131..19f4266 master -> master

The changes can be found from the section of the project commits in GitHub and as soon as they are approved, yours will be added to the list of commits and the new version of ArduInstall.

Screenshot of 2015-05-01 13:22:20

If you like you can follow me on Twitter, Facebook, Google +, LinkedIn, or share it with the buttons under this publication, If you have any questions or suggestions please do not hesitate to comment.

Help us to reach more readers Share on LinkedInShare on FacebookTweet about this on TwitterShare on Google+Email this to someone

Leave a Reply