KooLru / NanoPiNeo-Co2Sensor

Nano pi CO2 Sensor hat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NanoPI CO2 Sensor hat

MVP-DIY

Introduction

NanoPI CO2 Sensor hat is a expansion board which has the same dimension as that of a NanoPi NEO/Air and can be stacked on:

Contains MH-Z19B, SI7021 and PCB 2.4GHz antenna.

PCB

TOP Bottom

Parts

MH-Z19B NDIR infrared gas module is a common type, small size sensor, using non-dispersive infrared (NDIR) principle to detect the existence of CO 2 in the air, with good selectivity, non-oxygen dependent and long life. Built-in temperature compensation; and it has UART output and PWM output. It is developed by the tight integration of mature infrared absorbing gas detection technology, precision optical circuit design and superior circuit design

The Si7021 I2C Humidity and Temperature Sensor is a monolithic CMOS IC integrating humidity and temperature sensor elements, an analog-to-digital converter, signal processing, calibration data, and an I2C Interface. The patented use of industry-standard, low-K polymeric dielectrics for sensing humidity enables the construction of low-power, monolithic CMOS Sensor ICs with low drift and hysteresis, and excellent long term stability.

Installation guide

  1. Flash Armbian

  2. install PIP

apt install python3-pip
  1. install additional modules for bluepy
sudo apt-get install libglib2.0-dev python3-dev
  1. Install Python modules
pip3 install setuptools wheel bluepy smbus si7021 mh-z19 paho-mqtt
  1. Install MQTT Gate script
tion.mqtt.py
  1. Create service

...

6 PROFIT!

Donation

If this project help you, you can give me a cup of coffee | beer | vodka :)

Donate

Donate