 Such devices are commercially available but can be homemade using low-cost microcontrollers.LIRC (Linux IR Remote control) and WinLIRC (for Windows) are software packages developed for the purpose of controlling PC using TV remote and can be also used for homebrew remote with lesser modification.Remote controls are used in photography, in particular to take long-exposure shots.