Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 2.14 KB

README.md

File metadata and controls

50 lines (39 loc) · 2.14 KB

code_Project_82-DS3231

Chapter 3 code_Project_82 The second part 2 of "The Arduino World Book" code_Project_82

  • By:Farkad Adnan فرقد عدنان - -E-mail: farkad.hpfa95@gmail.com -inst : farkadadnan
  • #farkadadnan , #farkad_adnan , فرقد عدنان#
  • FaceBook: كتاب عالم الاردوينو
  • inst : arduinobook
  1. #كتاب_عالم_الاردوينو
  2. #كتاب_عالم_الآردوينو

-https://www.facebook.com/profile.php?id=100002145048612 -https://www.instagram.com/farkadadnan/ -https://www.linkedin.com/in/farkad-adnan-499972121/

Twitter Follow

General structure

An Arduino Library for EASY communication with DS3231 I2C RTC Clock and Atmel AT24C32 I2C EEPROM commonly found on the same board. Implements setting, getting the time/date, setting, checking and clearing alarms, and dead-easy circular-buffered logging of data with timestamp. Capture

library

#include <Wire.h>
#include "RTClib.h"
RTC_DS3231 rtc;

شريحة أو رقاقة DS3231 RTC عن قرب

DS3231-RTC-Module-24C32-EEPROM-I2C-Address-Selection-Jumpers 2222I2C-Address-selection-jumpers-on-DS3231-module-1

المذبذب الكريستالي التعويضي لدرجة الحرارة (TCXO)

TCXO-Crystal-Oscillator-Compensation

How do I connect my module?

These modules are I2C devices, so that's easy as pie.

SCL -> SCL (Uno: A5, Mega: 21, Leo*: SCL) SDA -> SDA (Uno: A4, Mega: 20, Leo*: SDA) VCC -> 5v GND -> GND 8