chechHumidity fork from onion2 to work with LinkIt Smart 7688
Switch branches/tags
Nothing to show
Clone or download

fork of omega2-checkHumidity (works with LinkIt Smart 7688)

additional notes script from here: more info about here:

compile it with:

$ sh -buildroot ~/dev/lede-project/lede/

where -buildroot is root directory of openwrt/lede source tree configured for linkit smart 7688 (make menuconfig)

Binary file checHumidity is already compiled for mt7688:

checkHumidity: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /lib/, with debug_info, not stripped

How to connect it:

DHT11/22 sensors have 3 pins 1 pin - Data (Signal) 2 pin - Vcc 3 pin - Ground

Data or Signal pin is marked as capital S

Here is wiring picture DHT22 to Mediatek LinkIt Smart 7688


Adapted code (fastgpio) to get DHT11-DHT22-Sensor-Examples working on Omega2(+).

./checkHumidity GPIO-PIN : 0-19 DHT-TYPE : DHT11 or DHT22


root@LEDE:~# ./checkHumidity 19 DHT11


Origin tutorial and source