If you want to control other devices, you can use the Boscam ts832 Transmitter Receiver. This transmitter receiver is sent in format modulated to carrier frequency.To extend the life of the battery this is done by putting the CPU into SLEEP mode for most of the time and wake-up only when a key is pressed.Top Toy Space-Boscam ts832 Reviews

It is the heart of the transmitter used to send IR command to receiver. It also generate carrier frequency. And there is a 3V battery which is supply for the circuit. When any key not pressed the CPU work in SLEEP mode to reduce battery power consumption and wake-up only when any key pressed. To wake-up the CPU from SLEEP mode the CPU use interrupt on change feature which interrupted when the state on PORTA change then the program execution after an interrupt is at the interrupt vector, if the global interrupt is not enabled, the program starts executing the first line of code right after the SLEEP instruction.In the interrupt service routine the software will scan the key that pressed and send IR command appropriate with key pressed.

On the other hand, the Boscam ts832 Transmitter receiver also use transmitter to control all function then. When power is applied to circuit the CPU will polling the IR input signal which is the output from IR decoder module. After IR received the CPU decoding the IR command and turn on the buzzer about 60ms to generate beep sound. If you want to know how to decode it, you can read the instruction . Besides, the output (relay) work as a toggle output thus when the right IR command decode complete the output will turn on and if the same IR command sent again the output will turn off. In a word, this Boscam ts832 Transmitter receiver is good for you.