An energy harvesting system for collecting energy from sources of thermal energy that exist in the environment and convert the energy to electricity. The system has N-P junctions mounted on the outer surface of a conduit, pipe or flue. A hot medium flows through the conduit, pipe or flue. The p-n junctions operate as thermoelectric power generators. Heat absorbed at the p-n junctions increases the kinetic energy of charge carriers causing migration of the charge carriers. This thermally-driven migration of charge carriers is used to drive an electrical current in an external circuit.
STATEMENT AS TO RIGHTS TO INVENTIONS MADE UNDER FEDERALLY SPONSORED RESEARCH AND DEVELOPMENT
 The United States Government has rights in this invention pursuant to Contract No. DE-AC52-07NA27344 between the United States Department of Energy and Lawrence Livermore National Security, LLC for the operation of Lawrence Livermore National Laboratory.