The engineering of integrated hardware stations and computational storage mediums to automate the detection of total solids and adulterants in raw milk. This creates value by enabling real-time, high-throughput quality control and fraud prevention at the point of collection.