arduino codes interfacing the relay for the cutdown mechanism and the temperature sensor for temperature data logging