🛠 Faire clignoter la LED de l'Arduino GIGA R1
Objectives
Discover the Arduino GIGA R1 WiFi (reference ABX00063), Arduino's high-end board based on a dual-core ST STM32H747XI (Cortex-M7 at 480 MHz + Cortex-M4 at 240 MHz). In this tutorial, you will install the appropriate Arduino core, upload your first program, and blink the onboard LED to validate the entire tool-board chain.
Hardware
- 1 Arduino GIGA R1 WiFi board
- 1 USB-C data cable (a charge-only cable prevents uploading)
- A PC with Arduino IDE 2.x
- Optional: 1 external LED + 330 Ω resistor to connect to a GPIO pin — important reminder: the entire board uses 3.3 V logic, not 5 V
Complete Code
// GIGA R1 WiFi — clignotement de la LED embarquée (cœur Arduino Mbed OS Giga Boards)
#include <Arduino.h>
void setup {
pinMode(LED_BUILTIN, OUTPUT); // LED utilisateur embarquée
Serial.begin(115200); // console sur le port USB-C
}
void loop {
digitalWrite(LED_BUILTIN, HIGH);
Serial.println("LED allumée");
delay(500);
digitalWrite(LED_BUILTIN, LOW);
Serial.println("LED éteinte");
delay(500);
}
Install via the Boards Manager "Arduino Mbed OS Giga Boards" (or "Arduino Zephyr Boards" for the new Zephyr+LLEXT core), select the "Arduino Giga R1" board, then upload.
Expected Verification
The user LED blinks once per second (500 ms on, 500 ms off). Opening the Serial Monitor at 115200 bauds displays the alternation "LED on / LED off". The board's power indicator remains permanently lit.
Common Errors
- Wrong board selected in the Boards Manager: uploading fails (the GIGA uses DFU, application PID 0x0666, bootloader PID 0x0366, VID 0x2341).
- Charge-only USB-C cable: no serial communication or uploading.
- Core confusion: with the Zephyr core, the first upload automatically installs the bootloader (core ≥ 0.90.0) and may take longer.
- External LED connected without a resistor or powered at 5 V: the board is 3.3 V, mechanically compatible Mega/Due shields may not work.
Other tutorials for this board
- Bouton poussoir et console série sur le GIGA R1
- Potentiomètre et sortie DAC sur la prise audio du GIGA R1
- Piloter un micro-servo avec la PWM du GIGA R1
- Connecter un capteur I2C sur le GIGA R1
- Publier des données en MQTT/HTTP via le Wi-Fi du GIGA R1
- Programmer les deux cœurs M7 et M4 du GIGA R1 et les faire communiquer
Code examples for this board
clignotante.inoArduinobouton.inoArduinorespiration.inoArduinoanalogique.inoArduinodac-onde.inoArduinooled-i2c.inoArduino