An AI-assisted early mastitis risk assessment system that uses affordable milk sensors to help dairy farmers identify warning signs sooner.

Mastitis may begin before visible symptoms appear, delaying attention and treatment.
An affected batch can lower quality and contaminate milk intended for the bulk tank.
Treatment, discarded milk, and reduced yield create avoidable costs.
MASTIX passes a milk sample through sensors for TDS, conductivity, and turbidity. An ESP32 processes the readings, AI-assisted logic assigns a risk level, and servos route the sample accordingly.
Measure milk characteristics in the testing chamber.
Combine readings into a low, medium, or high risk result.
Send acceptable milk to the bulk tank or separate a higher-risk sample.
Collect TDS, conductivity, and turbidity measurements.
Turn physical readings into a clear screening result.
Use servo motors to direct the milk after assessment.
Show the latest result, destination, and time-stamped history.
MASTIX indicates possible risk from sensor patterns. Veterinary examination and validated testing remain necessary for diagnosis and treatment.
Planned additions include mobile alerts, cloud history, improved models, more sensors, and automatic high-risk notifications to veterinarians.