How to connect the ds3231 time module and LCD 20 4 to one arduino nano?

Hello everyone, when working with arduino nano using the XOD program, I came across such a trouble. How do I connect a ds3231 real-time module and an LCD 20 4 module with an i2C bus to one arduino nano at once?

So long as the DS3231 RTC and the LCD 20x4 have different addresses, you can connect them to the same I2C bus. The Arduino Nano has the I2C bus on pins A4 (SDA: serial data line) and A5 (SCL: serial clock line).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.