Kiln
Automated coconut drying with ventilation and heat control — embedded loops regulate chamber temperature and airflow for consistent copra moisture.
Problem
Copra quality swings when drying is uneven or weather interrupts sun drying. Kiln automates heat and fan schedules inside a drying chamber so operators hit target moisture with less spoilage.
What it covers
- Temperature and humidity sensing inside the drying chamber
- PID-style heat control with ventilation interlocks
- Batch profiles for different coconut loading densities
- Safety cutoff on overtemperature and airflow loss
void runDryingProfile(const Profile& profile, ChamberState& state) {
const float error = profile.targetTempC - state.tempC;
state.heatDuty = clamp(error * profile.kp, 0.0f, 1.0f);
state.fanDuty = state.tempC > profile.maxTempC ? 1.0f : profile.minFanDuty;
applyActuators(state);
}