Which is the best free arduino simulator

Arduino IDE 1.8.13

Anyone who works as a maker with computer-controlled projects should have already noticed the Arduino, which for legal reasons is alternatively called Genuino. It can be used, for example, to control connected motors and LEDs by programming its microcontroller. The code can be written with the open source software Arduino IDE, the development environment for Arduino programming.

Learn to program with Arduino

In the past few years there have been many projects with the Arduino, which can be found under create.arduino.cc, among others. They were also created by pupils and students who learn to program a microcontroller in this way. This is not only reserved for them, because the costs for the Arduino or Genuino are limited, as with the Raspberry Pi. Starter kits, tutorials and books also help you get started.

Boards for various uses

The Arduino board is available in different versions such as Arduino Uno, Arduino Mega, Arduino Zero or Arduino Yún. Accordingly, the Arduino board can be used in a variety of ways to realize playful, scientific or artistic projects. The Arduino is also ideal for the Internet of Things, because the Arduino Zero has WLAN and a crypto chip and can therefore communicate in encrypted form. In addition, his board is quite small and can be stored in a space-saving manner.

Arduino IDE for programming

The Arduino IDE written in Java is not executed on the Arduino microcontroller, but on a computer with Windows, Linux or Mac OS X. This development environment can be used to create programs for the Arduino's microprocessor to control the connected components such as LEDs or motors .

After starting the Arduino IDE, newcomers will find various program examples for the Arduino under "File> Examples", which can be used to learn how to program it. There is also a tutorial and a reference on the Arduino.cc website that explain how to use commands - but only in English. The reference can also be accessed via the Help menu. The graphical programming interface of the development environment below the menu bar offers functions that are often required. The icons for Review, Upload, New, Open, and Save can be found here.

The program examples included range from simple to complex sketches (program drafts) and also introduce programming with libraries. These can be integrated via "include" and support programs that work with the EEPROM, WLAN, the PINs or connected servomotors. The control of finished programs starts with "Sketch> Check / Compile". If everything is ok, nothing stands in the way of uploading the compiled software to the Arduino. However, one should also note that there are several variants of the Arduino. Therefore, before compiling, select the Arduino board connected via USB under "Tools> Board: ...".

Update of the development environment

If a new version of the Arduino IDE comes out, an update is recommended. In Windows, the procedure is the same as for the installation and a message is drawn that the old version must be removed. This happens automatically after clicking the OK button. Then the installation of the new version continues, whereby the saved user data and sketches are retained. They can be displayed via "File> Sketchbook" and selected for editing or transfer to the Arduino.

See also: