A thermopile is an electronic device that converts thermal energy into electrical energy.[1] It is composed of several thermocouples connected usually in series or, less commonly, in parallel. Such a device works on the principle of the thermoelectric effect, i.e., generating a voltage when its dissimilar metals (thermocouples) are exposed to a temperature difference.[1]