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

**URL:** <https://forum.xod.io/t/how-to-connect-the-ds3231-time-module-and-lcd-20-4-to-one-arduino-nano/6337>\
**Category:** Hardware Interfacing Questions\
**Created:** [November 20, 2022, 9:39am UTC](https://forum.xod.io/t/how-to-connect-the-ds3231-time-module-and-lcd-20-4-to-one-arduino-nano/6337 "2022-11-20T09:39:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skayrim2603](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/skayrim2603/32/3684_2.png) [@skayrim2603](https://forum.xod.io/u/skayrim2603)\
**Post date:** [November 20, 2022, 9:39am UTC](https://forum.xod.io/t/how-to-connect-the-ds3231-time-module-and-lcd-20-4-to-one-arduino-nano/6337/1 "2022-11-20T09:39:24Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [November 20, 2022, 12:39pm UTC](https://forum.xod.io/t/how-to-connect-the-ds3231-time-module-and-lcd-20-4-to-one-arduino-nano/6337/2 "2022-11-20T12:39:34Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [December 20, 2022, 12:39pm UTC](https://forum.xod.io/t/how-to-connect-the-ds3231-time-module-and-lcd-20-4-to-one-arduino-nano/6337/3 "2022-12-20T12:39:58Z")

</div>

Closed on December 20, 2022, 12:39pm UTC

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