bluerobotics / bluerobotics/tsys01-python
check out ian black's work
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 14
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Review the implementation at https://github.com/IanTBlack/br_sensors and compare its TSYS01 changes with this repository. Start by checking the listed read, temperature, _calculate, _read_adc, _adc2temp, burst_avg_temperature, and serial-number behavior; done means deciding which changes belong here and validating the accepted behavior with tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- embedded-iot
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100