Giter VIP home page Giter VIP logo

airsense's Introduction


Carbon dioxide has a very negative effect on the human body and is a carcinogen. Being in a room with a high concentration of CO2 can cause weakness, drowsiness, headaches, and problems concentrating. In this regard, it is necessary to monitor the level of CO2 and take measures to reduce it.

Today there are several options available for CO2 measurement, the most interesting being the SenseAir S8. His readings will be displayed on the Zigbee network.

How to compile

Follow this article https://zigdevwiki.github.io/Begin/IAR_install/

Diagram

The Zigbee part is implemented on the E18-MS1PA1-PCB module, besides it, the board contains the SenseAir S8 CO2 sensor itself


and two variants of temperature sensors is the DS18B20 and the more universal BME280 sensor, which allows you to measure temperature, humidity and atmospheric pressure.

PCB

The board is designed in the popular "USB stick" form factor, you can unsolder both micro USB and USB-A connectors

The assembly of the device should not cause difficulties even for people with initial soldering skills, all elements are large enough, except for the BME280.

When assembled, the device looks like this, please note that a gap must be left between the SenseAir S8 and the board.

Anonymass wrote the firmware for this device, it is open source.

Support

The sensor is supported in the zigbee2mqtt via interval and external converter. It looks like this

also implemented support in SLS Gateway

According to the test results, the high sensitivity of SenseAir S8 was found, the sensor quickly responds to changes in the CO2 level.

Jager's daily schedule.

Anonymass' daily schedule.

Other info

  • The MHZ19B sensor (and clones) also can be installed on the board.
  • End devices use sleep mode, so E18 board stays cold and BME280 shows more truthful values.

How to join

  • Reset to FN rebooting device 5 times with interval less than 10 seconds, led will start flashing during reset
  • Reset to FN by pressing and holding the button (SW1) for 5 seconds

User interface

LEDs

  • LED1 blinks when accessing the CO2 sensor.
  • LED2 blinks if the CO2 value is higher than the first set point (1000), while LED3 is off.
  • LED3 blinks if the CO2 value is higher than the second set point (2000), while LED2 is on.

Buttons

  • SW2 E18 Manual report / FN reset
  • SW1 CO2 Calibration

Files to reproduce

Original post by Jager

airsense's People

Contributors

assad77 avatar dmitrychepel avatar jager-f avatar nurikk avatar xyzroe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

airsense's Issues

[Feature request] Read temperature data from CO2 sensor

Thank you for this useful firmware. I wonder why do one need a separate DS18B20 sensor to return temperature data. AFAIK both Senseair S8 and MH-Z19 return air temperature in UART protocol. You can read it and return in absence of a separate sensor.

Pressure = 10080000000000000, v.2.0.1

Датчик BME280. Шлюз SLS. Показания в строке давления "Pressure = 10080000000000000". На прошивке 2.0.0 этой ошибки не было.

Can't build Firmware in IAR Workbench

Linking fails:

Error[e46]: Undefined external "?B" referred in bdb_Reporting ( C:\Texas Instruments\Z-Stack 3.0.2\Projects\zstack\HomeAutomation\AirSense\CC2530DB\
DIYRuZ_AirSense_Router\Obj\bdb_Reporting.r51 )
Error[e46]: Undefined external "?IE" referred in ?ALLOC_XSTACK8 ( C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\8051\LIB\CLIB\
cl-pli-blxd-1e16x01.r51 )
Error while running Linker

Any ideas what I can do?

return scaled value for pressure

scaled value for pressure was deleted. but it works properly in the previous version.
pls return scaled value for pressure.
without scaled value (and scale) pressure in sls gateway does not work.
also z2m in case of usage scaled values provide more accuracy values of pressure and after convert pressure to mmhg last sign is not lost.

After reflash firmware - can not pairing

Please help me,
I managed to connect only 1 time, but I still did not understand how I did it.
I need to re-bind the sensor for for adding converter in Domoticz.
Which button to press: SW1, SW2?
Or power ON/OFF 5 times?
Thank's.

CC2591/CC2592 sensors: temperature "freezes"

I have "freezes" (only temp value) after 4.0.2 "router" flashing:
image

Can be solved by power off/on for some seconds (but you can see temp "spikes" after these off/on's)
Trying to return to the older version

Order

Is it possible to buy a pre-made board ?
I live in France.
Thanks

Sometimes both LED2 and LED3 blinking

Sensor SenseAir S8
Firmware 4.0.2 DIYRuZ_AirSense_Router_CC2591.hex
Firmware build date 18/01/2021 11:23
Firmware version 18/01/2021 11:23
Sensor works without any noticeable problems, but sometimes both LED2 and LED3 start blinking for ~30 seconds. LED1 not blink in this time.
Looks like this happen only when detected CO2 concentration below first margin, ie below 1000 ppm. When detected level is higher LEDs works as expected.
I checked the sources and found only one place where both LEDs going to blink - in zstack-lib/mhz19.c, function uint16 MHZ19_Read(void). Possible, firmware incorrectly detect connected sensor?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.