TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 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 (141109 times)
  2. FAT32 Library (73898 times)
  3. Network Ethernet Library (58548 times)
  4. USB Device Library (48723 times)
  5. Network WiFi Library (44371 times)
  6. FT800 Library (43971 times)
  7. GSM click (30717 times)
  8. mikroSDK (29473 times)
  9. PID Library (27299 times)
  10. microSD click (27092 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: 7310 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

Expand click

0

Example for Expand click board in mikroBUS form factor. This is code writes data to expander's PortB and reads it from expander's PortA. Result is shown on PortB LEDs on development board.

[Learn More]

ReRAM 2 Click

0

ReRAM 2 Click is a compact add-on board containing highly reliable resistive random-access memory. This board features the MB85AS8MT, an 8Mbit memory organized as 1,048,576 words of 8 bits from Fujitsu Semiconductor. The MB85AS8MT uses the resistance-variable memory process and silicon-gate CMOS process technologies to form nonvolatile memory cells. This SPI configurable ReRAM can withstand many write cycles (1x106 rewrite operations), has a data retention period greater than ten years, and can read and write to random addresses with very negligible delay. This Click board™ is ideal as a nonvolatile storage media or temporary RAM expansion for storing variables in any embedded application that requires rapid writes and unlimited endurance.

[Learn More]

RS485 Isolator 4 Click

0

RS485 Isolator 4 Click is a compact add-on board designed for robust RS-485 and RS-422 half-duplex communication with galvanic isolation. This board features the ISO1450, a 5kVRMS isolated RS-485 transceiver from Texas Instruments. The ISO1450 supports data rates up to 50Mbps and features advanced protection against electrostatic discharge (ESD) and electrical fast transients (EFT), ensuring reliable long-distance communication in industrial environments. It operates over a wide supply voltage range (3V to 5.5V), offering failsafe protection against open, short, and idle bus states.

[Learn More]