The following diagram shows how to connect the DHT-11 temperature sensor for this project. Remember to attach the MOVI shield to the Arduino prior to connecting the temperature sensor. The resistor shown in the following diagram is a 4.7K- ohm resistor:
Now let's look at the code for our voice-activated temperature sensor.