Principles of Infrared Remote Control