Skip to content

Commit 7b6cd61

Browse files
authored
Merge pull request #329 from arduino/karlsoderby/ide-2-getting-started
[MKC-521] IDE 2.0 getting started
2 parents e909840 + b2aea30 commit 7b6cd61

File tree

12 files changed

+140
-7
lines changed

12 files changed

+140
-7
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
---
2+
title: 'Getting Started with Arduino IDE 2.0'
3+
difficulty: easy
4+
description: 'An introductory guide to the Arduino IDE 2.0.'
5+
tags:
6+
- Arduino IDE 2
7+
- Software Tools
8+
author: 'Karl Söderby'
9+
---
10+
11+
Makers, students & professionals have been using the classic Arduino IDE (Integrated Development Environment) ever since Arduino was born.
12+
13+
The Arduino IDE 2.0 is an improvement of the classic IDE, with increased performance, improved user interface and many new features, such as [autocompletion](/software/ide-v2/tutorials/ide-v2-autocomplete-feature), a [built-in debugger](/software/ide-v2/tutorials/ide-v2-debugger) and [syncing sketches with Arduino Cloud](/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync).
14+
15+
In this guide, we will cover the basics of the Arduino IDE 2.0, where you will find links to more detailed resources on how to use specific features!
16+
17+
***You can download the IDE 2.0 from the [Arduino Software page](https://www.arduino.cc/en/software#experimental-software).***
18+
19+
***You can also follow the [downloading and installing the Arduino IDE 2.0](/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing) tutorial for more detailed guide on how to install the editor.***
20+
21+
## Requirements
22+
23+
- [Arduino IDE 2.0](https://www.arduino.cc/en/software#future-version-of-the-arduino-ide) installed.
24+
25+
## Overview
26+
27+
The Arduino IDE 2.0 features a new sidebar, making the most commonly used tools more accessible.
28+
29+
![Arduino IDE 2.0](assets/ide-2-overview.png)
30+
31+
- **Verify / Upload** - compile and upload your code to your Arduino Board.
32+
- **Select Board & Port** - detected Arduino boards automatically show up here, along with the port number.
33+
- **Sketchbook** - here you will find all of your sketches locally stored on your computer. Additionally, you can sync with the [Arduino Cloud](https://cloud.arduino.cc/), and also obtain your sketches from the online environment.
34+
- **Boards Manager** - browse through Arduino & third party packages that can be installed. For example, using a MKR WiFi 1010 board requires the `Arduino SAMD Boards` package installed.
35+
- **Library Manager** - browse through thousands of Arduino libraries, made by Arduino & its community.
36+
- **Debugger** - test and debug programs in real time.
37+
- **Search** - search for keywords in your code.
38+
- **Open Serial Monitor** - opens the Serial Monitor tool, as a new tab in the console.
39+
40+
## Features
41+
42+
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.
43+
44+
### Sketchbook
45+
46+
![Arduino Sketchbook.](assets/local-sketchbook.png)
47+
48+
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`.
49+
50+
Typically, your sketches are saved in a folder named `Arduino` in your `Documents` folder.
51+
52+
To access your sketchbook, click on the **folder icon** located in the sidebar.
53+
54+
### Boards Manager
55+
56+
![Boards Manager.](assets/board-manager.png)
57+
58+
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.
59+
60+
There are several Arduino board packages available, such as **avr, samd, megaavr** and more.
61+
62+
***To learn more about the Boards Manager, visit the [Installing new boards tutorial](/software/ide-v2/tutorials/ide-v2-board-manager).***
63+
64+
65+
### Library Manager
66+
67+
![Library Manager.](assets/library-manager.png)
68+
69+
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.
70+
71+
***To learn more about the library manager, visit the [Installing libraries tutorial](/software/ide-v2/tutorials/ide-v2-installing-a-library).***
72+
73+
### Serial Monitor
74+
75+
![Serial Monitor.](assets/serial-monitor.png)
76+
77+
The Serial Monitor is a tool that allows you to view data streaming from your board, via for example the `Serial.print()` command.
78+
79+
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.
80+
81+
***To learn more about the Serial Monitor, visit the [Serial Monitor tutorial](/software/ide-v2/tutorials/ide-v2-serial-monitor).***
82+
83+
### Serial Plotter
84+
85+
![Serial Plotter.](assets/potentiometer-plotter.gif)
86+
87+
The Serial Plotter tool is great for visualizing data using graphs, and to monitor for example peaks in voltage.
88+
89+
You can monitor several variables simultaneously, with options to enable only certain types.
90+
91+
***To learn more about the Serial Plotter, visit the [Serial Plotter tutorial](/software/ide-v2/tutorials/ide-v2-serial-plotter).***
92+
93+
### Debugging
94+
95+
![Debugger tool.](assets/playpause.gif)
96+
97+
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.
98+
99+
***To learn more about the debugger tool, visit the [Debugging tutorial](/software/ide-v2/tutorials/ide-v2-debugger).***
100+
101+
### Autocompletion
102+
103+
![Autocompletion tool.](assets/autocomplete.png)
104+
105+
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.
106+
107+
Note that you always need to select your board for autocompletion to work.
108+
109+
***To learn more about the Autocompletion tool, visit the [Autocompletion tutorial](/software/ide-v2/tutorials/ide-v2-autocomplete-feature).***
110+
111+
### Remote Sketchbook
112+
113+
![Push and pull your sketches.](assets/remote-sketchbook.gif)
114+
115+
The Remote Sketchbook feature lets you sync sketches from your [Arduino Cloud](https://cloud.arduino.cc/) sketchbook with your local computer. To enable this feature, you will need to login to your Arduino Cloud account.
116+
117+
***To learn more about the Remote Sketchbook feature, visit the [Synchronizing Sketches tutorial](/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync).***
118+
119+
### Firmware & Certificate Uploader
120+
121+
![Firmware & Certificate Uploader.](assets/fw-cert-upload.png)
122+
123+
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.
124+
125+
***To learn more, visit the [Firmware & Certificate Uploader tutorial](/software/ide-v2/tutorials/ide-v2-fw-cert-uploader).***
126+
127+
## Contribute
128+
129+
The Arduino IDE 2.0 is an open-source project that is free for anyone to download. You can contribute to the project through [donations](https://www.arduino.cc/en/donate/), or by reporting issues at [our GitHub repository](https://github.com/arduino/arduino-ide).
130+
131+
## Conclusion
132+
133+
In this guide, we have presented a series of features & more detailed articles to follow, so that you can enjoy each and every one of the features included in the IDE 2.0.

scripts/validation/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)