ATmega8 Based Multi channel IR Remote

Today I will present an easy to build Multi channel IR Remote control system. It can control heavy loads (Up to AC 220V 6 Amps or smaller) with a touch of remote control. A total of 5 devices can be controlled from a distance of up to 20 feet. We will be using a standard remote control protocol that is called the NEC format. The NEC format is common in remote controls used with Chinese made CD/DVD players. They are easily available in Indian Markets. They also come in variety of sizes from full to small 21 keys (used in car audio systems).

Our system is smart enough, so the user can set which key controls which load. Their are five load indicator LEDs which provide the state of five loads. When the device is powered on for the first time, the load LEDs start to blink one by one. That is the first load LED starts to blink, this means the system is waiting for the user to assign a key for that load. So you should press the key you want to use for that load. Once the system receives the key of your choice it stores it in internal EEPROM. From now on you can use that key to control that specific load. In this way all five loads are mapped to five keys on the remote control.
The above key mapping procedure is required only once. From the next time the system is started it does not goes through the key mapping procedure. Although if required the same key mapping can be initiated if user wants. This is done by pressing any key on remote control within 3 second of booting. If the system receives any key press during boot up (i.e. within 3 sec. of startup) it starts the key mapper.
Once the key mapping is done, user can switch on/off the loads by just pressing the keys on remote control.
Their are five power connectors (the green thing on the edge of the board), they are used to connect external load. They function like simple switch. That means the two contact are closed (connected) when relay is active. Other wise they are open (NOT connected).
Multichannel Remote

Schematic for Multi channel IR Remote

remote schematic

avr-gcc Source Code for Multi channel IR Remote

/******************************************************************************
 Title:
   ATmega8 Based Multi channel IR Remote.
  Description:
   It can control heady loads
  (Up to AC 220V 6 Amps or smaller)
  with a touch  of remote control.
  A total of 5 devices can be controlled from a distance
   of up to 20 feet. We will be using a standard remote control protocol
   that is called the NEC format. The NEC format is common is remote
   controls used with Chinese made CD/DVD players remote controls.
  They are  easily available in Indian Markets.
  They also come in variety of sizes
   from full to small 21 keys (used in car audio systems)
  For more detail: ATmega8 Based Multi channel IR Remote 

About The Author

Ibrar Ayyub

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.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top