Circuit diagrams

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.

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.