🛠 Premier blink sur une broche sûre (GPIO22)
First contact with the ESP32-H2, Espressif's mesh chip: a single-core 32-bit RISC-V running at up to 96 MHz, 320 KB of SRAM, and above all NO Wi-Fi — only IEEE 802.15.4 radios (Thread, Zigbee) and Bluetooth 5 LE are available. Blink tutorial with arduino-esp32 (board ESP32-H2 Dev Module): choose a safe pin like GPIO22, neither a strapping pin nor a USB pin. Avoid GPIO8: it is the embedded addressable RGB LED on the DevKitM-1 and a strapping pin (along with GPIO9 and GPIO25); a simple digitalWrite will not turn it on, and any load connected to it during reset can cause the boot mode to fail. Avoid GPIO26/27 if you use the USB-C port: they carry the USB-Serial/JTAG (D−/D+). The serial console goes through this same USB 2.0 full speed (12 Mbps), which is also used for flashing and debugging. Remember: 3.3 V logic, 19 GPIOs in total, no DAC. Compile with idf.py -DIDF_TARGET=esp32h2 flash or from the Arduino IDE, and print “H2 alive — no Wi-Fi here” to the console to make it a habit.
Other tutorials for this board
- Pilotez la LED RGB embarquée avec le périphérique RMT
- Beacon BLE 5 : le « hello radio » d'une puce sans Wi-Fi
- Deep-sleep 7 µA : le bouton qui doit être dans le domaine LP
- Interrupteur Zigbee certifié avec l'ESP-Zigbee-SDK
- ADC 12 bits et capteur de température : piège du date code
- Endpoint Matter-over-Thread sur esp-matter