12 Channel Relay + 2 Channel Dimmer control by IR Remote and keyboard
as extension to IR(infrared) Remote Control Relay Board with PIC 12F675 Microcontroller i have done this quite a useful project after too many requests. by using this hardware user have option to turn up to 12 relay on and off and two loads (like fan or motor) can be controlled with adjustable speed in case of motor , or adjustable intensity in case of a bulb.
this project is directly involved with high voltage AC which may cause sever damage. proceed with caution.
i will not be responsible for any risk involved, you are on you own.
IR protocol
IR protocol is same as previous projects . we use NEC protocol please refer to this link to know more about NEC protocol
Hardware
Schematic
the main PCB contains all the components except dimmer triac , they are mounted on separate removable module kind of pcb which can be inserted either one of them , both of them or none of them as per requirements if dimmer functionality is required.
as parts availability was primary concern so whole schematic is designed around very basic components , the system is built around only one microcontroller PIC16F877A which is quite cheap in terms of cost and performance. but as this part is available in most part of the world easily it is a good choice.
there are total 12+2 switch button on the main board. 12 switches can be used to turn any relay on and off and other 2 switches are used to control dimmers from 0 (off) to level 5(max) each time you press associated button dimmer will increase one step to max.
all the relay and both of the dimmers can be controlled by the NEC protocol based remote.
Zero Crossing Detector
as all triac based AC application require some sort zero crossing detector , i have implemented a very simple transistor based Zero crossing detector which give really nice output, but it require pulsating DC input , which come from the System power Power transformer and few diodes.
this particular design always require a transformer based power supply for the triac operation , if are using only relay and not using Traic dimmers then only you can opt for SMPS or any other power supply with current design.
it is possible to have the whole system including Dimmer to work with SMPS. but that will require separate isolated zero crossing detector .
Software
whole source is written in c , with
HI-TECH C Compiler for PIC10/12/16 MCUs V9.83
all the latest source files, PCB gerber, Schematic PDF are available on github. or you can download from this direct link (may not be latest) .
www.github.com/circuitvalley
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.