Novelty: an electronic device designed to measure the volume of milk produced by dairy cattle during the mechanical milking process is disclosed. Constitution: two or four milk collectors I, one for each teat of the udder’s mammary glands. The invented device is attached to the milking devices to measure the volume of the milk produced by dairy cattle and record the milking curve of each cattle, which milking curve can be retrieved as an average or predicted value for every next milking with the aim to separately tailor the milking parameters of each cattle to the particular needs thereof.