Difference between revisions of "Pico-RTC-Hat"
From SB-Components Wiki
Line 36: | Line 36: | ||
<li> NNow use example code "RTC-HAT.py" from Pico RTC HAT's github repository in any micropython supported ide (preferred thonny ide)<li> | <li> NNow use example code "RTC-HAT.py" from Pico RTC HAT's github repository in any micropython supported ide (preferred thonny ide)<li> | ||
Source code : https://github.com/sbcshop/Pico-RTC-HAT | Source code : https://github.com/sbcshop/Pico-RTC-HAT | ||
− | <li> Copy paste code in ide | + | <li> Copy and paste or open code in thonny ide.</li> |
+ | [[File:Pico_rtc_thonny.PNG|600px]] | ||
+ | <li> Choose interpreter as MicroPython (Raspberry Pi pico). </li> | ||
[[File:Thonny-interpreter.PNG|600px]] | [[File:Thonny-interpreter.PNG|600px]] | ||
<li> Click on green play button to run example of Pico RTC HAT. </li> | <li> Click on green play button to run example of Pico RTC HAT. </li> |
Revision as of 09:04, 10 May 2021
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
Specifications
Pinout
Installation
MicroPython
CurrentTime = b'\x00\x00\x01\x06\x16\x04\x21' #00:00:01 friday 16/04/2021