Firmware for the AVR Microcontroller used on Peltier Cell Project