Skip to content

Technik Blog

Programmieren | Arduino | ESP32 | MicroPython | Python | Raspberry Pi | Raspberry Pi Pico

Menu
  • About me
  • Contact
  • Deutsch
  • English
Menu

Arduino Lesson #1 – setup & install Arduino IDE

Posted on 25. September 202210. March 2024 by Stefan Draeger

In this post, I want to show you how to setup the Arduino IDE 2.0 on your computer and install the Arduino UNO microcontroller.

Arduino Lesson #1 - setup & install Arduino IDE
Arduino Lesson #1 – setup & install Arduino IDE

  • Requirements for Arduino IDE
  • Download Arduino IDE to install at Microsoft Windows
  • Install via MSI-File
  • Buy a microcontroller
  • Connect Arduino UNO and write a tiny program
  • Control onboard LED from Arduino UNO R3

Requirements for Arduino IDE

You can download and unzip the Arduino IDE for Microsoft Windows, Linux and macOS. If you want to run this at Linux, you need some grants to get access to serial ports. At Microsoft Windows you have two options to install this tool, one is simple to unzip at a folder the other one is to install via EXE-File or MSI-File there you need grants to install software and drivers.

Download Arduino IDE to install at Microsoft Windows

First goto webpage https://www.arduino.cc/en/software and select “Windows Win 10 and newer, 64 bits” or “Windows MSI installer”.

choose version to download
choose version to download

In my case, I click at “Windows MSI installer“, and the site below will be displayed. If you want to support the Arduino Project you can spend some money by click at “CONTRIBUTE & DOWNLOAD” if you only want to download you just click at “JUST DOWNLOAD”, i both cases you get the latest version of Arduino IDE 2.0.

support Arduino Project before download
support Arduino Project before download

If the 162 MB file is downloaded, you can open this by a double click and start install process.

Install via MSI-File

first step - install Arduino IDE 2.0
first step – install Arduino IDE 2.0

When the installer is started, you have to wait till the hole configuration is loaded, this will take some minutes. There you can see a small window with the actual state.

desktop icon from Arduino IDE 2.0
desktop icon from Arduino IDE 2.0

When this step is done, you can find a new icon at your desktop like below.

set grants to retrieve more functions from internet
set grants to retrieve more functions from internet

Now you have to run this tool first and some more install have to install. The first one is to get access to internet for this tool.

install main Arduino USB Driver
install main Arduino USB Driver

If you allow this, you have to install the Arduino USB Driver.

If the driver is installed, the installation process is done, and you can code your first program.

Buy a microcontroller

You can buy a original Arduino UNO R3 at https://store.arduino.cc/collections/boards/products/arduino-uno-rev3 for current €24 with shipping cost to your country. If you doenst have so much experience with coding for microcontrollers and cuircuit i would prefer a cheap clone from china. This clone is cheap and have the same functions like the original. You can find them at ebay.de from €5*.

Note from me: The links marked with an asterisk (*) are affiliate links. If you make a purchase through these links, I will receive a small commission to help support this blog. The price for you remains unchanged. Thank you for your support!

Arduino UNO clone
Arduino UNO clone
original Arduino UNO
original Arduino UNO

At amazone.de you can find some kits with electric parts, shields and modules and a Arduino UNO this is for beginners very useful. I’ve bought such a kit for 5 years as a beginner and I think it was very useful.

Connect Arduino UNO and write a tiny program

Now we want to write a tiny program that’s only write the text “Hello World!” to the serial interface.

void setup() {
  //start serial communication with 9600 baud
  Serial.begin(9600);
}

void loop() {
  //send text to the serial interface
  Serial.println("Hello World!");
  //make a short brake with 500 milliseconds
  delay(500);
}

Before you can run this, you have to select your board.

select board Arduino UNO in Arduino IDE 2.0
select board Arduino UNO in Arduino IDE 2.0

The new Arduino IDE 2.0 can display the board name from none official boards. The “old” IDE doesn’t display the board name if it’s not official.

