You are currently browsing the chronodot tag archives.

A Github Kind of Day

Posted 2012.01.29 9.09 in Computers/Internet/Technology by Stephanie

For all the years I’ve been dabbling with programming-related projects, I’ve always just put the code on my own website so folks could download it there.

Meanwhile there’s all these other tools and things people have built specifically for sharing code, and I’d kind of ignored them because I had my own easy (for me) way of doing it. The problem with just throwing a zip archive on my site here is that people can download it, but they can’t easily make changes or contribute to its development – in other words, it’s not really collaboratively friendly.

So at long last, I’ve got around to looking into Github, or Git — I don’t even know what it’s supposed to be called, in fact. Whatever it is, I got myself an account and set up not one, but two public repositories.

This first is for my little Chronodot library for the Arduino. This gives you full real-time-clock functionality in your Arduino sketch, and also lets you get the current temperature readings from the Chronodot as well.

The Chronodot library for Arduino is available here.

The second is a high performance i2c LCD driver that was originally created by Matt Falcon. He had shared it via the Adafruit support forums, but it had not been updated for the changes in Arduino’s 1.0 IDE. People were asking for those changes, so I went ahead and modified the library to be 1.0 compatible.

The LiquidTWI library for Arduino is available here.

Chronodot Library Update

Posted 2011.12.01 17.40 in Computers/Internet/Technology by Stephanie

Arduino has just released their 1.0 software update. This is a Big Deal, but it does break some prior content. Changes to the basic libraries and the Wire library have resulted in my simple Chronodot library no longer functioning.

Fortunately it was a quick and simple fix which I’ve attached below.

One of these days I’ll learn how to use Git and do a real repository thing…


Chronodot Library Update

Note – this library is backwards compatible to older Arduino IDEs as well.

Chronodot Library for Arduino

Posted 2011.04.09 22.44 in Computers/Internet/Technology by Stephanie

When I was working on my Thermostat project, I came across the Chronodot RTC (real time clock) and decided it would be the perfect choice. Not just because it’s incredibly accurate, but because it provided both time and temperature readings in a single package. I could have used another RTC such as the DS1307 which is less expensive, but then I would have had to use something else for reading the temperature.

The only thing about using the Chronodot to get temperature readings was that there wasn’t an Arduino library that could get me that information. The Chronodot communicates using the i2c protocol, and as I hadn’t used it before I was hoping to find some examples and a usable library. Fortunately it’s compatible with the DS1307, but of course that library has no reference to temperature as the ‘1307 doesn’t read the temp.

So using the ‘1307 library as a starting point, I expanded it by adding two new readings to it: temperature, in both farenheit and celcius.

The library includes an example sketch. If you’re familiar with using the DS1307 with an Arduino then the Chronodot library will be an easy drop-in replacement. The time features are unchanged, I’ve just added the two temperature readings so they’re available within your sketch.

Click here to download the library: