🛠 Faire clignoter la LED de la GIGA R1 WiFi
Objectives
Discover the Arduino GIGA R1 WiFi board (SKU ABX00063): its STM32H747XI dual-core SoC (Cortex-M7 up to 480 MHz + Cortex-M4 up to 240 MHz), its 76 GPIO pins at 3.3 V maximum, and write your very first Arduino sketch. By the end, you will know how to install the core, select the board in IDE 2.x, upload code, and blink the user LED, with or without an external LED.
Hardware
- Arduino GIGA R1 WiFi board (ABX00063)
- USB-C cable (data, not just charging) — the USB-C (USB0) connector, located next to the reset button, is used for programming and the serial port
- The whip u.FL antenna provided in the box (to be screwed onto the u.FL connector: the board has no embedded antenna — not needed for the LED, but get into the habit)
- Optional: 1 LED + 330 Ω resistor on a GPIO pin
Complete code
// Arduino GIGA R1 WiFi — clignotement LED
// Carte IDE : "Arduino Giga R1" (core mbed ou Zephyr, le code est identique)
const int LED = LED_BUILTIN; // LED utilisateur embarquée
const int LED_EXT = 5; // LED externe + 330 ohms vers GND (broche PWM-capable)
void setup {
pinMode(LED, OUTPUT);
pinMode(LED_EXT, OUTPUT);
}
void loop {
digitalWrite(LED, HIGH);
digitalWrite(LED_EXT, HIGH);
delay(200); // 200 ms allumée
digitalWrite(LED, LOW);
digitalWrite(LED_EXT, LOW);
delay(800); // 800 ms éteinte
}
Expected verification
The user LED blinks with a short/long pattern (200 ms / 800 ms). The green power LED remains lit. On your PC, the board is detected via USB (Arduino VID 0x2341) and appears in the IDE's serial monitor. If you wired the external LED, it blinks in unison — don't forget the resistor: each I/O pin is limited to 8 mA.
Common errors
- Wrong board selected: make sure to choose "Arduino Giga R1" in the Board Manager (the platform name is "Giga R1" while the product is called GIGA R1 WiFi — this is normal, it's the core name).
- Charging-only cable: many USB-C cables do not have data lines; the board powers up but cannot be programmed.
- External LED without a resistor or driving a relay directly: the limit is 8 mA per pin, well below classic AVR boards; you need a transistor or a driver.
- 5 V signal applied to a pin: the entire board is 3.3 V, Arduino explicitly reminds us of this; a standard 5 V shield is not compatible without adaptation.
Other tutorials for this board
Code examples for this board
clignotante.inoArduinobouton.inoArduinorespiration.inoArduinoanalogique.inoArduinodac-onde.inoArduinooled-i2c.inoArduino