Ks0130 keyestudio EASY plug DS3231 Clock Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
<br>
<br>
==What You Should See==
==What You Should See==
<br>[[File:ks0398 21-2.png|500px|frameless|thumb]]<br>
<br>[[File:ks0398 21-2.png|600px|frameless|thumb]]<br>
<br>
<br>
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.
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.
<br>[[File:ks0398 21-3.png|500px|frameless|thumb]]<br>
<br>[[File:ks0398 21-3.png|600px|frameless|thumb]]<br>
<br>
<br>
<br>
<br>

Revision as of 14:00, 7 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.
Note: this module should be used together with EASY plug control board.

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