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).

Passend dazu

ABX00087-Arduino-Uno-R4-WiFi-01.jpgABX00087-Arduino-Uno-R4-WiFi-02.jpg
Arduino Arduino Uno R4 WiFi
Sale price24,00 €
In stock
ABX00080-Arduino-Uno-R4-Minima-01.jpgABX00080-Arduino-Uno-R4-Minima-02.jpg
Arduino Arduino Uno R4 Minima
Sale price16,50 €
In stock
arduino-uno-1_600x600.jpgarduino-uno-2_600x600.jpg
Arduino Arduino Uno R3
Sale price22,00 €
In stock

Passend zu diesem Artikel

View all
arduino-uno-1_600x600.jpgarduino-uno-2_600x600.jpg
Arduino Arduino Uno R3
Sale price22,00 €
In stock
a000067-arduino-mega-2560-1front_600x600.jpga000067-arduino-mega-2560-2back_600x600.jpg
Arduino Arduino Mega 2560 R3
Sale price29,90 €
In stock
arduinounosmd-flat-org_600x600.jpgarduinounosmd-tri-org_600x600.jpg
Arduino Arduino Uno SMD R3
Sale price19,80 €
In stock
arduinonano-flat-org_600x600.jpgarduinonano-tri-org_600x600.jpg
Arduino Arduino Nano
Sale price19,50 €
In stock
a000062-arduino-due-1front_600x600.jpga000062-arduino-due-2tri_600x600.jpg
Arduino Arduino Due
Sale price38,50 €
In stock
abx00023_iso_1_600x600.jpgabx00023_back_1_600x600.jpg
Arduino Arduino MKR WiFi 1010
Sale price25,13 €
In stock
abx00028_iso_2_600x600.jpgabx00028_back_2_600x600.jpg
Arduino Arduino Nano Every
Sale price9,95 €
In stock
a000053-arduino-micro-1front_600x600.jpga000053-arduino-micro-2tri_600x600.jpg
Arduino Arduino Micro with Headers
Sale price18,90 €
In stock
1_a000057-arduino-leonardo-1front_600x600.jpg1_a000057-arduino-leonardo-3tri_600x600.jpg
Arduino Arduino Leonardo (with headers)
Sale price20,00 €
In stock
abx00027_iso_600x600.jpgabx00027_front_2_600x600.jpg
Arduino Arduino Nano 33 IoT
Sale price19,80 €
In stock
abx00021_front_2_600x600.jpgabx00021_back_600x600.jpg
Arduino Arduino Uno WiFi Rev2
Sale price38,50 €
In stock
ABX00069_Arduino_Nano_33_BLE_Sense_01.jpgABX00069_Arduino_Nano_33_BLE_Sense_02.jpg
Arduino Arduino Nano 33 BLE Sense REV2
Sale price38,00 €
In stock