The new major release of the Arduino IDE is faster and even more powerful. In addition to a more modern editor and a more responsive interface it features autocompletion, code navigation, and even a live debugger. The Arduino IDE 2.0 features a new sidebar, making the most commonly used tools more accessible.
Tutorials and guides for the Arduino IDE 2.0 can be found here.
The Arduino IDE 2.0 is a versatile editor with many features. You can install libraries directly, sync your sketches with Arduino Cloud, debug your sketches and much more. In this section, some of the core features are listed, along with a link to a more detailed article.
- Your sketchbook is where your code files are stored. Arduino sketches are saved as .ino files, and must be stored in a folder of the exact name. For example, a sketch named my_sketch.ino must be stored in a folder named my_sketch. Typically, your sketches are saved in a folder named Arduino in your Documents folder. To access your sketchbook, click on the folder icon located in the sidebar.
- With the Boards Manager, you can browse and install packages, or "cores" for your boards. A board package is always required when compiling and uploading code for your board. There are several Arduino board packages available, such as avr, samd, megaavr and more.
- With the library manager you can browse and install thousands of libraries. Libraries are extensions of the Arduino API, and makes it easier to for example control a servo motor, read specific sensors, or use a Wi-Fi module.
- The Serial Monitor is a tool that allows you to view data streaming from your board, via for example the Serial.print() command. Historically, this tool has been located in a separate window, but is now integrated with the editor. This makes it easy to have multiple instances running at the same time on your computer.
- The Serial Plotter tool is great for visualizing data using graphs, and to monitor for example peaks in voltage. You can monitor several variables simultaneously, with options to enable only certain types.
- The debugger tool is used to test and debug programs, hence the name. It can be used to navigate through a program's execution in a controlled manner.
- Autocompletion is a must-have for code editors, and the 2.0 version comes well equipped. When writing code, this is useful to understand more about the elements of the Arduino API. Note that you always need to select your board for autocompletion to work.
- The Remote Sketchbook feature lets you sync sketches from your Arduino Cloud sketchbook with your local computer. To enable this feature, you will need to login to your Arduino Cloud account.
Firmware & Certificate Uploader
- You can upgrade and downgrade the firmware version for your Wi-Fi boards (with a NINA module), and upload SSL Root Certificates directly in the IDE.
- Bump Arduino Firmware Uploader dependency to 2.4.1 (#2206)
- Fix missing translations for ÑÑÑÑÐºÐ¸Ð¹ and Türkçe (#2201)