This is example of using rotor-light for atmega328 MCU to get temperature and humility values from DHT11 and use UART for logging.