48. Multi-Master interface with I2C 16x2-LCD

Set up I2C communication between a slave 16x2 LCD with an I2C module and two Master Arduino UNO boards.

Master 1 (Arduino UNO)

  • It will print the system start time on the LCD’s line 1.

Master 2 (Arduino UNO)

  • A potentiometer is connected.
  • It will print the potentiometer's ADC value on the LCD’s line 2.

Ensure proper I2C communication. Display the ADC value and system start time on the same I2C 16x2 LCD.

Note

  • You can use the PCF8574 IIC/I2C module for the LCD16x2.

Example


 

Submit Your Solution