Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Home Automation using RF Module (Part 13/23)

By Venugopal M July 30, 2021

Home automation is the latest craze. Remote controlling every electrical and electronic appliance on a handheld remote is a comfort for sure. Obviously, a home automation application is not feasible without a wireless interface between the handheld remote and appliances.

This project is a demonstration of a simple home automation application where the user can switch remote appliances ON or OFF with a handheld remote controller. The application is made on 434 MHz RF module where the module is connecting the remote and the relay circuit for switching the appliances. A 434 MHz RF module has an operational range of 50-60 metre which can be extended to 300-350 metres using antennas with the module and increasing the transmission power. Therefore the project can be easily installed and is suitable for a house or building of any size.

In the project a single RF receiver has been paired to RF transmitter controlling four appliances. Multiple receivers can be connected with a transmitter by matching their address byte to that of the transmitter where transmitter can be configured to have different address byte at different times. This way any number of appliances (Maximum 128 * 4) can be remote controlled.

Components Required

Sr. No. Components Required Quantity Required
1 RF Rx Module(434Mhz) 1
2 RF Tx Module(434Mhz) 1
3 HT12E 1
4 HT12D 1
5 LED 1
6 Resistor – 100Ω (Quarter watt) 4
7 Resistor – 1MΩ (Quarter watt) 1
8 Resistor – 50KΩ (Quarter watt) 1
9 Battery – 9V 2
10 Single change over type relay 4
11 1N4007 Diode 4
12 Light bulb 4
13 Transistor BC547 4
14 Resistor – 1KΩ (Quarter watt) 4
15 Push button switches 4
16 Breadboard
17 Connecting wires

Home Automation using RF Module- Block diagram

BLOCK DIAGRAM

Circuit Connections

There are two circuits in the project – Remote controller circuit and the relay circuit. The remote controller circuit is just the RF transmitter section. The circuit connections of RF module are done as in set up of the basic model of RF Transmitter and Receiver. In addition to the setup of RF module, four switches has been connected at the data pins 10 to 13 designated as D0 to D3 of the encoder IC HT12E. These Push-to-on switches are connected through 10K ohm pull-up resistors to ground. The address pins 1 to 8 of the encoder IC are hard wired to ground to assign the RF transmitter an address of 0x00. The pin 14 of the encoder IC which is active low is also hard-wired to ground to enable uninterrupted transmission of control signal to the RF receiver.

Home Automation using RF Module

At the relay circuit, an RF receiver is used and the loads are connected at the data pins 10 to 13 designated as D0 to D3 of the decoder IC HT12D through the relays. The address pins 1 to 8 of the decoder IC HT12D are hard wired to ground in order to match the 0x00 address of the RF transmitter. Since, the transmitter has been configured for uninterrupted transmission, any change in the status of switches at the transmitter end immediately reflect a change in on/off status of the relays and thus the appliances at the receiver end.

How the circuit Works

The RF module transmits the 4-bit data which is used as control signal in the project. By default, the data pins of the encoder HT12E receive a HIGH signal as they are connected to VCC by default via 10K ohm resistors. Therefore, by default HIGH bits are transmitted and same HIGH bits are received at the data pins of decoder IC HT12D and the relays remain off as current flows from base to emitter of the transistors. The push-to-on switches are connected to the data pins with other terminal of each switch connected to the ground. When a switch is pressed, the respective pin starts receiving a LOW signal. Since the pin 14 of encoder IC is hard-wired to ground and transmitter generates an uninterrupted transmission of data, as a LOW signal is detected at a data pin of the encoder IC, a LOW signal corresponding to that data bit is immediately transmitted and a LOW bit is decoded at the respective data pin of the decoder IC HT12D. When a LOW signal is received at a data pin of the decoder IC, current starts flowing through collector to emitter of the respective transistor and the respective  relay gets operated. Thus the appliance is switched ON after receiving a LOW bit at the respective data pin of the decoder IC.

Home Automation using RF Module

If the respective switch at encoder IC is pressed off, the corresponding data bit at the encoder is again set to HIGH and a HIGH bit is received at the respective data bit of the decoder IC. Thereof, the appliance connected to the respective data pin of the decoder IC through relay is again switched to OFF.

 

Project Source Code

 

Project Source Code

###

//Program to 

###

 


Circuit Diagrams

RF13_0


Filed Under: Featured Contributions

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Voltage mode pushpull is a nonsense SMPS?
  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe