Cost-effective device to characterize phase change materials