Thermal Design Code for Arduino and Matlab