Making It Simple
Let’s Make Projects

project

04

2011.

MIKROE-714, 932-MIKROE-714

Programmable Relay Timers (PIC)

Your own Programmable Relay Timers set

Figure 1 - Programmable Relay Timer project (click to enlarge)

Following AVR version, we present your with PIC version of Programmable relay timers project. We have created a demonstrational software for all of our PIC compilers and prepared a special project kit which you can use to build your own programmable relay timers under a minute. Just connect PIC-Ready1, Keypad 4x4 board with EasyPull, RTC, Relay 4 and LCD 2x16 character display with adapter and load demonstration project code and your device is ready to rock! It can control 4 separate relays.

  1. Using “D” key on keypad 4x4 board you can scroll through settings for each relay. You can change the ON and OFF times by positioning the cursor to the desired location and changing time values as you desire. Navigation, or moving the cursor is done using asterisk (*) for backward and sharp (#) key for forward.
  2. Press “C” key to display current time.
  3. Press “B” key to enter the mode for adjusting the current time value. Position the cursor over the desired location and change HH:MM:SS values to synchronize it with your local time. After you are done, press “B” again to save the newly set value.

Applications

  • Controlling garden sprinklers
  • Programming home appliances
  • Controling street lamps and home lights

Project has numerous applications. We only suggest several:

  1. Controlling garden sprinklers
  2. Turning ON/OFF home appliances (Coffee makers, toasters, TV sets, airconditioning, old washing mashines, etc.)
  3. Programming city or home fountains to turn on and off in the same time of the day
  4. Controling street lamps and home lights

We are sure that you will find much more possible applications. Don’t hesitate to send us photos of what you have built using this project kit.

Programmable Relay Timers (PIC) schematics

Figure 2 - Programmable Relay Timers schematics (click to enlarge)

Source code of this project is provided for free, so you can modify it to suit your needs. Since PIC16F887 comes preprogrammed with free UART Bootloader, you won’t have to spend a dollar more on external programmers. You can modify the project as much as you like, and expand this basic functionality with your own implementation ideas.

Project kit includes

PIC-Ready1 Board with PIC16F887 with bootloader

PIC-Ready 1 Board with PIC16F887 with bootloader

2x16 Character LCD

2x16 Character LCD

LCD 2x16 Adapter Board

LCD 2x16 Adapter Board

RTC board

RTC board

Relay 4 board

Relay 4 board

Keypad 4x4 board

Keypad 4x4 board

EasyPull Board

EasyPull Board

Downloads

Download project

Source code for this project is available for free. It is available for all of mikroElektronika PIC compilers: mikroC, mikroBasic and mikroPascal. You can modify it to suit your needs, and expand the project with your own implementation ideas.

Download bootloader

PIC16F887 comes preprogrammed with fast UART bootloader, running at 115200 bps. Download PC software and read step by step guidance in the user manual for succesfully uploading your new HEX into the MCU.

Let’s make Programmable Relay Timers (PIC) kit with free shipping

Buy Now

$113.60 USD