RTC Module need four (4) required connection pin which is VCC, GND, SDA and SCL.
SDA and SCL are pin for communication, this is for I2C connection.
The connection of RTC and Arduino are as follows:
VCC --> 5V
GND --> GND
SDA --> A4 / SDA
SCL --> A5 / SCL
For UNO, SDA and SCL pin are beside the GND pin in digital row.
Maybe you don't know, but it is labeled at the behind of the board.
Alternatively, A4 and A5 analog pin can be as SDA and SCL pin as well.
No comments:
Post a Comment