A device used to extract a substance in order to produce drinks, includes
a plurality of brewing chambers (7, 8). The device has an interface (6)
which is used to connect to a hot water supply inlet and element for
distributing the hot water between the brewing chambers (7, 8) containing
a substance that is to be infused. For each brewing chamber (7, 8), the
aforementioned distribution elements include elements for detecting the
presence of the substance to be infused and elements for opening the hot
water inlet into the brewing chamber (7, 8) upon detection of the
substance. A machine including such a device is also disclosed. The
invention is particularly suitable for making espresso coffee.