Skip to content

Based on ESP32 Board (dev / C3 or S3) and the new BOSCH BMP2 - API

Notifications You must be signed in to change notification settings

SFeli/ESP32_IDF_BMP2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMP2 API

This example shows how to use the new BOSCH - API 'BMP2' with a BMP280 - Sensor.

Setup

How to use example

Set the Bord which you are using: e.g. Run `idf.py set-target esp32c3'

Note: For ESP32 - Board you can now user Platformio - since the ide supports the functions.

Configure the project

Open the project configuration menu (idf.py menuconfig). In the Example Configuration menu:

  • Set the connected PINs in the configuration.
    • Set I2C_MASTER_SCL.
    • Set I2C_MASTER_SDA.

Optional: If you need, change the other options according to your requirements.

Build and Flash

Build the project and flash it to the board, then run the monitor tool to view the serial output:

Run idf.py -p PORT flash monitor to build, flash and monitor the project.

(To exit the serial monitor, type Ctrl-].)

See the Getting Started Guide for all the steps to configure and use the ESP-IDF to build projects.

Example Output

Note that the output, in particular the order of the output, may vary depending on the environment.

Console output if the Sensor is connected and working: Setup

About

Based on ESP32 Board (dev / C3 or S3) and the new BOSCH BMP2 - API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages