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

Set up I2C Communication Between a Slave 16x2 LCD and Two Master Microcontrollers

Master 1

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

Master 2

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

Ensure proper I2C communication between both masters and the slave.
Display the ADC value and system start time(Uptime)  on the same I2C 16x2 LCD.

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


 

Submit Your Solution

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