Hi guys,
We recently learnt about spectroscopy in Chemistry and it got me thinking. I was wondering if it would be possible to measure the concentration of ammonia in water using an automated procedure - that I could make, DIY style, using a raspberry pi as a controller. The goal would be to monitor the levels constantly so that the thing could warn me if there is any ammonia detected. I would not like to use reagents, because then I would end up with waste materials that I would have to store in the device.
I am interested in finding the concentration of ammonia, nitrite, nitrate and possibly macro and micro nutrients. I have searched for ammonia probes but they are $300+ and seem to require replacement of the membranes (something I would very much like to avoid).
The water I would be testing is from an aquarium and so will obviously contain other (unknown) substances. Would these interfere with the result if I were to use spectroscopy? For example (using the IR spectroscopy), there would be nitrates in the water - am I correct in reasoning that if I chose a specific wavelength to test for ammonia (that it absorbs strongly in) and the nitrates also absorb in that wavelength, then I will have a skewed reading because I will actually be measuring the concentration of ammonia and nitrate? Would the gases in air skew the result too?
So to summarise my main questions:
1) Is it even possible? If so, what technique to measure the concentration would be best? Could I even build this myself?
2) Would the other substances in the aquarium interfere with the result? How can I combat this?
3) Is there an easier way that I have missed?
4) How accurate do you reckon I could get it? Ideally I would like a 0.05ppm detection, but I would settle for 0.1ppm or 0.25ppm. Some fish die at 0.25ppm concentrations though so if I couldn't get it that accurate it would end up being a project mostly for sh!ts and giggles - but all my projects end up like that anyway!
I'm not too good at chemistry, so please forgive me if I sound a little stupid.
Cheers,
Stewart