Call-for-Code / Call-for-Code/Prometeo-Pyrrha

Don't send PPMs for sensors that have become corrupted / poisoned

Open
#118 0 comments 0 reactions 1 assignee Claimed by @mrodrise View on GitHub
enhancement fire-fighter firmware-engineer
Dominant language
JavaScript
Stars
27
Forks
18
PR merge metrics
No merged PRs in 30d

Description

The resistive layer of a sensor can also be 'poisoned' by particulates in the air - we refer to this as a `corrupted` or poisoned sensor.

Sensor corruption is permanent. When the firmware detects a corrupt sensor, it should log it to the SDCard and stop sending data for that sensor (avoid other components handling corrupt data). It should also send a magic number to the mobile (`-2`?), so the mobile app can tell the user to repair or replace the device. The mechanism for detecting a corrupted sensor is to-be-worked-out during the calibration - possibly something along the lines of _‘the standard deviation of 10 sensor readings is fixed and not changing’_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.