D
D
Denis Yulamanov2020-05-19 10:41:31
Arduino
Denis Yulamanov, 2020-05-19 10:41:31

How to change pin for RTC3231?

There is an RTC3231 module that works from A5 and A4 by default, but these two pins are already taken by me. How to change the pins so that the module works from A3 and A2?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Serg New, 2020-05-19
@drsmoll

A4 and A5 are SDA and SCL of the I2C bus through which the program communicates with devices (which have their own addresses) that are connected to it. Connect RTC to these pins, just pull up SDA and SCL to +5V with 10K resistors.

E
evgeniy_lm, 2020-05-19
@evgeniy_lm

It is possible
But it is better to free A4, A5 If so, then several devices can be connected to I2C

G
Grigory Boev, 2020-05-19
@ProgrammerForever

You can make software I2C and hang it on any legs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question