RTClib (Chronodot lib) update suggestions

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

RTClib (Chronodot lib) update suggestions

Postby MrAlvin » Wed Mar 07, 2012 5:35 pm

At my local hackerspace (Labitat.dk) I have invited people to help in the preparation of an Arduino Weekend Workshop, so for a few months a few of us have been doing Arduino stuff every Thursday.
Some weeks ago we looked at RTC chips, and someone brought the Chronodot to my attention. What a delightful revelation that was. And then I discovered the Adafruit RTClib on github, and the compile issues about Arduino 1.0 and <1.0, and I saw how different people had worked on adding functionality to the RTClib on github.

I actually do not know much about C or C++ programming, or GIT for that matter, but I love the Arduino Concept platform and open source, and I wanted easy access to all the functionality that has been revealed to me over the past few weeks about RTC chips, so I have merged all the information I have found into an RTClib on github, and thought I would share it with the rest of you.

So have a look at https://github.com/MrAlvin/RTClib


Comments, suggestions and improvement ideas are very welcome.


/MrAlvin
Last edited by MrAlvin on Thu Mar 08, 2012 4:23 am, edited 1 time in total.
MrAlvin
 
Posts: 4
Joined: Mon Apr 11, 2011 3:25 am

Re: RTClib (Chronodot lib) update suggestions

Postby macegr » Wed Mar 07, 2012 11:59 pm

Library looks great, thanks!

Also, the Arduino Time Library works great with the ChronoDot, no modification necessary...just treat it as a DS1307.

http://arduino.cc/playground/Code/Time

Here's a simple project I did using the ChronoDot and the Time library: http://www.macetech.com/blog/node/115
macetech LLC - http://www.macetech.com
User avatar
macegr
 
Posts: 285
Joined: Fri Apr 04, 2008 3:46 pm

Re: RTClib (Chronodot lib) update suggestions

Postby MrAlvin » Thu Mar 08, 2012 4:39 am

macegr wrote:Library looks great, thanks!

Also, the Arduino Time Library works great with the ChronoDot, no modification necessary...just treat it as a DS1307.

http://arduino.cc/playground/Code/Time

Here's a simple project I did using the ChronoDot and the Time library: http://www.macetech.com/blog/node/115


Arduino Playground wrote:"example sketches illustrating how similar sketch code can be used with: a Real Time Clock,Internet NTP time service, GPS time data, and Serial time messages from a computer"


AWESOME! Thanks, I'll be sure to look at integrating the different time keeping options.
MrAlvin
 
Posts: 4
Joined: Mon Apr 11, 2011 3:25 am

Re: RTClib (Chronodot lib) update suggestions

Postby Dan Malec » Tue Mar 13, 2012 6:58 am

The library is looking nice :)

I've updated my pull request to adafruit/RTClib (https://github.com/adafruit/RTClib/pull/11) with a small bugfix and some functions to access the DS1307 SQW pin. If you are interested in the changes, would you rather handle the merge or should I try and open a pull request against your repo as well?
User avatar
Dan Malec
 
Posts: 13
Joined: Fri Nov 18, 2011 2:53 pm

Re: RTClib (Chronodot lib) update suggestions

Postby MrAlvin » Sun Apr 15, 2012 8:31 am

Hi Dan Malec,

I am _always_ interested in bug fixes 8)

Please make a pull request towards my fork.


[edit] hmm.... only just saw the "send me an email on reply" option, so I should now be able to follow this thread in a more timely manner.
MrAlvin
 
Posts: 4
Joined: Mon Apr 11, 2011 3:25 am


Return to Clocks

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]