Process time at a Display with Basic Stamp 2. !
Johan1968
Posts: 22
Can any one help me, i try to find a solution, to show time at a display(HH:MM:SEC) and send int from a PS2 to a displaydriver like (MAX 695) or have it there a smarter way do solve it with ? Regards Johan
Comments
I would guess the "PS2" is a typo, and you mean BS-2 Stamp?
If that's the case, you will need a real time clock (RTC) chip, as Stamps do not have RTC features built into them. A typical RTC chip for which there is plenty of documentation is the Maxim DS-1302, which Parallax sells on their web site.
First, you would fetch the current time from the DS1302 using the SHIFTIN command. Then, you format the data to fit your needs, and finally, send that time data out to your display unit, using the appropriate commands to do so.
That's about all there is to it, in summary.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There is no pleasure in having nothing to do;
the fun is in having lots to do, and not doing it!
Yes i meant BS2 , thanks, will try to make this example.
Ragards Johan
The following thread in the Completed Projects forum has a similar concept that uses the MAX7219 to display the time. Perhaps it will help you with the coding and wiring. You will just need to adjust your project for the chip/IC you’re using. Take care.
http://forums.parallax.com/forums/default.aspx?f=21&p=2&x=25&ord=ld
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support