TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136786 times)
  2. FAT32 Library (69980 times)
  3. Network Ethernet Library (55951 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41889 times)
  6. FT800 Library (41184 times)
  7. GSM click (28988 times)
  8. PID Library (26420 times)
  9. mikroSDK (26374 times)
  10. microSD click (25382 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: 7182 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

LPS22HB click

0

LPS22HB click is an easy solution for adding a digital barometer to your design. It carries the LPS22HB MEMS nano pressure sensor.

[Learn More]

Accel 11 click

0

Accel 11 click features an ultra-low power triaxial accelerometer sensor with embedded intelligence, labeled as the BMA456.

[Learn More]

AN to PWM 2 click

0

AN to PWM 2 Click is a compact add-on board that contains an easy-to-use component that converts the value of the input analog signal to a fixed frequency PWM voltage output, with a duty cycle proportional to the input voltage. This board features the LTC6992CS6, a silicon oscillator with an easy-to-use analog voltage-controlled pulse width modulation (PWM) capability from Analog Devices. It features the PWM signal controlled by analog input in range of -2.5V to 2.5V, frequency range up to 1 MHz, frequency error less than 1.7%, and it has good temperature stability. It has many features that make it well suited for heater control, PWM servo loops, LED dimming, signal isolation, and other duty cycle control applications.

[Learn More]