Arduino Tutorial - Der Einstieg

1. hello world

Learning a programming language generally starts with the output of a simple "Hello World" code. This basic introduction is also often done on an Arduino board by flashing an LED, since the Arduino doesn't have a screen out of the box.

Before doing this, make sure you have downloaded and installed the Arduino IDE (software).

2. connecting the Arduino to the PC

Connect the Arduino board (in the example an Arduino Uno) to your computer via USB cable. The green power LED (PWR) should light up!

3. open the "Blink" sketch

Open the Arduino IDE and select the Blink example under: File>Examples>01.Basics>Blink.

4. selection of the board

Select the appropriate Arduino board used under Tools>Board.

5. selection of the serial port

Select the appropriate port under Tools>Port.

6. uploading the program

Just click on the Upload button and wait a few seconds. The RX and TX LEDs should start blinking. Once the sketch has been successfully uploaded, you will get an "Upload Complete" message.

7. result

A few seconds after the upload is complete, the LED ( in orange) next to pin 13 (L ) should start blinking.

Of course you can also connect a LED directly to the board. Connect the long leg of the LED (positive, anode) to pin 13 and the short leg (negative, cathode) to the Arduino GND.

But please note that depending on the model of the Arduino, the LED must be used in series with a series resistor (330 to 1000 ohms).

Matching products

ABX00087-Arduino-Uno-R4-WiFi-01.jpgABX00087-Arduino-Uno-R4-WiFi-02.jpg
Arduino Arduino Uno R4 WiFi
Sale price25,00 €
In stock, 103 units
ABX00080-Arduino-Uno-R4-Minima-01.jpgABX00080-Arduino-Uno-R4-Minima-02.jpg
Arduino Arduino Uno R4 Minima
Sale price13,00 €
In stock, 78 units
arduino-uno-1_600x600.jpgarduino-uno-2_600x600.jpg
Arduino Arduino Uno R3
Sale price15,00 €
In stock, 105 units

Matching this article

View all
arduino-uno-1_600x600.jpgarduino-uno-2_600x600.jpg
Arduino Arduino Uno R3
Sale price15,00 €
In stock, 105 units
arduinounosmd-flat-org_600x600.jpgarduinounosmd-tri-org_600x600.jpg
Arduino Arduino Uno SMD R3
Sale price13,00 €
In stock, 62 units
arduinonano-flat-org_600x600.jpgarduinonano-tri-org_600x600.jpg
Arduino Arduino Nano
Sale price17,00 €
In stock, 20 units
a000062-arduino-due-1front_600x600.jpga000062-arduino-due-2tri_600x600.jpg
Arduino Arduino Due
Sale price29,00 €
In stock, 35 units
abx00023_iso_1_600x600.jpgabx00023_back_1_600x600.jpg
Arduino Arduino MKR WiFi 1010
Sale price26,00 €
In stock, 19 units
a000053-arduino-micro-1front_600x600.jpga000053-arduino-micro-2tri_600x600.jpg
Arduino Arduino Micro with Headers
Sale price15,00 €
In stock, 13 units
1_a000057-arduino-leonardo-1front_600x600.jpg1_a000057-arduino-leonardo-3tri_600x600.jpg
Arduino Arduino Leonardo (with headers)
Sale price15,00 €
In stock, 21 units
abx00027_iso_600x600.jpgabx00027_front_2_600x600.jpg
Arduino Arduino Nano 33 IoT
Sale price25,40 €
Not in stock, available for backorder
abx00012_iso_02_2_600x600.jpgabx00012_front_2_600x600.jpg
Arduino Arduino MKRZERO with Headers
Sale price29,22 €
Not in stock, available for backorder
Arduino Micro WITHOUT HeadersArduino Micro WITHOUT Headers
Arduino Arduino Micro WITHOUT Headers
Sale price22,00 €
Not in stock, available for backorder
a000079_iso_1__600x600.jpga000079_unbox_1__600x600.jpg
Arduino Arduino Motor Shield Rev3
Sale price18,00 €
In stock, 5 units
ABX00087-Arduino-Uno-R4-WiFi-01.jpgABX00087-Arduino-Uno-R4-WiFi-02.jpg
Arduino Arduino Uno R4 WiFi
Sale price25,00 €
In stock, 103 units