PIC Projects
WiFi, Ethernet
Doorbell with SD / EEPROM
SD FAT16/32 for .bmp
LCD TFT Egg Timer
LCD TFT Oscilloscope
SD Talking Clock
SD Sound Recorder,
    FAT32 wav Player
LED Thermometer
LED Egg Timer
LCD Egg Timer

Frequency Counters
100KHz For PC
1MHz For PC
8 Digits LED 50 MHz
Scope Screen Display
LCD Module 10MHz
6MHz for Android
USB PIC18F2550
USB TFT display BMP
USB DS18B20 Sensor
USB Thermometer
USB Counter
USB Meter
USB Oscilloscope
USB Input-Output
USB 16x2 LCD

COM & LPT Ports
MCP3201 on LPT
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
Analogue Signal to LPT
MCP3201 on Serial Port
Serial Thermometer
Analogue Signal to Serial
LCD Display on LPT
Serial Thermostat

Water Softener
HP Stream 7 docking
3.7V to 5V
Solar Charger

Infrared Decoder
PIC Music

Code Lock
Code Lock with LCD
HOME MOBILE Technical Tips


Updated 22.12.15
Timer based on PIC16F628A LCD Module and a watch crystal. Included C code, and circuit diagram. Time span is 1 second to 99 minutes. Setting the time is by Min pushbutton which advances the minutes display by 2 per second, the Sec pushbutton advances the seconds. To reset the time press Sec and Min simultaneously.
The counting generated by the 32768Hz crystal oscillator.
The CPU frequency is 4MHz from the internal oscillator.
Egg Timer: CYCLE switch open. Pressing start turns on the LED and relay and starts the countdown. When the time reaches zero the buzzer sounds for 20 seconds. After the alarm the displayed time sets to the recent time.

Repeat Timer: CYCLE switch closed. Pressing start turns on the LED and relay and starts the countdown. At end of count down LED and relay toggle and count down repeats.

Older version of software included. You are free to use the circuit diagram and the software with no limitations.

Circuit Description
See also Technical Tips

LCD Module can be either 8 digits or 16X1 or 16X2
The buzzer is driven by a frequency of 2KHz, a piezo buzzer for that frequency will give optimal output.
The crystal is a watch crystal, refer to the data sheet for the recommended capacitors. Most crystals use 22pF-47pF.
The LED can be linked if not needed
Relay can be omitted if not needed.
The contrast pot can also blank out the display so set it if the display is dark or blank.
Pressing the Sec and Min together resets the time.


Comments and questions

Copy the number from the picture It stops net-robots from adding comments.

18.06.2016 - 12:38
Name: Moty
Comment: This software package works with just about any character module based on the Hitachi HD44780 Dot Matrix LCD Controller & Driver. The one I used is UC-16207

18.06.2016 - 09:53
Name: Lenny
Comment: Hi, The lcd module you have use witch model and brand is it. I have just made it on breedboard but missing the lcd.

24.01.2015 - 22:38

09.05.2014 - 19:56
Name: manoj soorya
Comment: Great Circuit Moty. We thank to you. Can you convert this LCD to 7-Segment?