Hi,
I have designed a small circuit using a P89V51RD2-BN controller and an RTC, DS12887 along with a 16x2 LCD display. The crystal used has a frequency of 22.118MHz.
The First Line of the LCD is supposed to display time as follows:
15:27:36
Second Line:
FRI 29 OCT 2010
I first programmed and started the RTC using the code given in "RTC starter.txt" to initialize the RTC with time and date, and start the oscillator, as I didn't want to use a keypad.
Next I burned the final code, given in "digital_clock.txt" into the controller, but the LCD shows nothing at all, except for the black rectangles on the first line.
The circuit and the codes are attached below.
Any help please?
I have designed a small circuit using a P89V51RD2-BN controller and an RTC, DS12887 along with a 16x2 LCD display. The crystal used has a frequency of 22.118MHz.
The First Line of the LCD is supposed to display time as follows:
15:27:36
Second Line:
FRI 29 OCT 2010
I first programmed and started the RTC using the code given in "RTC starter.txt" to initialize the RTC with time and date, and start the oscillator, as I didn't want to use a keypad.
Next I burned the final code, given in "digital_clock.txt" into the controller, but the LCD shows nothing at all, except for the black rectangles on the first line.
The circuit and the codes are attached below.
Any help please?
Attachments
-
4.4 KB Views: 69
-
1.2 KB Views: 45
-
248.8 KB Views: 63