esp32_bme280_w_arduino_ide
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
esp32_bme280_w_arduino_ide [2025/03/06 21:04] – created bruno | esp32_bme280_w_arduino_ide [2025/08/29 14:07] (current) – removed bruno | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== ESP32 + BME280 w/ Arduino IDE ===== | ||
- | |||
- | Sketch > Include Library > Manage Libraries > adafuit bme280 | ||
- | |||
- | (Sketch > Include Library > Manage Libraries > adafuit unified sensor) | ||
- | |||
- | **BMP280 vs BME280** -> https:// | ||
- | |||
- | **5V vs 3.3V** -> https:// | ||
- | |||
- | ** BME280 5V :** | ||
- | |||
- | Connexion BME -> ESP | ||
- | |||
- | ^ BME280 ^ ESP32 | | ||
- | | VCC | 5V | | ||
- | | GND | GND | | ||
- | | SDA | GPIO21| | ||
- | | SCL | GPIO22| | ||
- | |||
- | |||
- | File > Examples > Adafruit BME280 library > bme280test | ||
- | |||
- | Comment lines | ||
- | <code c> | ||
- | //#include < | ||
- | </ | ||
- | et | ||
- | <code c> | ||
- | /*#define BME_SCK 13 | ||
- | #define BME_MISO 12 | ||
- | #define BME_MOSI 11 | ||
- | #define BME_CS 10*/ | ||
- | </ | ||
- | et ajoute 0x76 (ligne 46) | ||
- | <code c> | ||
- | status = bme.begin(0x76); | ||
- | </ | ||
- | |||
- | /!\ Serial monitor @ 9600 baud | ||
esp32_bme280_w_arduino_ide.1741295084.txt.gz · Last modified: 2025/03/06 21:04 by bruno