45. BMP280 data logger

Build a data logger system using the BMP280 sensor, RTC module, SD cardOLED display, and the microcontroller.

Functionality

  • Interface the BMP280 sensor to read temperature, pressure, and altitude.
  • Interface the RTC module to get the current date and time.
  • Log the collected data (date, time, temperature, pressure, and altitude) to an SD card in .csv format for easy analysis.
  • Display the data (date, time, temperature, pressure, altitude) on an OLED screen, updated every second.

Communication Setup

The microcontroller (Master) communicates with:

  • The SD card and BMP280 sensor (Slaves) using the SPI protocol.
  • The RTC module and OLED display (Slaves) using the I2C protocol.

Example:


 

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!