USB Real Time Clock for Raspberry Pi — Kickstarter

USB RTC (Real Time Clock) For Raspberry Pi

Kamal Khan
5 min readApr 2, 2021

We understand the hustle of the programmers and hardware experts that they face in their projects that divert them to create so many wonderful gadgets. A user needs to connect the RTC module with jumper cables, soldering methods, or by using an external PCB, and along with it, programming is required to run RTC that makes the process complex, time taking and hectic. We came up with a technologically advanced RTC device “USB RTC for Raspberry Pi” with the powerful integrated circuit DS3231 runs on low power-consumptions with Integrated Temperature Compensated Crystal Oscillator. USB RTC for Raspberry Pi comprised of 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 that can run from 6–8 year on a single battery.

USB RTC (Real Time Clock) For Raspberry Pi

USB Real Time Clock For Raspberry Pi — Kickstarter

There are products like Data Loggers, Digital clock, Attendance system, Digital camera, etc. that have become devices for daily usage in the modern-day world. Advanced technologies like these need the timestamp for which RTC is an adequate option. For beginners, RTC is the abbreviation of “Real-Time Clock” which is an electronic device that allows the user to measure the passage of time. We came up with the product “USB RTC” for Raspberry Pi, Windows, LINUX, MACOS, STM32, etc and with the help of our design partner SB Components, USB RTC came into existence. It will increase the efficiency of the users with its powerful components and compact size.

USB RTC (Real Time Clock) For Raspberry Pi

The DS3231, an accurate I2C is the powerful IC that runs the USB RTC with extremely high efficiency at low cost. Our team developed USB RTC to perform an accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. The USB RTC comprises a crystal resonator that makes an increment in the efficiency of the device for the long term with the decline of piece-part count in a manufacturing line. We build USB RTC with advanced processor DS3231 for both the commercial as well as industrial temperature ranges and has a 16-pin, 300-mil SO package.

https://www.kickstarter.com/projects/amritsingh/usb-rtc

· Extremely accurate I2C real-time clock (RTC)

· Integrated temperature-compensated crystal oscillator (TCXO)

· Incorporates a battery input

· 16-pin, 300-mil SO package

· Automated Backup Power Supply

· Fast (400kHz) I2C Interface

USB RTC for Raspberry Pi is a powerful device that a user can simply plugin with their system to maintain the accurate timekeeping of the system. The USB-RTC maintains seconds, minutes, hours, day, date, month, year, and temperature information that helps the users to develop advanced products and gadgets. We developed the USB RTC to automatically adjust the date at the end for the end of the months fewer than 31 days. The DS3231, an accurate I2C is the powerful IC that runs the USB RTC with extremely high efficiency at low cost. Our team developed USB RTC to perform an accurate real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal.

MCP2221 is the key component of the USB RTC module that works as a USB 2.0 to I2C /UART Protocol Converter with GPIO. It supports full-speed USB (12 Mb/s) that makes the communication between the Host and USB RTC with high efficiency. It comes with the Human Interface Device(HID) for both the chip control and I2CTM that allows better control of the user on the system. MCP2221 has built with Four GPIO lines that are configurable for GPIO Operations which enables the users to make better technically advanced products.

USB RTC (Real Time Clock) For Raspberry Pi Features of MCP2221

· I2C/SMBus supported clock and data lines

· User-selectable via jumper cable for 3.3V or 5V level output (up to 500 mA)

· Four GPIO lines that are configurable for GPIO Operations

· Pins for Serial(UART) Communication

· Supports full-speed USB (12 Mb/s)

· 64-byte Transmit

· 64-byte Receive

· USB 2.0 Compliant

MCP2221 is the main highlight of the USB RTC device that has captivated the users as it makes the product better. MCP2221 is a breakout module that works as a USB interface chip for the conversion of the data transfer protocol between the computer USB and UART (Serial) and I2C. MCP2221 is designed to perform the task as a development and evaluation platform that consists of a single dual in-line form factor board.

If we go into the details then TCXO has come above in the campaign which is an essential part of the USB RTC. TCXO or Temperature-compensated crystal oscillator is a crystal oscillator with a temperature-sensitive reactance circuit in its oscillation loop to remunerate for the attributes of frequency-temperature inherent to the crystal unit. A user can operate the clock of USB RTC in either the 24-hour or 12-hour format with an AM/PM indicator. There are two programmable time-of-day alarms and a programmable square-wave output is provided so that a user can utilize the USB RTC in a better way in their projects. The Address and data are transferred serially through an I2C bidirectional bus.

One of the things that become the reason for the irritation of a developer or tech-enthusiast is the power failures of the system. We took this problem into the consideration while developing the USB RTC to provide the best experience to our users. There is a precision temperature-compensated voltage reference and comparator circuit that monitors the status of VCC to detect power failures of the USB RTC. It would allow the device, USB RTC, by providing a reset output after which it automatically switches to the backup supply to run the system with the same. There is also the RST pin that works as a pushbutton input for generating a µP reset.

USB RTC (Real Time Clock) For Raspberry Pi Specifications

· 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 ♦ Low-Power Consumption

· Real-Time Clock Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap Year Compensation Valid Up to 2100

· Two Time-of-Day Alarms

· Programmable Square-Wave Output

· Fast (400kHz) I2C Interface

· 3.3V Operation

· Digital Temp Sensor Output: ±3°C Accuracy

· Register for Aging Trim

· RST Output/Push Button Reset Debounce Input

· Underwriters Laboratories (UL®) Recognized

USB Real Time Clock For Raspberry Pi — Kickstarter

--

--