Yes, you can use a coffee grinder for spices and other foods, but there are some considerations to keep in mind. Coffee grinders, especially blade grinders, can effectively grind spices like peppercorns, cumin, coriander, and even seeds like flax or chia. However, using a coffee grinder for spices may impart flavors to the grinder, which can affect the taste of coffee if you use the same grinder for both purposes. To avoid this, you can dedicate a separate grinder for spices or thoroughly clean the grinder after each use.
When grinding spices, ensure the grinder is dry to prevent clumping. Pulse the grinder to achieve the desired consistency, as continuous grinding can overheat the spices, affecting their flavor. For small quantities, a blade grinder is suitable, but for larger amounts, a burr grinder might be more efficient, though it's less common for spices.
Coffee grinders can also be used for other foods like nuts, grains, or breadcrumbs. However, be cautious with oily foods like nuts, as they can leave residues that are difficult to clean. For grains, ensure the grinder is capable of handling the hardness to avoid damage.
In summary, while a coffee grinder can be versatile, consider the potential for flavor transfer, the need for thorough cleaning, and the grinder's capacity to handle different textures and hardness levels.