I'm using sx28, I want make RTC circuit using DS1994 for my project and display the time or date to 7-segment. Can you'll give me the schematic diagram and source code.
There is actually a clock/timer project in the online [noparse][[/noparse]SX/B] help file; it uses an interrupt to keep track of the time and multiplex the LED display. You could add a couple more buttons for setting the time and have a single-chip solution.
You might want to also consider using an RTC chip and let the SX control the display. You'll probably get more accurate results.
I use the PCF8583 (about $3 Jameco) and I notice that Futurlec has a nifty board with the chip, 32khz crystal and battery backup for about $7 (http://www.futurlec.com/Mini_PCF8583.shtml)
The other nice thing about this chip is that it uses the I2C protocol which is easy to learn and built into the SX. You can also communicate with several slave devices (i.e. memory, etc) using only two wires for all devices.
Comments
I use the PCF8583 (about $3 Jameco) and I notice that Futurlec has a nifty board with the chip, 32khz crystal and battery backup for about $7 (http://www.futurlec.com/Mini_PCF8583.shtml)
The other nice thing about this chip is that it uses the I2C protocol which is easy to learn and built into the SX. You can also communicate with several slave devices (i.e. memory, etc) using only two wires for all devices.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture
San Diego Miramar College
I just picked up some PCF8583 chips, would you have some example code, in SX/B, available?
Ray
Joe