esp32
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
esp32 [2025/03/06 20:28] – bruno | esp32 [2025/08/29 14:08] (current) – removed bruno | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Préambule ==== | ||
- | |||
- | Les vidéos de Tommy Desrochers: | ||
- | |||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||
- | ==== Installation ==== | ||
- | |||
- | === Install config sous Linux === | ||
- | |||
- | Sous Debian 12, lors du 1er test, j'ai reçu ces deux messages d' | ||
- | |||
- | * Error Msg: '' | ||
- | * Error msg: '' | ||
- | |||
- | |||
- | On va donc, d' | ||
- | |||
- | * ''# | ||
- | * ''# | ||
- | |||
- | Suivi de l' | ||
- | |||
- | * Download Aduino IDE: [[https:// | ||
- | * Unzip : '' | ||
- | * Launch : '' | ||
- | * Menu File -> Preferences -> Additional boards manager URLs: https:// | ||
- | * 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 -> / | ||
- | |||
- | ==== Test ==== | ||
- | |||
- | * Menu File -> example -> ESP32 -> ChipID -> GetChipID | ||
- | * Upload: Menu Sketch -> Upload | ||
- | * Menu Tools -> Serial Monitor | ||
- | * Change to 115200 Baud | ||
- | |||
- | < | ||
- | ESP32 Chip model = ESP32-D0WDQ6 Rev 101 | ||
- | This chip has 2 cores | ||
- | Chip ID: 11493932 | ||
- | </ | ||
- | |||
- | ==== Serial Output ==== | ||
- | |||
- | <code c> | ||
- | void setup() { | ||
- | Serial.begin(115200); | ||
- | while (!Serial) continue; | ||
- | Serial.println(" | ||
- | } | ||
- | void loop() { | ||
- | } | ||
- | </ | ||
- | |||
- | ==== K2000 ==== | ||
- | [26/ | ||
- | |||
- | Suite illogique des pins GPIO | ||
- | |||
- | GPIO-1 en OUTPUT -> conflit avec sortie serial | ||
- | <code c> | ||
- | #include < | ||
- | const float pi = 3.14159; | ||
- | const int ledPin[7] = {5, | ||
- | |||
- | void setup() { | ||
- | for (int i=0; i<7; i++) { | ||
- | pinMode (ledPin[i], OUTPUT); | ||
- | } | ||
- | } | ||
- | |||
- | void loop() { | ||
- | for (float ang=-pi; ang<pi; ang=ang+(2*pi/ | ||
- | int led = (1+std:: | ||
- | digitalWrite (ledPin[led], | ||
- | delay(1); | ||
- | digitalWrite (ledPin[led], | ||
- | } | ||
- | } | ||
- | </ | ||
- | |||
esp32.1741292893.txt.gz · Last modified: 2025/03/06 20:28 by bruno