Summary of Relay Timer with PIC16F628
This article describes a 0–99 minute relay timer built with a PIC16F628A microcontroller running at 4.0 MHz via an external crystal. It features a 16×2 HD44780 LCD for display and setup, controlled by three tact switches on RB0 (Start/Stop), RB1 (Unit), and RB2 (Ten). Activating the timer triggers a logic high on RA3 to drive a relay.Parts used in the Relay Timer with PIC16F628:
- PIC16F628A microcontroller
- External 4.0 MHz crystal
- HD44780 based 16×2 character LCD
- Three tact switches
- Relay
- RA3 pin interface
There are three tact switches connected to RB0 (Start/Stop), RB1 (Unit), and RB2 (Ten) pins. You can select the timer interval from 0-99 min using Unit and Ten minute switches. The Start/Stop switch is for toggling the timer ON and OFF. When the timer gets ON, a logic high signal appears on the RA3 pin, which can be used to switch on a Relay. The circuit diagram of this project is described below.Build Accurate LC Meter and start making your own coils and inductors. This LC Meter allows to measure incredibly small inductances making it perfect tool for making all types of RF coils. 
For more detail: Relay Timer with PIC16F628
Quick Solutions to Questions related to Relay Timer with PIC16F628:
- What is the maximum duration this timer can measure?
The timer allows selecting an interval from 0 to 99 minutes. - How do I start or stop the timer?
Press the tact switch connected to the RB0 pin labeled Start/Stop. - Which pins control the minute inputs?
The Unit switch connects to RB1 and the Ten switch connects to RB2. - Does the circuit use an internal or external clock?
The microcontroller runs at 4.0 MHz using an external crystal. - Can this project trigger an external device?
Yes, a logic high signal appears on the RA3 pin when the timer is ON to switch on a relay. - What type of display is used in this project?
An HD44780 based 16×2 character LCD is used as the main display unit. - Is there an LC Meter included in this specific build?
No, the LC Meter is mentioned only as a separate tool for measuring inductances and capacitances.
Related projects
DHT11 Low Cost Humidity Sensor using PIC16F628A with Proteus Simulation
IntroductionThis microcontroller project demonstrates how to interface a low-cost DHT11 temperature and humidity sensor with a PIC16F628A using a Proteus simulation environment.The...
LCD & Display Projects · PIC16F628AFrequency Counter by PIC16F628
In this project we are building a basic and low cost frequency counter circuit . It can measure from 16Hz to 100Hz...
Games, Toys & Calculators · PIC16F628ATIC TAC TOE game using PIC16F628
This project is not to introduce Tic Tac Toe. Everyone knows this game. It's to introduce two features. Bi-coloured LEDs, microcontrollers and...
Clocks & TimersAdaptive Alarm Clock: Build a Smart, User-Centric wake-Up system
Project Overview The goal of this ambitious undergraduate project was to develop a novel alarm clock capable of analyzing a person's unique...
Clocks & TimersDesigning Your Ideal Alarm Clock: An Introduction to PIC18
Within this laboratory session, you'll employ the C language to create an alarm clock, delving into the implementation of "C" programs on...
Clocks & TimersBuilding your Dream Alarm Clock Using the PIC18
Objective: In this laboratory session, your objective is to create an alarm clock using the C programming language. You will gain proficiency...