Interfacing a DHT11 temperature and humidity sensor to a Raspberry Pi