Set / Get RTC date and time

After a first test with the Seeeduino Stalker v2 board, I was curios to test more and more its posibilities. It integrates multiple functionalities which permits to use the board into a wide range of applications.

For an application which requires to monitor some parameters (e.g. indoor environment conditions) we are interested to know the values of them (e.g. temperature, humidity) but it is also important to know the moment (date & time) when the measurement has been done. There is also the case when the information is not send directly to the user but stored for future processing. Having all information together is much easier to make analyzes and draw necessary charts. Luckly, the Seeeduino board also integrates a RTC module (more details about it could be found on the board presentation webpage: , including an example which uses dedicated classes for get and set the date & time value). Ok, until now everything is clear and easy to implement. But, if we want to set easily the correct value for date & time would be much easier to use a computer and synchronize the Seeeduino RTC with the computer’s date & time. Isn’t it?! To set it wirelesly it is another case. It is discussed now the case when no wireless communication module is attached to Seeeduino Stalker.

For this reason I start to create a simple Windows application which communicate with the Seeeduino Stalker and set to it the correct values for date & time (values which are set also on the Windows OS and which could be synchronized using a specific web service). The architecture of the little system is presented into the figure below.

The computer communicates with the Seeeduino Stalker board using a serial communication connection. The computer could send a get request for determining the date & time value set on the RTC module or a set request to modify the value from the RTC module.

The Windows application interface is presented below, where the user have the posibility to connect and disconect form the serial port, used for communication, to get the value stored in the RTC module and to modify this value.

For serial communication have been defined specific telegrams format, allowing in this way to verify the integrity of communication between devices.

If you want to test or use the applications provide me your email address and I will send to you the sources of the applications.

  1. Arnaldo Bonello
    October 30, 2011 at 10:03 pm

    I would be interested in trying its application.
    Thank you.
    Arnaldo Bonello

  2. derdemo
    January 27, 2012 at 7:26 pm

    Hi,please send me your code too 🙂 thanx demo

    • January 28, 2012 at 10:32 am

      “Sorry, we were unable to deliver your message to the following address. “

  3. Andy
    February 9, 2012 at 8:19 pm

    I definitely could use this program. Can you send me more information on it? Thanks!

    • February 9, 2012 at 8:53 pm

      Do you need the applications or what information do you need?

  4. Andy
    February 13, 2012 at 5:48 pm

    Just the actual application would be great, but the source code would be cool too.

  5. vrjuns
    March 26, 2012 at 3:01 am

    Hi, can I have a copy of this apps. Thanks!

  1. No trackbacks yet.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: