Three different hardware sensors will be used in this chapter to get sensor readings from the environment. The following photograph is of a thermistor, showing the location of the temperature sensor:
![](https://static.packt-cdn.com/products/9781838649951/graphics/assets/d8b00dc3-8ddc-4693-b358-5fdd6aaffb50.png)
Courtesy of adafruit.com
The following photograph shows the light sensor that is available on the device:
![](https://static.packt-cdn.com/products/9781838649951/graphics/assets/67cbbbc0-96ae-4b86-b361-6a9c5aec0e37.png)
Courtesy of adafruit.com
The following photograph shows the accelerometer, which can be used to detect motion, as well as tap and double tap strikes on the board:
![](https://static.packt-cdn.com/products/9781838649951/graphics/assets/6c2e0897-dcd6-4176-b9e7-f4a79f0ee32c.png)
Courtesy of adafruit.com
Let's check our first recipe now.