New RTC Module?

Our range of tiny modules are designed to make it easy for you to quickly add functionality to your projects. [Module List]
Post Reply
kmiller5au
Posts: 2
Joined: Sun Apr 01, 2012 1:56 am
Location: Brisbane, Australia

New RTC Module?

Post by kmiller5au » Wed Apr 04, 2012 3:01 am

Hi Guys,

I see the new Jaycar catalog has an RTC module, and the picture has what looks a lot like the Freetronics logo on it. The module looks like it also has the patented Freetronics sexy rounded corners! ;)

It's not on the Jaycar web site yet, is it yours? is it soon?

ps. Love being able to rock up to the local Jaycar and grab a yellow/blue box off the shelf. :D

Regards

Keith

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 298
Joined: Sat Oct 15, 2011 11:31 am
Location: Melbourne, Australia
Contact:

Re: New RTC Module?

Post by jonoxer » Tue Apr 10, 2012 1:16 pm

Hi Keith,

They're on the way but they're not ready just yet. Due to the printing deadline of the Jaycar catalogue we had to provide details for a few devices that are still in various stages of pre-production, including the RTC module, but they're not far off now: hopefully something in the region of a few weeks.
--
Jon

kmiller5au
Posts: 2
Joined: Sun Apr 01, 2012 1:56 am
Location: Brisbane, Australia

Re: New RTC Module?

Post by kmiller5au » Fri Apr 13, 2012 6:39 am

Excellent! Thanks John.

(Hanging out for the mega prototyping board now as well) ;)

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 298
Joined: Sat Oct 15, 2011 11:31 am
Location: Melbourne, Australia
Contact:

Re: New RTC Module?

Post by jonoxer » Sun Apr 15, 2012 8:37 am

:-)

Manufacturing of the ProtoShield Mega PCBs is now complete, they're just in the process of being packaged (along with headers) so they're very close now. Not long to wait!
--
Jon

kevinw
Posts: 1
Joined: Fri Dec 02, 2011 12:41 am

Re: New RTC Module?

Post by kevinw » Fri May 18, 2012 12:22 am

The local Jaycar had them in stock yesterday! (I picked one up) Looks great but haven't had time to hook it up yet.

Kevin

rweather
Posts: 7
Joined: Sat Apr 28, 2012 9:49 am

Re: New RTC Module?

Post by rweather » Fri May 25, 2012 5:27 am

Just got mine from Jaycar as well, although I had already built my clock with a DS1307 SparkFun module. But what the heck - one can never have too many clocks so I'm sure I'll find a use for the Freetronics one eventually.

I've been building a nice collection of helper libraries and example apps lately, which I've pushed up to github: https://github.com/rweather/arduinolibs (source) and http://rweather.github.com/arduinolibs/index.html (docs). Included is the source, circuits, etc for my clock: http://rweather.github.com/arduinolibs/alarm_clock.html

The libraries include improved support for the backlight and buttons on the Freetronics LCD shield, together with a mini widget library for building simple property sheet UI's: Left/Right navigates between properties (such as the various settings in the clock), and Up/Down changes the current property. Takes the pain out of building embedded UI's completely.

And of course, the libraries now have support for both DS1307 and DS3232 clock modules. Includes reading and writing the time and date, support for up to 4 alarm times, and storing other settings in NVRAM: http://rweather.github.com/arduinolibs/classRTC.html

Bobb
Posts: 3
Joined: Thu Dec 15, 2011 5:23 am

Re: New RTC Module?

Post by Bobb » Mon May 28, 2012 6:15 am

Thanks for the information. I am new at this, just received the new RTC module, and was wondering how I would go about getting the Temperature information to print as well. Thanks in advance.

rweather
Posts: 7
Joined: Sat Apr 28, 2012 9:49 am

Re: New RTC Module?

Post by rweather » Mon May 28, 2012 11:08 am

I've added the RTC::readTemperature() function to my library (URL's in the thread above), together with a DumpRTC example that dumps the time, date, and temperature reported by a DS3232 once a second: https://raw.github.com/rweather/arduino ... umpRTC.pde

Reading the temperature from the DS3232 is fairly easy once you've got code to get the time and date out: register 0x11 contains the integer part of the degrees celcius, including the sign, and the top two bits of register 0x12 give the quarters of a degree. It seems to match my old-fashioned cheap and nasty wall therometer to within a degree or so.

Bobb
Posts: 3
Joined: Thu Dec 15, 2011 5:23 am

Re: New RTC Module?

Post by Bobb » Mon May 28, 2012 8:31 pm

Many thanks for your time and help.

carmo
Posts: 7
Joined: Sun Jan 13, 2013 6:21 am

Re: New RTC Module?

Post by carmo » Sun Jan 13, 2013 6:35 am

The below text is copied from the Freetronics quickstart guide at http://www.freetronics.com/pages/rtc-re ... PELKKxaeSo

There is an error (RTCTime date should be RTCDate date) that I will make bold below that lost me a bit of time trying to figure out what was wrong.

Setting The Date

Setting the date requires a similar process. First setup an instance of date with

RTCTime date;

then assign values to the various parameters (byte variables) with

date.day = dd;
date.month = mm;
date.year = yyyy;

finally set the date to the DS3232 with

rtc.writeDate(&date);

When setting the time and date, if invalid values are stored (such as February 31st) an error will not be returned. If building devices that require user input (such as an alarm clock) you should test for errors as part of your user interface before writing the data to the DS3232.

Post Reply