How to Update Date and Time of Raspberry Pi With out Internet?

How to Update Date and Time of Raspberry Pi With out Internet?

USB RTC: An efficient way to modify the time of your system without using the internet

Most electronic users do not realize that time-keeping of the systems like computers, laptops, or even a small sensor module is essential for the user. In laptops or computers, a user can see the current time, and the time modifies on its own even if the system is off. RTC or Real-Time Clock is the reason for the auto-update of the time in the system. In the scenario of the usage of Raspberry Pi, many users get the problems while modifying the time of the system as there is no module of RTC with the system. USB RTC, a compact yet powerful device developed by SB Components, came into the Kickstarter platform that is getting a tremendous amount of response from the Raspberry Pi Community. 

Key-Features of USB RTC for Raspberry Pi

In terms of technology, the design of the USB RTC made it different from other RTC devices in the market. The compact design of the USB RTC with the powerful RTC chip, DS3231, attracted most of the users to it. If we talk about the key features of the USB RTC for a summary of the product then there are the following key features 

  • High-Precision RTC chip DS3231
  • MCP2221 USB-I2C Convertor
  • Inbuilt Time-Sensor
  • TCXO
  • Cross-Platform Compatibility

Benefits of USB RTC for Raspberry Pi

There are some questions that come to us related to the usage and benefits of the USB RTC for Raspberry Pi. Measurement and maintaining the time of the system might seem unnecessary for some people but it makes the system run efficiently. There are the following benefits of USB RTC for Raspberry Pi that raise the bar of the systemUSB Real Time Clock For Pi

  1. Energy Saver - When microcontrollers with built-in RTC go to sleep or low-power modes, the clock must continue to run in order to provide accurate timekeeping for functions like alarms. If the RTC is left turned on, energy is lost due to leakage current from the microcontroller. The USB RTC functions as an external RTC, allowing the user to keep track of time without wasting any electricity.
  2. Product Life Expansion - By holding the quiescent current at nano ampere speeds, you can get always-on timekeeping without draining the battery. It's particularly useful for coin-cell battery-powered designs. It will prolong the product's life, saving the customer, both time and money.
  3. Cost-saving - It is developed to save the cost of the users in the process to make things better. To keep the time, one does not need to have a special design with components to their system. The USB RTC is a small computer that saves users money by doing its job. 

Why do we need USB RTC for our system?

Most people want to understand the necessity of the USB RTC RTC so that they can use this advanced device in their projects. There are products like computers, laptops, GPS, attendance systems, data loggers, etc. that need a timestamp module. USB RTC is a good choice for these advanced technologies, which require a timestamp. The term "Real-Time Clock" refers to an electronic system that allows the user to monitor the passage of time. It is necessary to calculate the time in the system in order to ensure the accuracy of the data. For example, in a temperature sensor, a user will check the temperature at a specific time using a USB RTC. One of the most simple examples is our computer system, which does not require the user to update the time after it has been started. It will upgrade the system, allowing it to provide data in a more efficient manner.Raspberry Pi USB Real Time Clock

No Need for Internet Connection

One thing that many people do not have the idea about is that Raspberry Pi does not have the inbuilt RTC to measure the time. It needs an internet connection to modify the time which might be a problem for the user who does not have an internet connection. A small coin battery-powered RTC is present in computers or laptops to keep the system's time even when it is turned off. When a user connects the Raspberry Pi to the internet via Ethernet or WiFi, the time is automatically updated using global NTP (network time protocol) servers. The Raspberry Pi would not be able to change its time if it is not connected to the Internet. Now you connect USB RTC with Raspberry Pi to modify its time which would enhance the efficiency of the project. 

USB RTC Chip DS3231 makes the efficiency higher

An accurate I2C, USB RTC Chip DS3231, runs the USB RTC with extremely high efficiency at a low cost which is attracting people to buy it immediately. Our team did their hard work and research to develop the USB RTC for Raspberry Pi to perform an accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator(TCXO) that raised the efficiency of the device. We built USB RTCs with the DS3231 advanced processor for both commercial and industrial temperature ranges, and they come in a 16-pin, 300-mil SO box.

Specifications of RTC Chip DS3231

  • 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

MCP2221 and its effective communication  

The MCP2221 is the key feature of the USB RTC system that has captivated users because it improves the product. The USB RTC system has the requirement of a module in USB RTC that can communicate between the Computer’s USB port and UART(Serial) or I2C so that effective communication can take place. MCP2221 is a powerful component in USB RTC that functions as a USB interface chip for converting data transfer protocols between a computer's USB port and UART (Serial) or I2C.

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


Leave a comment

Your email address will not be published. Required fields are marked *

Please note, comments must be approved before they are published