The invention relates to a coffee
brewing method and a coffee
machine, and belongs to the technical field of coffee
brewing. The coffee
brewing method comprises the following steps: S1, starting a coffee
machine; s2, a bean
grinding assembly automatically grinds the coffee beans into coffee
powder, and the coffee
powder is conveyed to a
powder hopper; s3, after the beans are ground, the powder hopper rotates to the brewing position from the initial position, the rotation time is recorded as T, the brewing
assembly injects hot water into the powder hopper, and brewing is completed; s4, after brewing is completed, the powder hopper rotates, the rotation time is set to be X, and the powder hopper is made to move to the position between the bean
grinding assembly and the brewing assembly; and S5, after the
coffee grounds in the powder hopper are cleaned, the powder hopper rotates and resets to the initial position. The steps from starting of the coffee
machine to bean
grinding, coffee powder conveying, brewing and the like are all automatically operated. The coffee machine can automatically calculate and set the rotating time X of the powder hopper, so that the powder hopper moves to the position between the bean grinding assembly and the brewing assembly, and a user can conveniently clean
coffee grounds.