🛠 Première connexion Wi-Fi en MicroPython
Discover C6 Wi-Fi with MicroPython without writing a single line of C. The MicroPython esp32 port officially supports the ESP32-C6: download an ESP32_C6 build from the official website, flash it with esptool, then connect to your network. Essential radio reminder: the C6 only sees the 2.4 GHz band (2412–2484 MHz, 1T1R chain) — if your router only broadcasts on 5 GHz, the connection will fail, so check this before looking for a bug. Minimal code: wlan = network.WLAN(network.STA_IF), wlan.active(True), wlan.connect(ssid, pass), then read the address with wlan.ifconfig. The C6 is Espressif's first tri-radio SoC: Wi-Fi 6 (802.11ax, HE20 mode, up to 150 Mbps PHY), Bluetooth 5 LE, and 802.15.4, all three coexisting on a single shared antenna. Here we only use Wi-Fi. To go further: display the RSSI every second and make the RGB LED on GPIO8 blink according to the connection status, keeping in mind that GPIO8 remains a strapping pin. >
Other tutorials for this board
Code examples for this board
clignotante.inoArduinobouton-led.inoArduinorespiration.inoArduinodht22.inoArduinooled-i2c.inoArduinoserveur-web.inoArduino