Arduino IDE It is the development environment that is offered to us for the development of the code to program the Arduino microcontrollers and boards. On the other hand, ArduBlock is a complement for the Arduino IDE that allows us to use a graphic language to program the boards, instead of learning a whole programming language. With ArduBlock it is possible to program this famous board to those who do not have knowledge of the programming language, so it is a good helper for development. Now we will explain in detail how it is installed in Linux. First of all, to say that the web offers different versions of Arduino IDE in source code tarball packages to install on any distribution. If you use Ubuntu, it may be easier for you to find Arduino IDE in the Software Center and install it with just one click, the same happens with other distributions such as SuSE and openSuSE where it can be easily installed from YaST, otherwise you should do the following:
- Imagine that the downloaded package is called “arduino-0018-64-2.tgz”And that is in the Downloads directory, the first thing to do is extract the compressed directory.
- Now we access inside it and we should see a file called "Arduino”, Which we have to make sure that it has execution permissions by clicking the right mouse button and accessing Properties. In the Permissions tab, the corresponding box must be checked to allow its execution.
- Then we go to the console and go to the directory where the executable is located. For example, in my case typing the command cd followed by the address "cd Downloads / arduino-0018-64-2”. Pressing ENTER the prompt will change with the appropriate address. Remember to write the commands without quotes.
- Now we can type "./Arduino”And the Arduino IDE will open.
- Then we go to the second part, install ArduBlock (previously we must have the package installed OpenJDK Java in our system). The first thing is download java file.
- From the Arduino IDE graphical interface, we click on the menu Archive and then we access Preferences. There we will see where we should host the .jar file, which normally in Linux is “/ Home / username / sketchbook”. If we access this directory, you will be able to create another directory inside that is called "tools”, Without quotes and respecting lowercase. Within "tools"You create another called"ArduBlockTool”Also respecting upper and lower case. Within it, we again created another call "tool"And inside we will copy and paste the file"ardublock-all.jar”That we downloaded. That is, the address should be something like /Home/username/sketchbook/tools/ArduBlockTool/tool/ardublock-all.jar.
- This was the last step, now if you go back to the Arduino IDE graphical interface, in the menu Tools you will see that a new entry appears called ArduBlock and if you click on it, the new graphic editor will open.
I hope this mini tutorial helps you and you enjoy your Arduino projects from Linux. If you want to see a free arduino course, you can download it from here.
More information - Axion Alpha open-source cinema cameras
Fantastic. Although I have installed the sketchbook in the root user, everything has worked for me the first time. Thanks a lot!
Now I just have to get debian to allow me to access the serial and usb ports ... I did it once, and I will do it again, I suppose. I had to reinstall debian and lost the settings and now it's time to put everything back into operation.
problem connecting arduino board in linux
Perfect .. thanks, now how do I configure the serials in opensuse? Thanks
Hi Isaac: I followed the steps you indicate is giving me this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Editor.setText (Ljava / lang / String;) V
at com.ardublock.ArduBlockTool.didGenerate (ArduBlockTool.java:62)
at com.ardublock.core.Context.didGenerate (Context.java:253)
at com.ardublock.ui.listener.GenerateCodeButtonListener.actionPerformed (GenerateCodeButtonListener.java:174) and on….
Is the java version what is wrong? Greetings!