With the arrow from the toolbar, you can upload your code to your device. If it’s done, you can click at the magnifier symbol at the right site, you can open the “Serial Monitor” and now see your output from your code.

serial output in Arduino IDE 2.0
serial output in Arduino IDE 2.0

Control onboard LED from Arduino UNO R3

Next, we want to control the onboard SMD LED from our Arduino UNO R3. This tiny LED is assembled to the digital pin 13 at your board.

ArduinoUNO Pinout
Arduino UNO Pinout

A digital pin can have two state HIGH and LOW. With the function digitalWrite(<PIN>, <STATE>) you can set this state. To make a LED blink, we only have to execute this command with a certain delay. But first you have to define the direction of this pin. For an LED you have to set this as output.

void setup() {
  //start serial communication with 9600 baud
  Serial.begin(9600);
  //direction of the digital pin 13
  pinMode(13, OUTPUT);
}

void loop() {
  //send text to the serial interface
  Serial.println("LED ON");
  //set digital pin 13 as HIGH, activate the onboard LED
  digitalWrite(13, HIGH);
  //make a short brake with 500 milliseconds
  delay(500);
    //send text to the serial interface
  Serial.println("LED OFF");
  //set digital pin 13 as LOW, deactivate the onboard LED
  digitalWrite(13, LOW);
  //make a short brake with 500 milliseconds
  delay(500);
}

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Fragen oder Feedback?

Du hast eine Idee, brauchst Hilfe oder möchtest Feedback loswerden?
Support-Ticket erstellen

Newsletter abonnieren

Bleib auf dem Laufenden: Erhalte regelmäßig Updates zu neuen Projekten, Tutorials und Tipps rund um Arduino, ESP32 und mehr – direkt in dein Postfach.

Jetzt Newsletter abonnieren

Unterstütze meinen Blog

Wenn dir meine Inhalte gefallen, freue ich mich über deine Unterstützung auf Tipeee.
So hilfst du mit, den Blog am Leben zu halten und neue Beiträge zu ermöglichen.

draeger-it.blog auf Tipeee unterstützen

Vielen Dank für deinen Support!
– Stefan Draeger

Categories

Links

Blogverzeichnis Bloggerei.de TopBlogs.de das Original - Blogverzeichnis | Blog Top Liste Blogverzeichnis trusted-blogs.com

Stefan Draeger
Königsberger Str. 13
38364 Schöningen

Tel.: 01778501273
E-Mail: info@draeger-it.blog

Folge mir auf

  • Impressum
  • Datenschutzerklärung
  • Disclaimer
  • Cookie-Richtlinie (EU)
©2025 Technik Blog | Built using WordPress and Responsive Blogily theme by Superb
Cookie-Zustimmung verwalten
Wir verwenden Cookies, um unsere Website und unseren Service zu optimieren.
Funktional Always active
Die technische Speicherung oder der Zugang ist unbedingt erforderlich für den rechtmäßigen Zweck, die Nutzung eines bestimmten Dienstes zu ermöglichen, der vom Teilnehmer oder Nutzer ausdrücklich gewünscht wird, oder für den alleinigen Zweck, die Übertragung einer Nachricht über ein elektronisches Kommunikationsnetz durchzuführen.
Vorlieben
Die technische Speicherung oder der Zugriff ist für den rechtmäßigen Zweck der Speicherung von Präferenzen erforderlich, die nicht vom Abonnenten oder Benutzer angefordert wurden.
Statistiken
Die technische Speicherung oder der Zugriff, der ausschließlich zu statistischen Zwecken erfolgt. Die technische Speicherung oder der Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Zustimmung deines Internetdienstanbieters oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen allein in der Regel nicht dazu verwendet werden, dich zu identifizieren.
Marketing
Die technische Speicherung oder der Zugriff ist erforderlich, um Nutzerprofile zu erstellen, um Werbung zu versenden oder um den Nutzer auf einer Website oder über mehrere Websites hinweg zu ähnlichen Marketingzwecken zu verfolgen.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Einstellungen anzeigen
{title} {title} {title}