Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Are there any mineral identification techniques that work for all minerals(non-metallic/metallic), so that an electronic device could be made to distinguish between all minerals?
Yes, it is called X-ray diffraction (XRD). It is done by machines that look like this:
I'm not sure this is in the scope of your electronic engineering project.
Required, but never shown