Difference between revisions of "USB-RTC"
From SB-Components Wiki
(→Python) |
|||
Line 21: | Line 21: | ||
</br> | </br> | ||
=== Specifications === | === Specifications === | ||
− | <li> </li> | + | <li> Accuracy ±2ppm from 0°C to +40°C </li> |
− | <li> </li> | + | <li> Accuracy ±3.5ppm from -40°C to +85°C </li> |
− | <li> </li> | + | <li> Battery Backup Input for Continuous Timekeeping </li> |
− | <li> | + | <li> Operating Temperature Ranges Commercial: 0°C to +70°C Industrial: -40°C to +85°C </li> |
− | <li> </li> | + | <li> Low-Power Consumption </li> |
− | <li> | + | <li> Real-Time Clock Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap Year Compensation Valid Up to 2100 </li> |
+ | <li> Two Time-of-Day Alarms </li> | ||
+ | <li> Programmable Square-Wave Output </li> | ||
+ | <li> Fast (400kHz) I2C Interface </li> | ||
+ | <li> 3.3V Operation </li> | ||
+ | <li> Digital Temp Sensor Output: ±3°C Accuracy </li> | ||
</div> | </div> |
Revision as of 11:06, 7 May 2021
USB RTC
USB RTC is an open source real time clock device that comprises MCP2221, a USB-to-UART/I2C serial converter, which enables USB connectivity, in the processes that include a USB, UART(Serial), GPIO, and I2C interfaces. It runs on Hi-tech DS3231 RTC chip, an accurate I2C, runs the USB RTC with extremely high efficiency at a low cost. USB RTC for Raspberry Pi has cross platform support which makes it enable to work on different platforms like Windows, MAC, etc.
Features
Specifications
Pinout
Installation
Python
- Install MCP2221 Library by running below command on terminal:
pip3 install PyMCP2221A
- Connect USB-RTC on USB Port of Raspberry Pi/Windows.
- Now clone/download USB-RTC Github Repository by running below command:
git clone https://github.com/sbcshop/USB-RTC.git
- Now enter downloaded folder from home/pi or by rnning below command:
cd USB-RTC
- Now run test.py file by running below command:
python3 test.py