zephyr/samples/sensor/th02
David B. Kinder ac74d8b652 license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag
throughout the zephyr code tree. This patch was generated via a
script run over the master branch.

Also updated doc/porting/application.rst that had a dependency on
line numbers in a literal include.

Manually updated subsys/logging/sys_log.c that had a malformed
header in the original file.  Also cleanup several cases that already
had a SPDX tag and we either got a duplicate or missed updating.

Jira: ZEP-1457

Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-19 03:50:58 +00:00
..
src license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README.rst samples: sensors: fix documentation layout of TH02 sample 2017-01-06 16:32:31 -05:00
prj.conf sensors: th02: convert to and build with unified kernel 2016-11-03 01:45:50 +00:00
testcase.ini samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00

README.rst

TH02: Temperature and Humidity Monitor
######################################

Overview
========
This sample periodically reads temperature and humidity from the Grove
Temperature & Humidity Sensor (TH02) and display the results on the Grove LCD
display.


Requirements
============

This sample uses the TH02 sensor and the grove LCD display. Both devices are
controlled using the I2C interface.

More details about the sensor and the display can be found here:

- `Grove Tempture And Humidity`_
- `Grove LCD Module`_

Wiring
======

The easiest way to get this wired is to use the Grove shield and connect both
devices to I2C. No additional wiring is required. Depending on the board you are
using you might need to connect two 10K ohm resistors to SDL and and SDA (I2C).
The LCD display requires 5 volts, so the volatage switch on the shield needs to
be on 5v.


References
==========

 - TH02: http://www.datasheetspdf.com/mobile/748107/TH02.html


.. _Grove LCD Module: http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/
.. _Grove Tempture And Humidity: http://wiki.seeed.cc/Grove-TemptureAndHumidity_Sensor-High-Accuracy_AndMini-v1.0/