vovarepair.blogg.se

Real time clock
Real time clock






You'll need to run the set-time.py example the first time that you use your RV3028 RTC breakout to set the time correctly and to enable the clock to run on battery backup!.You can also use this breakout with Raspberry Pi Pico and other RP2040 boards, using C++ or Pirate brand MicroPython. Our Python library allows you to set and get the time (year, month, day, hour, minute, second), set periodic countdown timers with interrupts, and to set one-off or recurring alarms with interrupts.

#REAL TIME CLOCK INSTALL#

We've put together a Python library that you can use with your RV3028 RTC Breakout, and an easy one-line installer to install everything.

  • Compatible with Raspberry Pi Pico ( C++/MicroPython libraries).
  • Compatible with all 40-pin Raspberry Pi models ( Python library).
  • Raspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9).
  • Silver oxide battery included (1.55V, 8mAh, 337 type).
  • ☑ second drift per million seconds at 25 degrees.
  • Ultra-low-power (~100nA typical current draw).
  • It's also compatible with our fancy Breakout Garden, where using breakouts is as easy as just popping it into one of the six slots and starting to grow your project, create, and code. Like our other Pimoroni breakouts, we've designed it so that you can solder a piece of right-angle header onto it and then pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 6, 9). The RV3028 breakout has an I2C interface and is 3.3V or 5V compatible. It should last for several years (up to nine in theory, although the battery shelf-life is five years)! The tiny silver oxide battery (8mAh, included) keeps the RTC running when your device (Raspberry Pi or Arduino) is powered off and can sync the time when powered back on.

    real time clock

    In our testing, we've seen performance better than ☒ seconds per million seconds. For comparison, that's up to five times more accurate than your average digital watch. This will vary slightly depending on a number of factors. The RV3028 RTC is factory-calibrated, and is quoted to drift by just ☑ second per million seconds at 25 degrees. Like all the best timepieces, it's Swiss-made!

    real time clock

    The RV3028 RTC breakout is perfect for adding timekeeping to your project and, thanks to the tiny on-board battery, it'll keep time when your device is powered off. An ultra-low-power ( ~100 nA), highly accurate real-time clock breakout.






    Real time clock