AllWize Library
examples/use_cases/sensor-si7021/README.md
Go to the documentation of this file.
1 # AllWize - SI7021/HTU21C Slave Example
2 
3 Shows how to use an SI7021 or HTU21C sensor (temperature & humidity) to send environmental data.
4 
5 The SI7021 is a I2C sensor that must be powered with 3V3.
6 If you are using the AllWize K1 you must set the sensor power jumper to 3V3 and
7 connect your sensor to the I2C grove connector (the one closer to the barrel jack).
8 Remember that Grove I2C sensor use the following color convention:
9 
10 * Black - Negative / Ground
11 * Red - Positive / Power / 3V3 / 5V
12 * White - SDA / DA
13 * Yellow - SCL / CL
14 
15 Always remember to connect the antenna before powering the board!
16 
17 ## License
18 
19 Copyright (C) 2018-2020 by AllWize ([http://allwize.io](http://allwize.io))
20 
21 AllWize library is free software: you can redistribute it and/or modify
22 it under the terms of the GNU Lesser General Public License as published by
23 the Free Software Foundation, either version 3 of the License, or
24 (at your option) any later version.
25 
26 AllWize library is distributed in the hope that it will be useful,
27 but WITHOUT ANY WARRANTY; without even the implied warranty of
28 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 GNU Lesser General Public License for more details.
30 
31 You should have received a copy of the GNU Lesser General Public License
32 along with AllWize library. If not, see <http://www.gnu.org/licenses/>.