change microcontroller model to ATMega328 for the tempsensor