-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Greg edited this page Oct 24, 2018
·
12 revisions
Welcome to the Arduino-Data-logger-with-RTC-SD-card-OLED-display wiki!
This code is for an Arduino pro-mini connected to:
- A real time clock DS3231 (RTC) module (I2C interface).
- A SD card reader (with SPI interface).
- an SSD1306 OLED display (I2C interface)
The systems monitors the changes of state of an digital pin (#2) of the Arduino, and writes time and date of each change to the SD card (file "data.txt"). It is also possible to set the time and date of the RTC using a special file on the SD card ("setdate.txt"). Finally, the OLED display shows the time of each change of the input pin.