Arduino based temperature measurement