Difference between revisions of "Pico-RTC-Hat"
From SB-Components Wiki
(→Pinout) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
== Pinout == | == Pinout == | ||
− | [[File:Pico_RTC_Pinout.png]] | + | <table class="wikitable"> |
+ | <tr><td>[[File:Pico_RTC_Pinout.png]]</td> | ||
+ | <td> | ||
+ | <table class="wikitable"> | ||
+ | <tr> <th>PICO RTC HAT </th> <th> PICO Pins </th></tr> | ||
+ | <tr> <td> VCC </td> <td> 3V3 </td></tr> | ||
+ | <tr> <td> GND </td> <td> GND </td></tr> | ||
+ | <tr> <td> RTC SDA </td> <td> GP6 </td></tr> | ||
+ | <tr> <td> RTC SCL </td> <td> GP7 </td></tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </table> | ||
== Installation == | == Installation == | ||
Line 43: | Line 54: | ||
[[File:Thonny_play.PNG]] | [[File:Thonny_play.PNG]] | ||
<li> To change date, time or week, change variables of below line: </li> | <li> To change date, time or week, change variables of below line: </li> | ||
− | <syntaxhighlight> | + | <syntaxhighlight inline> |
CurrentTime = b'\x00\x00\x01\x06\x16\x04\x21' #00:00:01 friday 16/04/2021 | CurrentTime = b'\x00\x00\x01\x06\x16\x04\x21' #00:00:01 friday 16/04/2021 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Resources == | == Resources == |
Latest revision as of 06:48, 11 June 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