Skip to content

Instantly share code, notes, and snippets.

@indra1234
Last active June 14, 2016 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indra1234/acf9395fd115d3001507 to your computer and use it in GitHub Desktop.
Save indra1234/acf9395fd115d3001507 to your computer and use it in GitHub Desktop.
wp1-Home Automation system using by RC5 Remote and PIC18F458/8051 microcontroller

Embedded System & Microcontroller Projects: 01 Home Automation system using by RC5 Remote and PIC18F458/8051 microcontroller.

01.1 Project Description:

  • Project Name : Home Automation System using by RC5 Remote and PIC18F458/8051 microcontroller.
  • Skill : IR Remote(Transmitter), IR receiver, programming used Embedded C, Hardware design Multisim, PCB design in Ultiboard, Microcontroller used PIC18F458/P89Vrd2BN.
  • Application : In Industry, Home Automation etc.
  • Result: Completed.
    • This project is very useful. My main aim is used this project in home. Generally in our home we used to on/off light or fan etc. a switch now I have developed it by a remote means switch not needed. In this project I have used one remote, IR receiver, RC5 protocol and microcontroller. IR receiver: In here this IR receiver is used which manufactured by SIEMENS.Usually Philips remote are RC5 compatible. WP1
  • In here one Philips remote is used because it is RC5 compatible. When we pressed the remote button then IR receiver received a signal and this signal is digital. IR receiver connected with 8051 microcontroller and then microcontroller reads the value from IR receiver. In here the communication rule in between IR receiver and 8051 microcontroller is RC5 protocol. The RC5 code is a 14-bit word bi-phase coded signal. The two first bits are start bits, always having the value one. The next bit is a control bit or toggle bit, which is inverted every time a button is pressed on the remote control transmitter. Five system bits hold the system address so that only the right system responds to the code. Usually, TV sets have the system address 0, VCR’s the address 5 and so on. The command sequence is six bits long, allowing up to 64 different commands per address. The RC5 bit length is approximately 1.8mS. The Code is repeated after every 114 ms.

![WP1](WP1

  • In program we are assigned this value, suppose when pressed 1 button in remote then microcontroller read the value from IR receiver and if switch condition is matched then operation will continue otherwise it checked other conditions. In this project we used just five pin means control five switch only. In general we control 31 switch using by 8051 microcontroller. At normal condition the microcontroller pin value is set to zero, when we pressed the switch and microcontroller read the value from IR receiver and if condition is matched then pin goes to high means 1. Again we pressed the same button then the pin goes to low. Here transistor BC547 is used for switch. Here snubber circuit used for switching circuit.

01.2 Picture of the controller:

WP1 WP1 WP1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment