May 2014
Intermediate to advanced
400 pages
8h 42m
English
The immediately obvious components of weather include temperature and humidity. To forecast weather, you can measure the atmospheric pressure.
An LM35 sensor reports temperature with varying voltage. Because it’s an analog resistance sensor, it’s easy to use with Arduino. Using it with Raspberry Pi requires an analog-to-digital converter chip.
The LM35 has three leads (Figure 12-1), similar to a potentiometer. The output lead voltage U is converted to temperature T with a simple formula:
T = 100*U
Some example values are in Table 12-1. From the table, you can see that the LM35 can measure temperatures between 2 C and 150 C. The ...
Read now
Unlock full access