This little breakout board is a real-time clock (RTC) module that uses the Maxim DS1340 to keep track of the current year/month/day and time, with a second-by-second resolution.

The DS1340 is accessed through the I2C communication protocol. We have prepared a library for Arduino and a sketch to configure and test the RTC, that you can find in the links here below.

The board includes a rechargeable lithium cell battery that keeps the RTC in time even when the board is not powered and thus provides an automatic backup supply. The battery can be recharged with the DS1340 internal trickle charger that is enabled/disable with an I2C command or a library call. The backup battery will keep the RTC in time for no less than six months.

The module comes tested, configured and fully assembled as shown in the picture with everything you need to start using the RTC. On the board you can find the DS1340, the battery, crystal, the pull-up I2C resistors and 0.1″ (2.54mm) pins with all the required signals.

The module comes pre-programmed with GMT+1 time.


  • RTC counts seconds, minutes, hours, day, date, month, and year
  • 2.9V to 5.5V power supply
  • Software clock calibration
  • Rechargeable lithium battery
  • Trickle-charger
  • Small size: 18x14x2mm, including battery
  • I2C interface (up to 400kHz fast mode)
  • Low timekeeping voltage down to 1.3V




More Info

Additional information

Weight 0.010 kg
Dimensions 18 × 14 × 2 mm


9 years 14 days ago

Is there a guide on how to connect it to the Raspberry pi? Thanks a lot

9 years 13 days ago

Currently we don’t have a guide, but we should publish one soon.
Regarding HW, it’s enough to connect 3.3V, SDA, SCL and GND. The DS1340 is compatible with the DS1307, so the rtc-ds1307 module can be used (modprobe rtc-ds1307).

9 years 3 months ago

The battery is included?

9 years 3 months ago

Hi. Yes, the battery is included and is soldered when the order is prepared.


Share this Product

AK-DS1340 – RTC with Trickle Charger

Real-time clock module based on the Maxim DS1340 I2C RTC with Trickle Charger


In stock

Category Tag

Accepting all credit cards and wire transfers
Secure payments with Stripe and PayPal

Need help? Drop a line in our support forum.