Mise à niveau ESP32
Procédure de mise à niveau Arduino IDE vers Arduino IDE avec support ESP32.
Pour installer, le support ESP32, suivez ces instructions. Attention, elles sont a refaire à chaque profil windows différent qui se connecte à l'ordinateur du lycée.
- Lancer l'IDE Arduino, puis Fichier > Préférences

- Entrer ce qui suit dans le champ "URL de gestionnaire de cartes supplémentaires" :
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Puis cliquer sur OK :

- Ouvrir le gestionnaire de carte. Allez dans Outils > Type de carte > Gestionnaire de carte

- Chercher ESP32 et appuyer sur le bouton Install pour “ESP32 by Espressif Systems“:

ATTENTION CHOISIR LA VERSION 2.0.17 : 
- C'est tout, votre système est maintenant à jour.

Quand on téléverse, on laisse le bouton gauche appuyé.
Tester l'installation
Si cela ne fonctionne pas appuyer sur le bouton BOOT
Plug the ESP32 board to your computer. With your Arduino IDE open, follow these steps:
1. Select your Board in Tools > Board menu (in my case it’s the DOIT ESP32 DEVKIT V1)


2. Select the Port (if you don’t see the COM Port in your Arduino IDE, you need to install the CP210x USB to UART Bridge VCP Drivers):

3. Open the following example under File > Examples > WiFi (ESP32) > WiFiScan

4. A new sketch opens in your Arduino IDE:

5. Press the Upload button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board.

6. If everything went as expected, you should see a “Done uploading.” message.

7. Open the Arduino IDE Serial Monitor at a baud rate of 115200:

8. Press the ESP32 on-board Enable button and you should see the networks available near your ESP32:

Troubleshooting
If you try to upload a new sketch to your ESP32 and you get this error message “A fatal error occurred: Failed to connect to ESP32: Timed out… Connecting…“. It means that your ESP32 is not in flashing/uploading mode.
Having the right board name and COM por selected, follow these steps:
- Hold-down the “BOOT” button in your ESP32 board

- Press the “Upload” button in the Arduino IDE to upload your sketch:

- After you see the “Connecting….” message in your Arduino IDE, release the finger from the “BOOT” button:

- After that, you should see the “Done uploading” message
That’s it. Your ESP32 should have the new sketch running. Press the “ENABLE” button to restart the ESP32 and run the new uploaded sketch.
Créé avec HelpNDoc Personal Edition: Passez au CHM avec l'outil de conversion WinHelp HLP vers CHM de HelpNDoc