bluerobotics / bluerobotics/tsys01-python

check out ian black's work

未关闭
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4
派生
14
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/IanTBlack/br_sensors

1) Changed variable/function names to more closely match TSYS01 manual.
2) Combined read() and temperature() functions into one.
3) Split _calculate into two functions (_read_adc and _adc2temp).
4) Added multiple selection options to give user options for selecting temperature conversion units.
5) Changed Kelvin conversion from 273 to 273.15.
6) Added experimental burst_avg_temperature. Rapidly takes X number of samples, drops the first and last, and averages the rest. Need to run tests to determine if it provides any benefit.
7) Added serial number function. I'm still trying to understand how bit manipulation works, so I may have gotten this wrong. I assumed it could be manipulated the same way as _calculate.

贡献指南

这个仓库没有索引到贡献指南

调研方向

检查 https://github.com/IanTBlack/br_sensors 中的实现,并将其中的 TSYS01 更改与此 repository 进行比较。首先检查所列出的 read、temperature、_calculate、_read_adc、_adc2temp、burst_avg_temperature 和序列号行为;完成的标准是确定哪些更改属于此处,并通过测试验证接受的行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
embedded-iot
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。