bluerobotics / bluerobotics/tsys01-python
check out ian black's work
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 14
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Xem xét cách triển khai tại https://github.com/IanTBlack/br_sensors và so sánh các thay đổi TSYS01 của nó với repository này. Bắt đầu bằng cách kiểm tra hành vi được liệt kê của read, temperature, _calculate, _read_adc, _adc2temp, burst_avg_temperature và số sê-ri; được xem là hoàn tất khi xác định được những thay đổi nào thuộc về đây và xác thực hành vi được chấp nhận bằng các bài kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- embedded-iot
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100