5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



EASY plug Ultimate Starter Learning Kit Project 21: What time is it?

Posted by Fiona Su on

Overview
In this project, we will show you how to display the time and date.
Component Required

  • EASY plug control board*1
  • EASY plug DS3231 Clock Module*1
  • RJ11 cable*1
  • USB cable*1

Component 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.

  • 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

Connect It Up

thumb

Upload the Code

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

All Tutorials

Buy >> EASY plug Ultimate Starter Learning Kit 

 

0 comments

Leave a comment

Please note, comments must be approved before they are published