Jose Pino's projects & tidbits
"Great stuff from someone with an inquisitive mind"

LCD Clock/Calendar

LCD Display with Date and Time, 12hr format. (12/12/2004)


Source: http://www.josepino.com/?lcd_clock   Tags: microcontroller circuits diy

CODE: JP6285 - PIC: 16F628 - CONFIG: TIMER ON, CLOCK XTAL

The reason why I'm using a LCD display is because it allow me to display many characters and it doesn't need to be "refreshed" as 7-segment Led displays. Also, the interface requieres less I/O pins.
Taken from http://www.josepino.com
For this project I used a 16x1 LCD Display with 4-bits interface.

Schematic:

Lcd Clock with Calendar

22pF capacitors keeps the clock accurate. Read the XTAL specifications to determine what capacitor value is the indicated for it.

Time and date are displayed as HH:MM:SSx mmm dd, where: HH = Hours MM = Minutes SS = Seconds x = AM/PM mmm = Month (Jan, Feb, Mar) dd = Day.

Lcd Clock

Download the HEX code HERE

I/O pins A2, A3, A4 and A5 of the 16F628 are not used. I reserved these pins to connect a LM75 (LM75 uses I2C communication) and display the temperature. Actually, I'm not developing any application using communication, so, any modification will be done until next year. (The name will change to LCD clock with Thermometer and Calendar).

Another way to build a thermometer without using any protocol is using a thermistor. Unfortunately, thermistors are not accurate and need calibration. However, The microcontroller doesn't need an A/D converter to connect it.

< LCD GD-1505 AP   Home   Larn to spel if Grafiti.>

Share your comments and experience:
Keep it short, Comments with bad words, spam and non-related will be deleted.

08/18/09 - 22:19:26 Pedro from Brasil wrote: Todos o meses tem 31 dias. Como resolver isso?
08/30/09 - 18:05:50 SHIVENDRA from INDIA wrote: PL ITS CAN U SEND ME ASM FILE .MY MAIL [shivendrakumarsahu77@yahoo.com]. PL MOD.IT WITH ALARME  ON-TIME\OFF-TIME. IN  ON-TIME MODE 1 SEC - OR + AS REQ.EVRYDAY.
09/09/09 - 05:39:33 ronie from philippines wrote: hey, nyc project, but can you give me the code of this project? you used a mikro C prog???
09/09/09 - 05:42:52 ronie from philippines wrote: i already tested ur work, but theres a problem in displaying the months and days, it doesnt appear in the lcd
09/09/09 - 05:45:42 José Pino wrote: That is an issue with some LCD hitachi compatible displays. Using a two-lines display will show month and days in the second line.  Regarding the code, sorry, it's currently unavailable.
09/10/09 - 04:20:08 ronie from philippines wrote: so you do not have the code yet? how you get the hex file sir?? what program you used on it??
09/10/09 - 04:24:52 José Pino wrote: To get the HEX file, just click the link indicated as "Download the HEX code HERE".  I did use JAL to develop the first version.
10/11/09 - 21:31:42 Rizwan from Pakistan wrote: nice clock, will it work with 16F628A also?
10/11/09 - 21:40:03 José Pino wrote: It should work with the 16F628A,  just set the configuration fuses as indicated.
11/09/09 - 03:32:12 CR from sweden wrote: How do you download the hex? When I try to download the hex I got sent to a non existing webpage
11/09/09 - 03:35:08 José Pino wrote: Right click on the link "Download the HEX code HERE" and choose "Save link as..."
11/09/09 - 22:29:09 TL from Sweden wrote: Many Tnx José. This was the first HEX file that works to test my LCD panel. Offcourse was my first LCD broken so i hade to buy a new one.
Tnx again from TL in Sweden.
11/16/09 - 16:02:07 John from Lebanon wrote: hello, may you send me the code file? my e-ail is John.francis1978@yahoo.com
11/19/09 - 06:07:39 Francis from Philippines wrote: Sir jose.
as i read on the comments that theres something wrong with the display of monts and day? i would like to use this in our project at school. can you send the projct files to me? just for educational purpose. what language you used? Thanks in advance.

Name:   Location:
Captcha:   <-- This is the Captcha
Your Comments:

Bookmark or Bookmark and Share Suscribe to RSS Feeds

10 most viewed pages:

- How To Make a Speaker
- Hi-fidelity Homemade Loudspeaker.
- Tachometer/RPM II.
- Homemade WiFi Lid Antenna.
- Super Simple Sun Tracker.
- Led Clock
- USB LED Light.
- How To Repair Sony PSP
- Knowing Everything.
- Matrix Led Display.

Articles related:

- Getting Started with PICs.
- 'Almost No Parts' 12/24hrs LED Clock
- Anthony Sotillet's POV Display
- Computer to TV adapter.
- Fluorescent Light.
- Homemade COLDHEAT.
- LCD Clock/Calendar
- LED chaser using PIC 16F84A
- Led Chaser II
- Led Clock
- Lie Detector
- Matrix Led Display.
- One Second Timebase.
- PIC 16F505
- Led Chaser.
- My PIC Programmer
- PIC Programmer sent by Fco. Arroyo.
- Traffic Light.
- Security Keypad.
- Security Keypad II
- Soundmeter
- Strobe from Flash.
- Tachometer/RPM.
- Tachometer/RPM II.
- Tachometer for Bikes (circuit).
- Timebase generator.
- Transistor LED Flasher
- Water Level Control/Monitor.

All categories:

- about
- advertisement
- audio
- automobile
- bad_ones
- best
- circuits
- computer
- discover
- diy
- electronics
- fail
- food
- from_readers
- funny
- furniture
- hacks
- homemade
- how_it_works
- howto
- humor
- interesting
- lego
- light
- microcontroller
- mysql
- opinion
- php
- projects
- readings
- realmeal
- religion
- robots
- science
- scripts
- trips
- videos
- websites
- woodworking


Mr. Counter says: 3775 views.

Search Article

Additional Links:

- Mary's Creations.
- Publicidad Gráfica.
- Todito Yucatán
- Lucina Castillo's Art
- Conoce Amigos en Dalnet
- Narciso González' Alebrijes

Need to contact me?
e-mail address
Please get a good reason before sending me an e-mail.

IE, Firefox, SeaMonkey & Opera tested OK, Some features may not work with Google Chrome. © 2006 - 2009 José Pino - JPC-PHP V5.0
If any information, data, picture or design infringes a copyright material, please send me an e-mail asking to remove it along with the supporting data.