Automatic spice grinding machine