Keyestudio EASY plug DS3231 Saat Modülü

106.27

Stokta yok

Gönderim & Kargo

  • Hızlı Kargo

Siparişiniz en kısa sürede kapınızda.

  • Güvenilir Alışveriş

%100 orijinal ürün, güvenli ödeme garantisiyle.

Ürün Açıklaması

Contents

Keyestudio EASY plug DS3231 Saat Modülü

thumb

Tanıtım

DS3231, entegre sıcaklık dengelemeli kristal osilatör (TCXO) ve kristalden oluşan düşük maliyetli, son derece hassas bir I2C gerçek zamanlı saattir (RTC). Cihazda bir pil girişi bulunur ve cihaza giden ana güç kesildiğinde doğru zaman işleyişini korur. Kristal rezonatörün entegrasyonu, cihazın uzun vadeli doğruluğunu arttırmanın yanı sıra bir üretim hattındaki parça parçası sayısını da azaltır.
Not: bu modülün EASY fiş kontrol kartı ile birlikte kullanılması gerekir.

Özellikler

  • Interface: Easy plug
  • Sıcaklık aralığı: -40 ila +85; Zamanlama hassasiyeti: ± 5ppm (± 0.432 saniye / gün)
         DS3231 ile uyumlu cihaz paketi ve fonksiyonu
         İki takvim saati
         Çıkış: 1Hz ve 32.768kHz
         Çıktıyı Sıfırla ve Butonun Giriş Hatası
         Yüksek hızlı (400kHz), I2C seri veri yolu
         Besleme gerilimi: + 3.3V ila + 5.5V
         ± 3 precision hassasiyete sahip dijital sıcaklık sensörü
         Çalışma sıcaklığı: -40 ~ ℃ ila +85 ~ ℃
         16 pim Küçük Anahat Paketi (300mil)
         Boyut: 38 * 20mm
         Ağırlık: 6g

Connection Diagram

thumb

Sample Code

#include <Wire.h>   // place file "Wire.h” under the directory "libraries” of Arduino
#include "DS3231.h"  // place file "DS3231.h” under the directory "libraries” of Arduino
DS3231 RTC; //Create the DS3231 object
char weekDay[][4] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
//year, month, date, hour, min, sec and week-day(starts from 0 and goes to 6)
//writing any non-existent time-data may interfere with normal operation of the RTC.
//Take care of week-day also.
DateTime dt(2015, 12, 16, 10,25, 33, 3);//open the series port and you can check time here or make a change to the time as needed.
void setup () 
{   Serial.begin(57600);//set baud rate to 57600
    Wire.begin();
    RTC.begin();
    RTC.adjust(dt); //Adjust date-time as defined 'dt' above 
}
void loop () 
{   DateTime now = RTC.now(); //get the current date-time
    Serial.print(now.year(), DEC);
    Serial.print('/');
    Serial.print(now.month(), DEC);
    Serial.print('/');
    Serial.print(now.date(), DEC);
    Serial.print(' ');
    Serial.print(now.hour(), DEC);
    Serial.print(':');
    Serial.print(now.minute(), DEC);
    Serial.print(':');
    Serial.print(now.second(), DEC);
    Serial.println();
    Serial.print(weekDay[now.dayOfWeek()]);
    Serial.println();
    delay(1000);
}

Resources

PDF

https://drive.google.com/open?id=1QHUXpcPLB87DfdQB7pMQLfJoHeO2pKnc

Libraries

https://drive.google.com/open?id=1Vc-3syIIwFtBpHjWFxSikPDSFsT4Y1SD

Yorumlar