Home › How-to guides

How to use the Phone Spectroscope – Gem & Mineral Absorption Spectra

Free · works offline · no sign-up

Turn your phone and a diffraction grating into a visible-light spectroscope calibrated on the dark lines of sunlight or on mercury lamp lines. Absorption bands of gems and glass, iron-oxide colour of opaque stones. Free.

What is this? (start here)

White light is every colour of the rainbow mixed. A coloured stone keeps some colours and lets the rest through. A sheet of diffraction-grating film over the phone camera spreads the light into a rainbow, and the app measures which colours went missing. Each missing colour is a dark band, and each kind of atom (chromium, iron, cobalt, uranium, the rare earths) takes its own colours, so the bands tell you what is colouring the stone. Colours are measured in nanometres: violet about 400 nm, green about 530, red about 650. Never point the camera at the sun.

What it does

Which element is giving a gem, glass or stone its colour, read from the light it absorbs; and the colour of iron in an opaque stone (hematite or goethite type). It also opens spectra from laboratory spectrometers, databases and other apps, reads their bands with the same method, and saves spectra as JCAMP-DX or CSV. A library spectrum kept as two single-column files (wavelengths in one, values in the other) opens when you choose both files together, and a reflectance spectrum is also read for the hematite or goethite iron band.

What you need

Diffraction-grating film (1000 lines/mm) taped over the back camera; sunlight or a fluorescent lamp to calibrate; a torch or sunlight through a hole in card for the stone. For files, nothing extra.

How to use it

  1. Choose what you are measuring, then tap "OPEN THE CAMERA" and move the yellow strip onto the rainbow.
  2. Calibrate: with sunlight, tap a dark line on the plot and name it; with a fluorescent lamp, tap "Find the lines for me". After two lines the others are found for you and the table shows how far each sits from the fit.
  3. Tap "Record the light alone", then hold the stone in the light path and tap "Record through the stone".
  4. Save the reading with "Save as CSV" or "Save as JCAMP-DX". The JCAMP-DX file carries the bands as a peak table and the calibration lines, fit and uncertainty in its header.
  5. To read a spectrum from elsewhere, use "Open a spectrum file" under Spectrum files. Absorbance, transmittance or reflectance against wavelength (nm, micrometres or wavenumber) is read for bands; anything else is drawn and can be converted between JCAMP-DX and CSV.

Reading the answer

The verdict reads MATCHES, PARTLY LIKE or NO LIBRARY MATCH, with the absorption bands listed in nm and their uncertainty; a band names the colouring element, not the exact mineral. The percentage is how well band positions agree, not a probability. Look-alike notes say what the spectroscope can separate and what needs a laboratory (natural against synthetic ruby, emerald and sapphire cannot be told apart this way).

Methods and sources

Limits

A phone sees about 410–700 nm with 3–10 nm resolution, so it cannot read the infrared bands that identify clays, micas and carbonates, cannot do Raman, and cannot detect most treatments. A missing band is weak evidence: a thick or dark stone hides bands that are there.

What is this? (start here)

Each part of the page now opens with a short "What is this? (start here)": the instrument itself (see-through or opaque stone), the spectrum files card (open a laboratory or library spectrum, save as CSV or JCAMP-DX) and the limits card.

Not possible here

Checking the gem band finder against a real, openly licensed transmission spectrum of a gem with its band list: searched (RRUFF, USGS, GIA Gems & Gemology, open data repositories); none was found in machine-readable form, so the gem references remain hand-spectroscope band positions from the books above. Telling goethite from lepidocrocite, maghemite or ferrihydrite (their bands overlap, Scheinost et al. 1998). Measuring how much hematite or goethite a soil holds: that needs a laboratory calibration against X-ray diffraction and a spectrometer.

Open the Phone Spectroscope – Gem & Mineral Absorption Spectra — free →

More how-to guides

How to use the Offline Geologic Map – Topo, Satellite & Your Own GeoTIFFHow to use the Optical Mineralogy and Gemstone Testing – Michel-Lévy, Mineral Finder, SG and RI by PhoneHow to use the Ore Processing – Recovery, Mass Balance & Grinding EnergyHow to use the Piper Diagram & Water Chemistry – Charge BalanceHow to use the Pollen Counter – Palynology Counts & Pollen DiagramsHow to use The Professor – Geology Questions Answered with Sources

All how-to guides →