This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:ume:smartme:b2 [2019/10/28 15:12] – tomykalm | en:iot-open:remotelab:ume:smartme:b2 [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== IB2: Presenting temperature and humidity values on the LCD ==== | ==== IB2: Presenting temperature and humidity values on the LCD ==== | ||
| - | |||
| - | |||
| === Target group === | === Target group === | ||
| Line 9: | Line 7: | ||
| === Prerequisites === | === Prerequisites === | ||
| - | == Liquid Crystal == | + | === Liquid Crystal |
| - | For this library, you may refer to the [[en: | + | For this library, you may refer to the [[en: |
| - | == DHT sensors == | + | === DHT sensors |
| The nodes of SmartME Network Laboratory are equipped with different versions of DHT sensors: DHT11 and DHT22. | The nodes of SmartME Network Laboratory are equipped with different versions of DHT sensors: DHT11 and DHT22. | ||
| The sensors look a bit similar and have the same pinout, but have different characteristics. | The sensors look a bit similar and have the same pinout, but have different characteristics. | ||
| Below you can find the DHT technical specifications: | Below you can find the DHT technical specifications: | ||
| - | = DHT11 = | + | == DHT11 == |
| * Ultra-low-cost | * Ultra-low-cost | ||
| * 3 to 5V power and I/O | * 3 to 5V power and I/O | ||
| Line 27: | Line 25: | ||
| * 4 pins with 0.1" spacing | * 4 pins with 0.1" spacing | ||
| - | = DHT22 = | + | == DHT22 == |
| * Low cost | * Low cost | ||
| Line 51: | Line 49: | ||
| More, but not used in the proposed exercise, it is possible to compute the heat index in Fahrenheit (the default) by using the function computeHeatIndex(temp_value_farenight, | More, but not used in the proposed exercise, it is possible to compute the heat index in Fahrenheit (the default) by using the function computeHeatIndex(temp_value_farenight, | ||
| Result | Result | ||
| - | You should see the values of temperature and relative humidity, that are sampled and displayed every 3 seconds (3000 ms). | + | You should see the values of temperature and relative humidity, that is sampled and displayed every 3 seconds (3000 ms). |
| Start | Start | ||
| There are no special steps to be performed. | There are no special steps to be performed. | ||
| Line 152: | Line 150: | ||
| </ | </ | ||
| - | === B2.cpp === | + | === IB2.cpp === |