Nixie Tube Real Time Clock

Keeping my clock in sync with a battery backup.

Arduino driven OSHW shield from switchmodedesign.

The DS3231 [PDF] is a precision Real Time Clock (RTC) and memory module, with a
battery backup. They are a couple of quid each on eBay.

OpenSourceNixieTubeShieldDS3231Hardware

It uses an internal oscillator and is accurate down to a few minutes per year in extreme temperatures.

Connect SDA (or data) and SCL (or clock). On a Pro-Mini, Arduino Uno or
compatible boards, these pins are A4 – data and A5 – clock. If you’re
using an Arduino Mega the pins are D20 – data and D21 – clock.

Connect VCC to 5V; and GND to GND.

TIMESTARVED

The code should also work with the cheaper DS1307.

Code: https://github.com/bobnet/OpenSourceNixieTubeShieldDS3231Firmware uses functions from the tronixstuff tutorial.

ds3231-real-time-clock-module-from-tronixlabs-australia

I soldered headers on the other end as I don’t use the 32K or SQW pins, I can slip it between the shield and the Uno when it gets a case.

Advertisements
Previous Post
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: