To measure the thermal energy created, I put my Raspberry Pi in an insulated container with 1,000 milliliters of water.