Turn Your Phone Into a Spectrometer — For Free!
Remember those flame tests from high school chemistry class? You would burn a specific element — such as copper or sodium — and each element would burn with a different color. For instance, sodium burns with an intense yellow flame while lithium will burn red.
These characteristic colors emerge because every element or chemical compound has its own emission spectrum. When an atom's electrons are excited, it will emit photons of specific wavelengths. Atoms emit photons of various energies when electrons are excited from one energy level to another.
The magnitude of the energy jump for the electrons determines the energy — and subsequent color — of the emitted photons. Using an instrument known as a spectrometer, physicists can see the unique emission lines for an element or compound. With SpectraSnapp, now you can too!
Image Credit: Mike Lucibella/APS.
SpectraSnapp makes use of the iPhone's camera to image spectra of any light source. You'll need to make a few quick adaptations first, however.
As you can see in the image above, you'll have to create a makeshift spectrometer to append to your phone's camera. The app has the full details on how to build your device which requires just a few items:
- A diffraction grating
- Black construction paper
- And electrical tape (black works best)
After you've made your spectrometer, just point your camera at any nearby light sources to reveal the underlying emission lines. Once you snap your picture, it's time for analysis.
The app lets you do some basic photo editing to perfect your spectrum sample. You can crop, rotate, change the brightness, and alter the contrast for your spectrum image.
Next, you can compare your spectrum to our library of spectra for a number of other light sources. The library includes spectra for many gas discharges and common light sources. By comparing your spectra, you can start to see how your sample generates its light. Maybe your sample looks like a sodium discharge, or maybe it looks more like the red and orange heavy emission of neon.
Image Credit: Brian Jacobsmeyer
Finally, you can of course share your spectra through Facebook, Twitter or Instagram. All of your photos will be stored in your phone's camera roll.
For now, the app is only available for iPhones and iPads, but we hope to branch out to Android devices in the future. Make sure to let us know what you think in the comments.
To download the app, simply search for "SpectraSnapp" in the app store on your device. Otherwise, you can follow the download link below.
Download and More Links
Download the App (iTunes Store)
APS News Article on SpectraSnapp
What spacing did your diffraction grating have please?
Wednesday, November 2, 2016 at 7:44 AM
How's the conversion to Android progressing? 'Understanding here of real life pressures, but would like to encourage you to completion. I've half an idea here for use in marine coral keeping, to test output towards workable colour temperature at depth for d.i.y. lighting rigs. Kind regards.
Monday, July 11, 2016 at 4:47 PM
Awesome!! Important and useful App.
Sunday, August 16, 2015 at 5:36 PM
Lewis N. Clark said...
A twisted pair line rejects electromagnetic interference (EMI) and crosstalk better than a single wire or an untwisted pair. mobile phone spy software free download
Saturday, May 3, 2014 at 2:09 AM
Only the "legion of apple" would wonder why a smart teacher would want a phone they can actually control (IE Android).
I have been working with a professor who has set up a similar app, but there is the same issue. Why would you write this for apple when folks that want to actually have control and open architecture on their phone are clearly android users. I don't want a tiny ghost of Steve Jobs inside my phone deciding what my phone can do.
You seriously need to have this for Android. AND apple since high school kids often own apple products too.
Wednesday, March 12, 2014 at 12:07 PM
iOS App Development said...
Why not to have spectrometer of orbitals electrons charge spins? Maybe we should recieve it from X ray crystalographic spectrum of orbitals?
Thursday, October 24, 2013 at 6:19 AM
Nuno Bettencourt said...
well, not exactly... but we get the picture
Thursday, October 10, 2013 at 8:13 PM
Nuno Bettencourt said...
Here it is:
Thursday, October 10, 2013 at 8:12 PM
Make it for Android IMMEDIATELY please :D
Wednesday, October 9, 2013 at 12:38 PM
being more awesome than you, for example
Friday, October 4, 2013 at 7:12 PM
I would be very interested in a android version!!! Thanks for the idea, this is really great to see a 'simple' handheld device to use for this kind of scientific ideas. THANKS.
Monday, August 5, 2013 at 8:12 AM
Will install on ipad mini but stuck on no sample loaded
Thursday, June 20, 2013 at 10:40 AM
Sorry but what are you doing we an Android phone?
Saturday, May 25, 2013 at 2:56 PM
Friday, February 22, 2013 at 4:41 AM
Sam Wang said...
Let's have it for Android.
Tuesday, February 19, 2013 at 4:45 PM
Not compatible with iPhone 3G.
Saturday, February 16, 2013 at 8:26 PM
Jeffrey Warren said...
For android and just on your desktop, try these: http://store.publiclaboratory.org/collections/spectrometry
calibrated and open source
Friday, February 15, 2013 at 12:10 AM
please we all have droids, we need it
Thursday, February 14, 2013 at 7:21 PM
Thursday, February 14, 2013 at 7:20 PM
Thursday, February 14, 2013 at 7:19 PM
Ditto from this 'droid-using physics teacher...
Wednesday, February 13, 2013 at 3:46 PM
Make the android version now! I'm a Chemistry teacher with a Galaxy S3 and I want this app!
Tuesday, February 12, 2013 at 4:55 PM