In the setup section of the demo example code we can notice that there are three line that we need to uncomment in order to initially set the day of the week, the time and the data. Luckily, there are already several libraries for the DS3231 RTC which can be found on the internet.įor this tutorial I chose to use the Library made by Henning Karlsen which can be found and downloaded from his website, So once we download and install the library we can use its first demo example to initially activate the clock of the RTC module. However, when it comes to programing a communication between Arduino and an I2C module the code isn’t that small and easy. Once we connect the module we need to program the Arduino Board to work with the Real Time Clock. As an Amazon Associate I earn from qualifying purchases. Breadboard and Jump Wires ……… Amazon / Banggood / AliExpressĭisclosure: These are affiliate links.Arduino Board …………………………… Amazon / Banggood / AliExpress.You can get the components needed for this Arduino Tutorial from the links below: So all we need is 4 wires, the VCC and the GND pins for powering the module, and the two I2C communication pins, SDA and SCL. Mediasonic hw180stb homeworx hdtv digital converter box with media player function dolby digital and hdmi out old.
0 Comments
Leave a Reply. |