davidkreidler / openco2_sensor Goto Github PK
View Code? Open in Web Editor NEWArduino Repository for an E-Ink CO2 Sensor using ESP32 and SCD4X
Home Page: https://www.tindie.com/products/davidkreidler/open-co2-sensor/
Arduino Repository for an E-Ink CO2 Sensor using ESP32 and SCD4X
Home Page: https://www.tindie.com/products/davidkreidler/open-co2-sensor/
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.
Expected Results:
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.
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.
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.
## 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
## 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
Hello, with which tool can you generate your own fonts or convert free fonts?
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 :)
where to order the sensor SCD40?
Thanks Volthouse
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?
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.