13.0. Introduction13.1. Using Resistive Sensors13.2. Measuring Light 13.3. Measuring Temperature with a Thermistor13.4. Detecting Methane13.5. Measuring a Voltage13.6. Reducing Voltages for Measurement13.7. Using Resistive Sensors with an ADC13.8. Measuring Temperature with an ADC13.9. Measuring the Raspberry Pi CPU Temperature13.10. Measuring Temperature, Humidity, and Pressure with a Sense HAT13.11. Measuring Temperature Using a Digital Sensor13.12. Measuring Acceleration with an MCP3008 Module13.13. Using the Inertial Management Unit (IMU) of the Sense HAT13.14. Finding Magnetic North with the Sense HAT13.15. Sensing a Magnet with a Reed Switch13.16. Sensing a Magnet with the Sense HAT13.17. Measuring Distance13.18. Capacitative Touch Sensing13.19. Displaying Sensor Values13.20. Logging to a USB Flash Drive