Ember
Thermal-based poultry health monitoring — infrared and ambient sensors flag fever bands before visible symptoms spread in a flock.
Problem
Poultry operations detect illness late because behavioral cues lag physiological stress. Ember experiments with thermal sensing across roost zones to surface elevated temperature clusters early enough for isolation.
What it covers
- Embedded acquisition of IR and ambient temperature channels
- Per-zone rolling baselines with anomaly scoring
- Local alarm GPIO for barn staff without cloud dependency
- Serial export for veterinary review and model training
bool zoneIsElevated(const ZoneReading& now, const ZoneBaseline& base) {
const float delta = now.irC - base.meanIrC;
return delta > base.stdIrC * 2.5f && now.ambientC < kMaxBarnAmbientC;
}
void scanRoostZones() {
for (auto& zone : zones) {
const auto reading = sampleZone(zone.id);
if (zoneIsElevated(reading, zone.baseline)) {
triggerAlarm(zone.id, reading);
}
}
}