Arduino based 3d printer sensor engine