Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telaire T6613 Support #1956

Merged
merged 13 commits into from
Nov 6, 2019
Merged

Telaire T6613 Support #1956

merged 13 commits into from
Nov 6, 2019

Conversation

james-coder
Copy link
Contributor

@james-coder james-coder commented Oct 23, 2019

Telaire T6613 is a UART CO2 sensor that comes integrated into some other Telaire devices like Telaire T8100. (Available on ebay for $35 to $100: https://www.ebay.com/sch/i.html?_nkw=telaire+t8100)
Use J2 (the white 0.1" header) for 5V/TX/RX/GND, it connects to the T6613.

Datasheet: https://www.amphenol-sensors.com/en/component/edocman/295-telaire-t6613-t6615-co2-sensor-development-kit-user-manual/download?Itemid=8486

It has a CO2 sensor with +/- 75 ppm accuracy.

This library was based on copying bits from MHZ19 CO2 sensor code.

I've tested it here with a generic ESP8266 dev board connected to Telaire T8100 (with T6613 module.)

The black wire below is me using ground for TX/RX/GND as I was powering it with another 5V/GND adapter.

image

@james-coder james-coder changed the title T6613 Support Telaire T6613 Support Oct 23, 2019
Copy link
Collaborator

@mcspr mcspr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Perhaps description for this should also be added as a Wiki page?

README.md Show resolved Hide resolved
code/espurna/sensors/T6613Sensor.h Show resolved Hide resolved
code/espurna/sensors/T6613Sensor.h Show resolved Hide resolved
code/espurna/sensors/T6613Sensor.h Show resolved Hide resolved
code/espurna/sensors/T6613Sensor.h Show resolved Hide resolved
Current gcc-4 does not mark this as warning, but gcc-9 notices the 3 char size requirement. Buffer should be 8
@james-coder
Copy link
Contributor Author

@james-coder
Copy link
Contributor Author

james-coder commented Oct 25, 2019

Sensor PDF says "max 2000ppm", but I just tried rebuilding/ota reflashing and got "Out of range" in my room. (Should I be concerned about the high CO2 value? 😆 Opening a window now.) I bumped it up to 5000 and rebuilt / ota-ed and sure enough now it reads 2397ppm.

@mcspr
Copy link
Collaborator

mcspr commented Oct 25, 2019

Elevation setting? Or maybe calibration is a bit off.

There are still some commands left over to check for current mode / status, set / get elevation (+-500ft, from 0 to 5000) and check / do calibrations

@james-coder
Copy link
Contributor Author

james-coder commented Oct 25, 2019

It would be nice to expose the elevation offset command, maybe through the web interface if possible. (Not sure how that works yet.) Calibration is ABC Logic done automatically (assuming the earth stays at 400ppm 😆 I think engineers weren't thinking even a decade or two away? My local university already says outside air is 420ppm, not 400ppm.) unless you can get your hands on some CO2 gas / known concentrations to enter a fixed calibration. I'm not sure if there's a way to turn on / off ABC Logic, that spec sheet seems confusing about that. (It might be the exact same way as the MHZ19, since now I realize the MHZ19 is basically a rip-off version of the T6613. 😆)

@james-coder
Copy link
Contributor Author

james-coder commented Oct 25, 2019

Or the T6613 is very voltage sensitive and I started giving it 4.45V instead of 4.95V when I change esp 8266 boards. (Wemos D1 Mini has a pin labeled "5V", but I guess it really means "Not Quite 5V", as it's in-line with a diode.)
My CO2 levels have returned to normal. (It matches another CO2 meter I have set up next to it.)

@mcspr
Copy link
Collaborator

mcspr commented Nov 6, 2019

Auto-calibration as described is veeery dependent on proper ventilation, so it might not always be right, but I guess you sorted that out anyway with a different way to power it.

@mcspr mcspr merged commit d177634 into xoseperez:dev Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants