DS1307 clock chip Simple support with test/demo program v1

Here you can share completed projects or parts of projects that may be useful to others. You may post files relevant to ZBasic - source code, schematics, etc.
Post Reply
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

DS1307 clock chip Simple support with test/demo program v1

Post by stevech »

EDIT: rev 2 uploaded. Small change in test program to avoid 15 second skew when setting time via the serial port.

Enclosed is a zip file of a folder containing a complete ZBasic project.
The project consists of 3 files:
1. Test and demonstration program
2. DS1307 I/O support including a means to set the date/time via a serial port command from a DOS batch command
3. Date/time utilities

This was tested with a DS1307 PC board with battery from Sparkfun.com

http://www.sparkfun.com/commerce/produc ... ucts_id=99

cheers. Hope there's no bugs (it's my first ZBasic program)

steve
PS: The zip file here is large because the PDFs for the DS1307 are enclosed.
Attachments
DS1307Test1 rev2.zip
(342.25 KiB) Downloaded 4879 times
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Post by mikep »

I tried to download this file but only got a 9K zip file which could not be opened. Can anyone else reproduce this problem?
Mike Perks
Don_Kirby
Posts: 341
Joined: 15 October 2006, 3:48 AM
Location: Long Island, New York

Post by Don_Kirby »

I get the following:
Command Line Output wrote:Archive: /home/don/Downloads/DS1307Test1 rev2.zip
[/home/don/Downloads/DS1307Test1 rev2.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
-Don
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

DS1307 clock chip Simple support with test/demo program v1

Post by GTBecker »

Opens fine with WinRAR.

Tom
Tom
Post Reply