Skip to content

Information and diagnostics to test the Dallas/Maxim DS1287 and related Real-time Clock and CMOS RAM devices

Notifications You must be signed in to change notification settings

vandenzel/DS1287

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS1287

Information and diagnostics to test the Dallas/Maxim DS1287 and compatible Real-time Clock and CMOS RAM devices, as well as a design to replace them useing a DS12885 chip, a watch crystal and a battery.

Datasheet:

Code

The diag folder contains an Arduino program that lets a Pro Micro device connect to a DS1287, or compatible device. It gives access to the first 50 registers of the device (DS1287 compatible) and can be expanded to all 128 registers of a DS12887 compatible device.

Notes on source files:

The source files are in diag/src and relate to each other as follows. Only the basename is given, if both a .cpp and a .h file exist, they are related.

  • main contains the main Arduino code
  • DS1287 is the interface to the device, using Pin and Bus
  • Pin and Bus as a class-based GPIO interface, translating the Arduino pinMode and digitalRead-style of interfacing to an interface with less typing.
  • UI is a simple command line interface on the serial port, that handles typing commands.

Replacement design

The DS12887 folder contains a KiCAD project with a simple design to replace the DS12887 with a DS12885 chip.

The design is neither complete nor tested. At the moment it just looks good on KiCAD's 3D viewer.

About

Information and diagnostics to test the Dallas/Maxim DS1287 and related Real-time Clock and CMOS RAM devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages