==== ESP32 : Install et test ==== == Les vidéos de Tommy Desrochers == * [[https://www.youtube.com/watch?v=zqwnYuOLvsE|ESP32 #1]] * [[https://www.youtube.com/watch?v=U4GaKrsXlPc|ESP32 #2]] * [[https://www.youtube.com/watch?v=J557GmCArrc|ESP32 #3]] * [[https://www.youtube.com/watch?v=DDMQbqPUliY|ESP32 #4]] * [[https://www.youtube.com/watch?v=LkxCr_n3JOw|ESP32 #5]] == Install config sous Linux == * [[https://whadda.com/fr/produit/carte-de-developpement-esp32-wpb109/|Hardware : Whadda ESP32 Development Board]] * Download Aduino IDE: [[https://www.arduino.cc/en/software]] * Unzip : ''$ unzip arduino[...]'' * Launch : ''$ cd arduino[...]'', ''$ ./arduino-ide'' * Menu File -> Preferences -> Additional boards manager URLs: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json * Menu Tools -> Board -> Board Manager... -> search with ESP32, select de most recent version of ESP32 by Espressif Systems, and Install * Menu Tools -> Board -> Esp32 -> ESP32 Dev Module * Menu Tools -> Port -> /dev/ttyUSB0 == Test1 == * Menu File -> example -> ESP32 -> ChipID -> GetChipID * Upload: Menu Sketch -> Upload * Error Msg: ''ModuleNotFoundError: No module named 'serial''' => ''# apt install python3-serial'' * Error msg: ''Failed uploading: no upload port provided'' => ''# /sbin/usermod -aG dialout '' + reboot * Menu Tools -> Serial Monitor * Change to 115200 Baud ESP32 Chip model = ESP32-D0WDQ6 Rev 101 This chip has 2 cores Chip ID: 11493932 * [[https://gist.github.com/plembo/37e0d4c3cabaead6a150e61d6a8c3035]] ==== ESP32-CAM-CH340 ==== [[https://www.cytron.io/tutorial/getting-started-with-esp32-cam]] * Menu File -> Examples -> ESP32 -> Camera -> CameraWebServer * ''#define CAMERA_MODEL_AI_THINKER'' * ''const char *ssid = "Your SSID";'' * ''const char *password = "P4ssw0rd";'' * Menu Tools -> Board -> esp32 -> ESP32 Wrover Module * Menu Tools -> Partition Scheme ->"Huge APP (3MB No OTA/190K SPIFFS)" * Push FLASH, push RST, let RST, let FLASH * Menu Sketch -> Upload * Push RST [[https://microcontrollerslab.com/esp32-cam-take-photo-display-web-server/]]