Instructions

4
Example program
You can download the example Arduino® program by going to the official Whadda github page:
github.com/WhaddaMakers/RTC-DS3231-module
1. Click the “Download ZIP” link in the “Code” menu:
2. Unzip the downloaded file, and browse to the set_time folder. Open the example Arduino®
sketch (set_time.ino) located in the folder.
3. Use the Arduino Library manager to install the DS3231 library, by going to Sketch > Include
Library > Manage Libraries… , typing in DS3231 in the search bar and clicking Install”:
4. Connect your Arduino compatible board, make sure the correct Board and connection port
are set in the tools menu, and hit Upload
5. Open the serial monitor by clicking the serial monitor button , make sure the baudrate is
set at 9600 baud
6. Follow the on-screen instructions to program the current time into the RTC module
7. Now open the display_time example, and hit Upload
8. Open the serial monitor by clicking the serial monitor button , make sure the baudrate is
set at 9600 baud. The current time and temperature will be printed out in the serial
monitor.