LactiGuard is a pocket laboratory for the milk collection truck. At every farm, the sample goes through objective sensors and a decision engine says, within minutes, whether that milk can enter the tank without condemning the load of the other 30 producers on the route. No visual tests, no opinions, a complete audit trail.
The driver runs the alizarol test by eye, checks the thermometer and fills a bottle that goes to the laboratory. Bacterial count, somatic cells and antibiotic results arrive days later, about a load that has already been mixed and processed. A single producer with antibiotic residue condemns the other 30 on the route, and the dairy finds out at unloading.
Before the hose is connected, the sample goes through an ultrasonic analyzer, a cell counter, an antibiotic strip and an optical chamber that turns colorimetric tests into numbers. The driver only executes; the decision to accept, accept with a warning or reject belongs to the software, based on Brazil's raw milk regulations (MAPA Normative Instructions 76 and 77/2018, see below) and on the producer's history.
The order is a real sequence: no step starts before the previous one is done, and the app blocks skipping.
QR or NFC tag on the producer's bulk tank. The app logs time, GPS and tank temperature and starts a mandatory agitation timer.
20 mL into the ultrasonic analyzer, one drop on the antibiotic strip, a cassette into the cell counter. All in parallel.
Alcohol tube, strip and adulteration kits go into a closed box with standardized light. The camera measures color and turbidity; nothing is read by eye.
The rules engine crosses the legal limits, the producer's history and the load already on board. Verdict on screen, receipt for the producer, sync when there is signal.
It is the question nobody can answer at the farm gate today. LactiGuard computes the volume-weighted mix and applies the IN 76 limits [1] before pumping. Move the controls.
The decision engine, the driver app and the dairy dashboard are identical across the three tiers. What changes is how much of the diagnosis is measured directly and how much is estimated. Prices per truck, including the Raspberry Pi hub. Ranges are based on public supplier prices listed in the references at the end of the page; items without a public price are estimates to be confirmed by quotation. All prices in Brazilian reais (R$).
What "disposables per producer tested" means: every antibiotic test uses one strip (≈ R$ 11) and every cell count uses one cassette (≈ R$ 28); the ultrasonic analyzer, pH, conductivity and the optical chamber use nothing but rinse water. With risk-based testing, only part of the producers get the full test at each collection. Software is a monthly subscription per truck, the same across tiers. Every field sample still produces the official sealed bottle for the accredited laboratory; when the report comes back, LactiGuard matches it against the field readings and recalibrates the SCC and TBC models, which get more accurate every month.
Based on the Três de Maio Dairy Chain Diagnosis (Apr/2026), Emater/RS-Ascar 2025 data and the Conseleite/RS milk reference price [3]. Move the controls to test other scenarios.
7 trucks in the scenario above. Each load is milk from the 25–35 producers on the route who did everything right.
As a share of the municipality's annual production of 30.3 million liters: —.
Against a gross production value of R$ 78.5 million. In the AMUFRON basin (392 million liters) the same reasoning multiplies by 13.
How do you guarantee that milk reaches the dairy with proven quality, reducing losses, increasing traceability and building trust between producers, haulers and processors?
| Indicator | What it reveals | Sensor / device | Field? | Time | Minimum tier | Priority |
|---|
Lactoscan Farm Eco (R$ 3,960), Cap-Lab SP (R$ 5,013) or Milkotester Lite (on quotation). Fat, protein, lactose, solids-not-fat, total solids, density, temperature, calculated freezing point, added water and salts. Optional pH. RS232/USB output.
Same principle, with built-in conductivity, Bluetooth and Wi-Fi, Android app and documented serial protocol. The SCC model estimates somatic cells.
Portable fluorescence somatic cell counter. Direct result in cells/mL in 45 s, no liquid reagent. Serial data port.
Unisensor, Charm ROSA or IDEXX SNAP lateral-flow strips for beta-lactams, tetracyclines, sulfonamides and other families. Dedicated reader (ReadSensor, EZ Reader) or camera reading in the optical chamber in the Essential tier.
ESP32 board with DS18B20 temperature probe, Atlas Scientific or DFRobot pH and conductivity probes, LED/photodiode turbidity sensor and AS7341 spectral color sensor. Sends JSON over USB or Wi-Fi. Built in-house.
Opaque 3D-printed box with high-CRI white LED, diffuser, holder for tube, CMT paddle and strip, color calibration card and Pi Camera. Converts alcohol test, CMT, blood, adulteration kits and strips into numeric ΔE. Built in-house.
ITR MK540 or Laktron. Measured freezing point, legally valid for added-water fraud. Only used when the ultrasonic analyzer flags a suspicion.
Everything that decides accept or reject on the spot is measured in the field. What serves as an official report or root-cause investigation stays in the laboratory, and LactiGuard keeps the bottle and the audit trail for it.
The app is a step-by-step assistant with large buttons, a photo of each step and a lock until the reading arrives from the sensor. The new skills are mechanical, and the driver already does half of them under IN 77. Calibration, reagents and maintenance stay with a dairy technician once a week.
The collection conflict is always the same: the load arrived bad and nobody knows whose fault it was. LactiGuard solves that not with one more opinion, but with a record that producer, hauler and dairy receive at the same time.
The equipment is on the truck; the producer needs nothing but a phone (or paper). At the end of the collection they receive, by app, WhatsApp or printed receipt, the result of every indicator, the legal limit and the verdict. If they disagree, they request the counter-sample.
Time, GPS, chamber photo and device serial on every reading, recorded so they cannot be altered later. The driver no longer answers alone for a condemned load.
Before unloading, the dairy already knows what came in, from whom and in what condition. Quality-based payment with daily data, documentary defense during inspections.
Every collection produces the official sealed, barcoded sample required by IN 77. It is the producer's guarantee: if the field reading is disputed, the accredited laboratory analyzes the same milk, and the result recalibrates the system.
GPS and temperature tracking systems already piloted in the region become a data source: they say where and at what temperature; LactiGuard says what was inside.
A Raspberry Pi fixed in the cab receives the readings through three paths, records everything with device serial, time, GPS and photo, decides locally and syncs to the cloud when there is signal. CSV exists only as an export for the dairy.
The analyzers and the DCC have an RS232 serial port. A R$ 40 USB-serial cable connects to the Pi; a Python service listens to the port and captures the result line the device emits when the measurement ends. It is the most reliable path and the default of the solution.
Lactoscan over Bluetooth and the ESP32 node over Wi-Fi talk to the Pi via MQTT, which allows the sensors to stay in the sample compartment, away from the cab. Used when the cable gets in the way.
The optical chamber photographs tubes, strips and paddles and the Pi measures color and turbidity with computer vision. The same camera reads the tank QR and, as plan B, runs OCR on the display of any device without a port.
We are looking for a dairy or cooperative for a 90-day pilot in the Essential tier, a partner laboratory for the paired samples, and route-tracking integrators. Write to us.
We reply within one business day. If you prefer, email directly with the name of your dairy and how many collection trucks you operate.
matheus@boesing.com.brLegal limits, public prices and quotations used as the basis. Consulted in September 2026. Prices in Brazilian reais.
Assumptions. Conversions at a reference exchange rate of R$ 5.40/US$ and R$ 7.00/£, to be updated on the quotation date. Incubator, strip reader, ATP luminometer, dataloggers and the optical chamber have no public list price; their ranges are market estimates. E-commerce prices vary and some items were out of stock when consulted.