dipakgmx / DHT11

Read DHT11 values and save into sqlite3 db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DHT11

A C++ implementaion for the Raspberry Pi to read temperature and humidity values from the DHT11 sensor and save into a sqlite3 db.

Usage

Specify the GPIO pin in the constructur call for the DHT11 object within the main() function.

Specify the sampling time also in the main() function by setting the delay value (here specified as 5 minutes delay(300000) ). Note that the delay is specified in milliseconds.

About

Read DHT11 values and save into sqlite3 db


Languages

Language:C++ 84.5%Language:CMake 15.5%