Ks0130 keyestudio EASY plug DS3231 Clock Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 6: Line 6:


It integrated with a battery input, which can maintain accurate timekeeping when power off. The integrated crystal resonator ensures the accuracy of clock. So this RTC solution should be worth to try.<br>
It integrated with a battery input, which can maintain accurate timekeeping when power off. The integrated crystal resonator ensures the accuracy of clock. So this RTC solution should be worth to try.<br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.
This module should be used together with EASY plug control board.
 
<span style=color:red> '''Special Note:''' <br>
The sensor/module is equiped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board  with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equiped with the RJ11 6P6C interface but have different internal line sequence, can not be used compatibly with our sensor/module. </span><br>
 
<br>
<br>



Revision as of 08:56, 22 May 2019

EASY plug DS3231 Clock Module

Introduction

The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal.
A real-time clock (RTC) is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time.

It integrated with a battery input, which can maintain accurate timekeeping when power off. The integrated crystal resonator ensures the accuracy of clock. So this RTC solution should be worth to try.
This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equiped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equiped with the RJ11 6P6C interface but have different internal line sequence, can not be used compatibly with our sensor/module.


Specification

  • Temperature range: -40℃ to +85℃
  • Timing accuracy: about ± 5ppm
  • Output: 1Hz and 32.768kHz
  • High speed (400kHz), I2C serial bus
  • Supply voltage: 3.3V to 5.5V
  • Output Level: TTL level


Technical Details

  • Dimensions: 38mm*20mm*18mm
  • Weight: 5.4g


Connect It Up

Connect the EASY Plug DS3231 Clock module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb


Upload the Code

Below is an example code. Open or drag below code to Mixly Blocks and upload.

thumb


What You Should See


thumb

Done uploading the code, open the serial monitor and set the baud rate to 9600, you should be able to see the date and the time.
thumb


Resources

Download the Arduino information here:
https://drive.google.com/open?id=14_xErD69oLBPfW1fuEMITKOFNhhUUf6H

Download the Mixly information here:
https://drive.google.com/open?id=1THNlIQlg4FcGfjq7OuDio5RQdN6JUSZr



Buy from