Home Automation Using RF Transceiver With Arduino Micrcontroller

12K555

Intro: Home Automation Using RF Transceiver With Arduino Micrcontroller

This project demonstrate the design and development of a Home Automation System Using RF Transceiver controlled by Arduino Micrcontroller. The user will remotely control various indoor appliances such as bulbs, doors and fans using Radio Frequency (RF) transmitter and receiver in home automation systems.

The design of the project is divided into two parts i.e. Transmitter and Receiver.

STEP 1: Project Components

Transmitter Circuit

Sparkfun Red Board Programmed With Arduino - (Qty-1) - https://www.sparkfun.com/products/12757

Breadboard - (Qty-1) - https://www.sparkfun.com/products/112

Grove - 433MHz Simple RF link Transmitter Module - (Qty-1) - http://www.seeedstudio.com/depot/Grove-433MHz-Simp...

Mini Push Buttons - (Qty-6) - https://www.sparkfun.com/products/97

Buzzer - (Qty-1) https://www.sparkfun.com/products/7950

Green LED (Qty-1) - https://www.sparkfun.com/products/9592

Resistors (1kOhm) (Qty-7)

Circuit Wires (Red, Green, Blue)

Receiver Circuit

Sparkfun Red Board Programmed With Arduino - (Qty-1) - https://www.sparkfun.com/products/12757

Breadboard - (Qty-1) - https://www.sparkfun.com/products/112

Grove - 433MHz Simple RF link Receiver Module - (Qty-1) - http://www.seeedstudio.com/depot/Grove-433MHz-Sim...

L293D Motor Driver IC - (Qty-1) - https://www.sparkfun.com/products/315

USB Micro-B Power Shield (Qty-1) - http://www.adafruit.com/products/1833

Buzzer - (Qty-1) https://www.sparkfun.com/products/7950

Green LED (Qty-4) - https://www.sparkfun.com/products/9592

Red LED (Qty-1) - https://www.sparkfun.com/products/9590

Resistors (1kOhm) (Qty-4)

Hobby Motor (Qty-2) https://www.sparkfun.com/products/11696

Circuit Wires (Red, Green, Blue)

STEP 2: Transmitter Circuit on Breadboard

STEP 3: Transmitter Circuit Diagram

Transmitter: It consists of micro-controller interfaced with RF transmitter. The user will provide the commands such as BULB ON/OFF, FAN ON/OFF and DOOR OPEN/CLOSE using push buttons. Each button is marked with a label showing its intended function. Upon data transmission, an LED indicator will blink showing that the data is successfully transmitted to the receiver.

STEP 4: Transmitter Arduino Source Code

STEP 5: Receiver Bread Board Design

STEP 6: Receiver Circuit Diagram

Receiver: It will consist of micro-controller and the RF receiver. There will be only one receiver in this project. Upon message reception from the transmitter, micro-controller will be programmed to first check the accuracy or integrity of data. Once valid, micro-controller will check the message. If the message corresponds to respective function, then a proper actuator will be initialized to perform that particular action. The receiver consists of LED bulbs, FAN and the DC motor for opening and closing the door.

STEP 7: Receiver Arduino Source Code

5 Comments

which type of RF transmitters/receiver you used ?

Check step-1 project components section

Nice sharing,er,strange,the receiver ino is a little bit tricky.

sketch_jul21e.ino:26:1: error: 'i' does not name a type

sketch_jul21e.ino:28:1: error: 'i' does not name a type

sketch_jul21e.ino: In function 'void loop()':

sketch_jul21e.ino:71:8: error: 'RunFan' was not declared in this scope

sketch_jul21e.ino: In function 'void ProcessCommand(char*)':

sketch_jul21e.ino:111:25: error: 'compareTag' was not declared in this scope

sketch_jul21e.ino: In function 'int IndexOf(char*, char)':

sketch_jul21e.ino:142:1: error: expected ';' before 'boolean'

sketch_jul21e.ino:142:9: error: expected primary-expression before 'compareTag'

sketch_jul21e.ino:142:9: error: expected ')' before 'compareTag'

sketch_jul21e.ino:142:21: error: expected primary-expression before 'char'

sketch_jul21e.ino:142:33: error: expected primary-expression before 'char'

sketch_jul21e.ino:142:41: error: 'compareTag' was not declared in this scope

sketch_jul21e.ino:143:1: error: expected ';' before '{' token

sketch_jul21e.ino:193:1: error: expected '}' at end of input

'i' does not name a type

I removed the copy/paste code and attach it as complete INO file. Download and run it. It will work without any errors.