Pico-RTC-Hat

From SB-Components Wiki

Revision as of 09:15, 21 April 2021 by Sbcshop (talk | contribs) (Created page with "<div class="row"> <div class="large-8 column"> == Pico RTC HAT == Pico RTC HAT is a Real-Time clock expansion module with the powerful IC DS3231, backup battery holder, oper...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pico RTC HAT

Pico RTC HAT is a Real-Time clock expansion module with the powerful IC DS3231, backup battery holder, operating voltage 3.3 V, and Fast (400kHz) I2C Interface that measures the time which aligns the time of the device with the “Real-Time”. It is developed with the standard Raspberry Pi Pico header that supports the Raspberry Pi Pico series to enhance its efficiency at a low cost.

Features

  • Accuracy ±2ppm from 0°C to +40°C.
  • Accuracy ±3.5ppm from -40°C to +85°C.
  • Battery Backup Input for Continuous Timekeeping.
  • Operating Temperature Ranges Commercial: 0°C to +70°C Industrial: -40°C to +85°C.
  • Real-Time Clock Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap Year Compensation Valid Up to 2100.
  • Programmable Square-Wave Output.
  • Digital Temp Sensor Output: ±3°C Accuracy.
  • Specifications

  • Operating Voltage - 3.3 V
  • Inbuilt IC - DS3231
  • Battery - CR1220 coin cell
  • I2C Interface - 400 Khz
  • Backup Battery Voltage - 2.3V~5.5V
  • Pico RTC.png

    Pinout

    Pico RTC Pinout.png

    Installation

    MicroPython

  • Stack Raspberry Pi Pico on female header of Pico 3V Relay HAT.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Now use example code "test.py" from Pico 3V Relay HAT's github repository in any micropython supported ide (preferred thonny ide).
  • Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT
  • Copy paste code in thonny ide and choose interpreter as MicroPython (Raspberry Pi pico).
  • Thonny-interpreter.PNG

  • Click on green play button to run example of Pico 3V Relay HAT.
  • Thonny play.PNG

    Resources