49. Multi-Slave I2C Communication

Set up I2C communication between an Arduino Uno (Master) and three I2C slave devices:

  1. RTC module (e.g., DS1307) for real-time date and time.
  2. BMP180 sensor for environmental data (temperature, pressure, altitude).
  3. OLED display (SSD1306) to display data.

Tasks

  • Read the date and time from the RTC module.
  • Read pressure, temperature, and altitude from the BMP180 sensor.
  • Display the date, time, pressure, temperature, and altitude on the OLED screen.
  • Update all the readings for each second.

 Example

           

Submit Your Solution