Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Real Time Clock

(you are viewing a thread; or go back to list of threads)

Real Time Clock (by Samukelo Shezi)
I tried to write a real time clock ladder, but the problem is 1. I could not get my hour, minute, second registers transmitting to an LCD. 2. Can't manipulate the dates. Can you please help?
Thu Oct 15 2009, 23:02:50, download attachment REALTIMECLOCK.ld
(no subject) (by Jonathan Westhues)
Try the "formatted string over UART" op, with a serial LCD, like the kind from

http://www.matrixorbital.com/ or
http://www.crystalfontz.com/products/index-ser.html

A single op can output only a single number; but you can chain them up as in the attachment.

Note that your clock, as written, will run slow. This is because there's some extra cycle delays, beyond the timer delay; so the total period of RCLOCK_OFF is a little bit more than one second. Try single stepping in the simulator to count how long exactly, and shortening one of the timers accordingly.
Fri Oct 16 2009, 00:00:35, download attachment serial_multi.ld
Realtime clock (by Samukelo Shezi)
Thanks a lot, my prof! I'll try that.
Fri Oct 16 2009, 14:15:39
(no subject) (by Ilie)
Clook.
Sun Oct 18 2009, 10:07:45, download attachment Ceas.ld
(no subject) (by Samukelo Shezi)
I like the way you catered for the dates, Ilie! Thanks.
Mon Oct 19 2009, 01:57:26
(no subject) (by Samukelo Shezi)
Oh! And the use of circular counters! That's what I should have done! Your program is nice and short! Gracias signor! (hope I am not swearing (Amer. "cursing") at you! Lol!). Thank you buddy!
Mon Oct 19 2009, 02:07:26
more idea (by David R)
Hi this is A clock I am working on, I have not tested it yet
but it updates its time from my cisco router.

Maybe there is somthing that might help inside
Regards
David.
Thu Oct 22 2009, 05:08:45, download attachment clock_2.ld
(no subject) (by Samukelo Shezi)
Thanks Dave!
Sun Oct 25 2009, 19:36:40
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):