Giter VIP home page Giter VIP logo

openco2_sensor's People

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

Watchers

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

openco2_sensor's Issues

LED gets glitched into beeing on, but not reacting to co2 measurements. In BatteryMode.

The led get stuck with a color and will not change until its reconnected to charging cable.
The software version is the one the sensor came with.
I have not done updates yet.

How to reproduce.

  1. Sensor is disconnected from charging cable, LED is off.
  2. Connect sensor with charging cable.
  3. Disconnect charging cable as soon as the led switches on.

Expected Results:

  1. Led stays on and changes color according to co2 measurements OR
  2. Led turns off again and stays off

Actual Result:
Led stays on, even without charging cable.
Led color does not align with co2 values(co2 value changes, led color does not).
Led color is stuck on whatever color it had when "quick disconnecting" the sensor.

MQTT support

I found this on Tindie and I am extremely interested.

Would it be possible to add MQTT support? That way it could be easily connected to Home Assistant.
It could work or example something like this: when screen information refreshes, check if mqtt is configured, if yes then publish message to it.

update scripts for firmware 3.3 and 4.3 on POSIX OSes

I finally updated my devices to the current firmware and had to make scripts for macOS due to the different executable name, usb-serial port name, UNIX style line endings, different needs for argument quoting, etc.

Guess if one changes the port name (which one has to check anyway), they would also work on Linux, BSD, etc.

I successfully tested them on a MacBook Pro with Apple Silicon here, but guess they also work on Intel. The scripts are based on the original update*.bat for Windows.

I also added some docs at the top of the scripts.

I had some v2.x devices, first upgraded to v3.3 (not sure if necessary), then upgraded to v4.3 using these scripts and a USB-C cable.

To upgrade to v4.4, I then used the OTA web-based firmware upload method via WiFi.

update_fw_3.3_wifi_macos.sh

## Updating the OpenCO2 sensor to firmware release 3.3 (with wifi) on macOS.
# 0. download all the .bin files of the 3.3 release from github releases page and put them into current directory.
# 1. brew install esptool    (or somehow else have a working esptool.py)
# 2. OpenCO2 sensor: press and hold the button close to the usb port, then shortly press the reset button on the other side.
# 3. execute this script.
esptool.py --chip esp32s2 --port /dev/tty.usbmodem01 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 OpenCO2_Sensor.ino.bootloader.bin 0x8000 OpenCO2_Sensor.ino.partitions.bin 0xe000 boot_app0.bin 0x10000 wifi.bin

update_fw_4.3_wifi_macos.sh

## Updating the OpenCO2 sensor to firmware release 4.3 (with wifi) on macOS.
# 0. download all the .bin files of the 4.3 release from github releases page and put them into current directory.
# 1. brew install esptool    (or somehow else have a working esptool.py)
# 2. OpenCO2 sensor: press and hold the button close to the usb port, then shortly press the reset button on the other side.
# 3. execute this script.
esptool.py --chip esp32s2 --port /dev/tty.usbmodem01 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 OpenCO2_Sensor.ino.bootloader.bin 0x8000 OpenCO2_Sensor.ino.partitions.bin 0xe000 boot_app0.bin 0x10000 OpenCO2_Sensor.ino.bin

Font generation

Hello, with which tool can you generate your own fonts or convert free fonts?

Sensor calibration

Hello,
Found this on Tindie and am extremely interested as this is something that I've wanted to build myself.

As I was looking at the sensor documentation to figure out what I would have todo to make it myself (was looking at the SCD41) I saw that there was an api for set_sensor_altitude (datasheet section 3.6.3) and set_ambient_pressure (section 3.6.5) each which calibrates the sensor so that it can perform higher accuracy measurements.

Is this something that is taken into account?

I was looking at the board and didn't see any pressure measurement sensors, for my project I was planning on using BMP384 to get this information... if this is something thats taken into account I would just buy yours on Tindie :)

Menue is not available and implausible Measurement

On my CO2-Sensor its impossible to engage the menue. Pressing the button on the back near the on/off switch (in battery mode or loading mode) only toggles LED on/off. In my printed mini-manual this button is called No.7 "LED On/Off".
Obviously my device is not the model that is described and shown online now. On my device there is an additional Reset button No. 8 which forces an instant measurement. I tried several different combinations of managing the 3 switches No. 6,7,8 without getting in the menue.

I wanted to update the device because the measurement behaviour is not sufficient. After storing in fresh air it shows 420-450 ppm and afterwords in the freshly ventilated room it is creeping up implausibly quick and high. After moving it for testing into an airsealed and fresh air containing screwglass the CO2 raises up from initially 420 ppm to more than 2000ppm within 2 hours. It behaves in the sealed Glass as if its producing CO2 itself.

USB-Connection to my PC only affects a connection sound on the PC and no device shows up in the file manager.

I bougt the device at Tindie on 21 April 2023, Invoice No. #389420.
What can I do?

Revised PCB

I have run out of projects that I can make without spending an ungodly amount of money in R&D and me and a friend thought it would be fun if we mapped out the CO₂ monitor you have posted. You did not post the files for the schematic and board and only posted the images. looking at the schematic I have decided to just make a revised schematic with better power infrastructure and a few other misc. improvements. I was wondering if there is anyway to get in contact with you for you to explain some of your design choices?

getDataReadyFlag not found

Hallo,

wenn ich den main branch nehme und wie in der Readme beschrieben die Libs über die Arduino IDE installiere bekomme ich beim bauen die Fehlermeldung das es die Funktion nicht gibt. Ich hab auch in den Code der Lib geschaut da ist sie nicht enthalten. Kannst du mir sagen was ich falsch mache?

Gruß Christoph

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.