TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141679 times)
  2. FAT32 Library (74727 times)
  3. Network Ethernet Library (59203 times)
  4. USB Device Library (49213 times)
  5. Network WiFi Library (44988 times)
  6. FT800 Library (44517 times)
  7. GSM click (31195 times)
  8. mikroSDK (30081 times)
  9. microSD click (27577 times)
  10. PID Library (27537 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Programmable Relay Timers (PIC)

Rating:

18

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.1

Category: Timers (Real time clock)

Downloaded: 7349 times

Followed by: 3 users

License: MIT license  

Build your own programmable timer relays using Ready for PIC, Keypad 4x4 board with EasyPull, RTC, Relay 4 and LCD 2x16 character display with adapter. Just load the demonstration project code and your device is ready to control 4 separate relays.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Programmable Relay Timers (PIC)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Programmable Relay Timers (PIC)" changes.

Do you want to report abuse regarding "Programmable Relay Timers (PIC)".

  • Information
  • Comments (1)

Project Blog

Figure 1 - Programmable Relay Timer project

Figure 1 - Programmable Relay Timer project

Programmable Relay Timer project connections

View full image

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 Ready for PIC, 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.

Programmable Relay Timers (PIC) Video

Video Demonstration of the project

Watch on YouTube

  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

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.

Figure 2 - Programmable Relay Timers schematics

Figure 2 - Programmable Relay Timers schematics

Connection schematics

View full image

Source code of this project is provided for free, so you can modify it to suit your needs. Since PIC18F45K22 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.

ALSO FROM THIS AUTHOR

DC MOTOR 7 click

6

DC MOTOR 7 click is a dual brushed DC motor driving Click board, featuring the advanced PWM chopper-type integrated DC motor driver, labeled as TB67H400AFTG.

[Learn More]

3D Hall 9 Click

0

3D Hall 9 Click is a compact add-on board used to detect the strength of a magnetic field in all three dimensions. This board features the ALS31300, a 3D linear Hall-effect sensor with digital output and advanced low power management from Allegro Microsystems. The ALS31300 features an I2C interface, enabling it to be easily configured by MCU with the measurement data provided in digital format of 12-bits corresponding to the magnetic field measured in each X, Y, and Z axes.

[Learn More]

Compass 3 click

5

Compass 3 Click features MMC5883MA, a complete 3-axis magnetic sensor with on-chip signal processing and integrated I2C bus suitable for use in various applications.

[Learn More]