PPM Meter

From ProjectWiki
Revision as of 10:17, 26 October 2008 by 194.165.42.59 (Talk)
Jump to: navigation, search

EC/TDS/PPM Meter On Limited Budget

Contents

You may also be interested in the pH_Meter meter page.

http://mult.fizwig.com/ diablo 3 release http://reality.phreesite.com/ photoshop cs4 free download http://foxy.sitebooth.com/ download photoshop cs3 with http://ling.700megs.com/ a assassins creed 2 http://lager.freehostplace.com/ 3dmark vantage registration code http://fara.mycyberway.com/ naruto shippuden 29 http://tasken.110mb.com/ bleach 52 english http://mult.fizwig.com/diablo-3-screen.html diablo 3 information http://reality.phreesite.com/adobe-photoshop-cs4-11.html photoshop cs4 final http://foxy.sitebooth.com/photoshop-cs3-extended-keygen-download.html photoshop cs3 vista download http://lager.freehostplace.com/3dmark-vantage-basic.html 3dmark vantage not http://fara.mycyberway.com/naruto-shippuden-10.html naruto shippuden wallpapers http://tasken.110mb.com/bleach-62-english.html bleach 49 english http://mult.fizwig.com/diablo-3-launch-date.html diablo 3 announcment http://reality.phreesite.com/adobe-photoshop-cs4-trial.html photoshop cs4 when http://foxy.sitebooth.com/adobe-photoshop-cs3-extended-keygen-download.html download photoshop cs3 30 day trial http://lager.freehostplace.com/3dmark-vantage-for-xp.html 3dmark vantage jane nash http://fara.mycyberway.com/naruto-shippuden-ex.html where to watch naruto shippuden http://tasken.110mb.com/bleach-14-english.html bleach episode 40 english http://mult.fizwig.com/diablo-3-complaints.html diablo 3 general http://tasken.110mb.com/bleach-80-english.html bleach english downloads http://mult.fizwig.com/diablo-3-pay.html requirements for diablo 3 http://tasken.110mb.com/bleach-166-english-subbed.html bleach 179 english

http://goog.phreesite.com/ beef soup recipe http://stor.fizwig.com/ desperate housewives quotes http://cerj.sitebooth.com/ lautrec moulin rouge http://scor.freehostplace.com/ download windows xp cd key http://rolling.mycyberway.com/ how do i screen shot http://yotter.110mb.com/ chicken noodle soup recipes http://bolt.700megs.com/ lost series 5 http://goog.phreesite.com/mongolian-beef-recipe.html beef teriyaki recipe http://stor.fizwig.com/desperate-housewives-series.html desperate housewives first season http://cerj.sitebooth.com/moulin-rouge-history.html moulin rouge 2001 http://scor.freehostplace.com/download-service-pack-2-for-windows-xp.html windows xp sp3 final download http://rolling.mycyberway.com/xp-screen-shot-how.html how to screen shot from http://yotter.110mb.com/chicken-soup-casserole-recipe.html best chicken noodle soup recipe http://bolt.700megs.com/lost-5-9.html lost finale 5 http://goog.phreesite.com/beef-marinade-recipe.html beef tongue recipe http://stor.fizwig.com/desperate-housewives-season-three.html desperate housewives seasons http://cerj.sitebooth.com/moulin-rouge-cabaret.html moulin rouge videos http://scor.freehostplace.com/buy-and-download-windows-xp.html windows xp sp3 download link http://rolling.mycyberway.com/how-to-email-a-screen-shot.html how to take screen shot in windows xp http://yotter.110mb.com/hearty-chicken-soup-recipe.html over chicken soup recipe http://bolt.700megs.com/lost-5-more.html abc lost 5 1 http://stor.fizwig.com/desperate-housewives-clothes.html desperate housewives chat http://cerj.sitebooth.com/moulin-rouge-analysis.html moulin rouge book http://yotter.110mb.com/chicken-foot-soup-recipe.html recipe for easy chicken noodle soup

http://holoim.741.com/ colored contact lenses no prescription http://kars1548.freehostplace.com/ power dvd for vista http://goru1693.mycyberway.com/ maple story auto clicker http://cope5432.700megs.com/ watch family guy movie online http://gali1356.phreesite.com/ doom 3 x http://laro5691.fizwig.com/ need for speed pro street serial http://koros1256.sitebooth.com/ photos of black hair styles http://holoim.741.com/plano-colored-contact-lenses.html white colored contact lenses http://kars1548.freehostplace.com/power-dvd-pro.html cyber link power dvd http://goru1693.mycyberway.com/maple-story-pet.html maple story warrior guide http://cope5432.700megs.com/watch-family-guy-com.html watch family guy com http://gali1356.phreesite.com/doom-3-cheats-for-xbox.html doom 3 update http://laro5691.fizwig.com/need-for-speed-pro-street-drift.html need for speed pro street forums http://koros1256.sitebooth.com/black-hair-styles-updos.html short hair cut style http://kars1548.freehostplace.com/power-dvd-dx.html buy power dvd http://goru1693.mycyberway.com/maple-story-mage-guide.html japanese maple story http://cope5432.700megs.com/watch-new-family-guy-episode.html watch family guy tv show http://gali1356.phreesite.com/doom-3-movie.html doom 3 tweaks http://laro5691.fizwig.com/need-for-speed-pro-street-2008.html need for speed pro street crashes http://koros1256.sitebooth.com/funky-short-hair-styles.html mens short hair styles http://kars1548.freehostplace.com/cyberlink-power-dvd-se.html power dvd 5 ne http://goru1693.mycyberway.com/maple-story-level-hacks.html maple story sea http://cope5432.700megs.com/watch-family-guy-e.html site to watch family guy http://gali1356.phreesite.com/doom-3-wad.html doom 3 benchmarks http://laro5691.fizwig.com/need-for-speed-pro-street-saved-games.html need for speed pro street for 360

http://kost1359.phreesite.com/ jessica simpson hair pictures http://ginhet.blackapplehost.com/ youtube jennifer aniston http://jork7513.700megs.com/ gta 4 theme http://rotans.freetzi.com/ agent orange birth defects http://yolistar.fusedtree.com/ best free wallpaper http://lenas.hostshield.com/ red alert 3 system http://polr1982.fizwig.com/ stargate atlantis torrents http://kost1359.phreesite.com/jessica-simpson-hair-colors.html jessica simpson hair dos http://ginhet.blackapplehost.com/jennifer-aniston-boobs.html jennifer aniston sunbathing http://jork7513.700megs.com/gta-4-hints.html gta 4 patch http://rotans.freetzi.com/causing-birth-defects.html what are birth defects http://yolistar.fusedtree.com/free-3d-desktop-wallpaper.html free nature wallpapers http://lenas.hostshield.com/westwood-red-alert-3.html www red alert 3 http://polr1982.fizwig.com/stargate-atlantis-online-free.html youtube stargate atlantis http://kost1359.phreesite.com/are-jessica-simpson-hair.html jessica simpson hair 2008 http://ginhet.blackapplehost.com/jennifer-aniston-s.html jennifer aniston height weight http://jork7513.700megs.com/gta-4-video-review.html gta 4 deal http://rotans.freetzi.com/india-birth-defects.html birth defects lawyer http://yolistar.fusedtree.com/free-simpsons-wallpaper.html get free wallpaper http://lenas.hostshield.com/a-red-alert-3.html red alert 3 come http://polr1982.fizwig.com/stargate-atlantis-team.html stargate atlantis aurora http://ginhet.blackapplehost.com/jennifer-aniston-photo-gallery.html jennifer aniston photo gallery http://jork7513.700megs.com/about-gta-4.html gta 4 live feed http://rotans.freetzi.com/national-birth-defect.html birth defects syndromes http://yolistar.fusedtree.com/free-wedding-wallpaper.html free jonas brothers wallpaper http://polr1982.fizwig.com/stargate-atlantis-screen.html stargate atlantis books

http://koron.phreesite.com/ indian vegetarian recipes http://phiz.700megs.com/ easy chocolate recipe http://users6.nofeehost.com/rooliks/ watch avatar book 3 16 http://yuta1563.sitebooth.com/ healthy quick recipes http://jonnysx.hothostcity.com/ crockpot chicken recipies http://tonika.110mb.com/ nick and jessica simpson http://toris.freehostplace.com/ potato leek soup recipes http://koron.phreesite.com/best-vegetarian-recipes.html vegetarian breakfast recipes http://phiz.700megs.com/chocolate-bundt-cake-recipe.html chocolate moose recipe http://users6.nofeehost.com/rooliks/avatar-book-3-20.html avatar book 3 21 http://yuta1563.sitebooth.com/healthy-muffin-recipes.html free healthy recipe http://jonnysx.hothostcity.com/oven-chicken-recipies.html chicken cordon bleu recipies http://tonika.110mb.com/jessica-simpson-height.html jessica simpson dafa http://toris.freehostplace.com/potatoes-soup-recipe.html and sweet potato soup recipe http://koron.phreesite.com/vegetarian-dinner-recipe.html vegetarian meal recipes http://phiz.700megs.com/baking-chocolate-recipe.html chocolate whipped cream recipe http://users6.nofeehost.com/rooliks/avatar-book-3-dvds.html avatar complete book 3 collection http://yuta1563.sitebooth.com/healthy-italian-recipes.html healthy seafood recipes http://jonnysx.hothostcity.com/chicken-recipies-com.html lowfat chicken recipies http://tonika.110mb.com/photos-of-jessica-simpson.html jessica simpson bio http://toris.freehostplace.com/slow-cooker-potato-soup-recipe.html loaded potato soup recipes http://tonika.110mb.com/jessica-simpson-gossip.html jessica simpson sister http://toris.freehostplace.com/potato-soup-recipe-in.html n park potato soup recipe

http://popron.freehostplace.com/ mountain bike city http://cont.sitebooth.com/ avatar book 3 chapter 16 http://payk.700megs.com/ the x files online http://cront.mycyberway.com/ mussells recipe http://goog.phreesite.com/ used furniture seattle http://hronom.110mb.com/ hudson wisconsin school http://plenisa.freewhost.com/ free online dirt track http://popron.freehostplace.com/park-city-ut-mountain.html mountain city prison http://cont.sitebooth.com/watch-avatar-book-3-chapter-16.html avatar book 3 chapter 19 http://payk.700megs.com/x-files-pics.html david duchovny x files http://cront.mycyberway.com/mussel-sauce-recipe.html mussel recipe with http://goog.phreesite.com/used-business-furniture.html price used furniture http://hronom.110mb.com/wisconsin-virtual-school.html school in madison wisconsin http://plenisa.freewhost.com/cd-tracks-online.html track friends online http://popron.freehostplace.com/mountain-property-management-park-city.html park city mountain resort park city utah http://cont.sitebooth.com/avatar-book-3-chapter-14-boiling-rock.html avatar book 4 chapter 14 http://payk.700megs.com/x-files-logo.html x files lone gunmen http://cront.mycyberway.com/carrabbas-mussel-recipe.html recipe for mussels and http://goog.phreesite.com/used-library-furniture.html used office furniture minneapolis http://hronom.110mb.com/wisconsin-virtual-schools.html wisconsin rapids school district http://plenisa.freewhost.com/sell-tracks-online.html bass tracks online http://popron.freehostplace.com/city-in-a-mountain.html mountain spa park city utah http://cont.sitebooth.com/avatar-316-book-3-chapter-16.html avatar book three chapter fourteen http://cront.mycyberway.com/italian-mussel-recipe.html green lipped mussel recipe http://goog.phreesite.com/used-furniture-champaign.html used office furniture denver co http://cont.sitebooth.com/avatar-book-3-chapter-14-airing.html watch avatar book 3 chapter 20

The Probe

Probes-small.jpg

This was a bit tricky. At first i tried copper wire, push pins and various other things. With these experiments i determined that you need to expose a small and consistant amount of the probes to the solution at a consistant distance. I accomplished this by using alot of hot glue and/or insulation on the wire so that only the tips of the wires would touch the water. Then I realized that the stupid readings drift like crazy untill you clean the probe again, and even cleaning the probe sometimes didnt help because probably some chemical reaction with the stuff in the solutions. I kept trying to think of something that would be a great conductor without corroding in the solution, and came up with GOLD! I used a few types of gold plated audio connectors before i found some bananna jacks that seemed to work best. I covered them so again only the tips are exposed to the solution at about 1cm apart and was able to get consistant readings over and over especially if i cleaned the tip before and after each test.

So, use gold plated probes, make sure a small and consistant amount of probe touches the solution, and clean the probes after and before each use. Using these guidelines should get you a nice reliable probe, I had wanted to find a nice premade and ez to find connector that i could suggest, but nothing laying around here is very common. Gold plated RCA plugs seem to be the worst probably because these cheep things are only plated enough to look gold colored. Was looking for a nice gold plated 1/8" phone jack or something but nothing was laying about here blah. If the meter cannot seem to be adjusted right (is allways too high a reading) try increasing the spacing of the probe or changing values of R7. If reading too low try moving probes closer or exposing more probe material.

Here are a few probes I tried (picture at top of section). The part you measure with on all probes are facing bottom of picture. From Left to Right: 12AWG house wire with ground removed, sewing pins surrounded by hot glue except the tips (this was WORST of all), gold plated RCA jack with center filled in by glue (was not very stable, i think very thin gold plating), and finally the best of the whole lot is the two gold plated bananna jacks covered with heat shrink and hot glue exposing only the tips.

I've been asked about and have considered myself just leaving the probe submerged and possibly reading it constantly. This seems a bad idea, allthough probably with experimentation you could make it work. The main problem would be from the probe corroding which would occure faster with the circuit in operation. Maybe you could get a nice gold probe and have a circuit to either power up or connect the probe only when needed? Dunno really. For observations on this topic see updates below.

Newer probe design featuring enclosed electrodes

Since writing the above paragraph have used the same probe for nearly 2 years, it worked fine with occasional cleaning. ^^

Reader suggestions have included using nickle, and graphite. Both of which seem good suggestions. See the discussion pages for more information.

New and Improved Probe Design

2008.09.02

Another view of newer probe design

Recently decided to create a new probe because in an attempt to fix0r some problems with the old one. The contacts (formally gold plated) were still in excellent condition, but the main problem was the reading would often change depending on how close the probe was to the edges of a particular container. To new probe design solves these problems by surrounding the probe's electrodes within a plastic container.

The probe was made using the end of a syringe however the ends of a fat marker or other similar items may work as well. Two wires emerge from from the top and were soldered onto two 1cm square pieces of copper (with sticky stuff on the reverse). The top of the probe where wires entered is sealed with hot glue (prolly silicone would work better). Two small holes were drilled near the top, without them air pockets are created that may screw up readings. u_u

Note the syringe itself is marked in cubic centimeters, and remember that commercial probes measure the conductivity between two 1cm square probes in a 1cubic centimeter chamber. ^^ This probe is (probably) very much likely close to a commercial probe in its readings. Cannot test this exactly because don't have a real factory made probe to compare with.

Tests using the probe seemed very successful. \^_^/ For one thing no matter where in the test samples the probe was placed the readings were all the same! This is a great improvement over the previous design. The circuit itself needs a bit of adjustment because of course with a different probe. As mentioned in the circuit section the feedback resistor on the gain stage needs changing due to the newer probe having larger surface area. Have not yet actually done this >_> but will when i make next batch of changes to the probe. Which should also include the lovely temperature compensation circuit proposed on the talk page. (thank you!)

Construction

Since most of the parts for this were scavenged from old junk there is not much point in discussing construction techniques in depth (That and I'm getting tired of writing sooo much). Construction is not critical so long as all the wires go the the right spot it should work.

These pictures show the prototype and the 'finished' module squeezed onto a small piece of perferated board. Eventually this one will go into a box with PSU, microcontroller, and a bunch of other I/O. So put on a .156" connector for the power/ouput and a RCA jack for the probe so it could be removed easily.

Protocircuit.jpg Circuitcloserup.jpg
Prototyped version More permanent version

Operation

After Calibrating with the 2Kppm (4 EC) solution, tested with the 1K (2 EC) solution. Also tried it with a few other values down to 250ppm, seemed to worked well. Btw, you may notice my meter is falling apart, if you feel this information is of use and have a spare meter or something please send thanks.

Reading 2000PPM
Reading 1000PPM

There are other ways to do this. For instance if the probe were to be connected across or in place of R1 or R2 the frequency of the oscilator will vary a bit depending on conductivity of the solution and the values of C1, C2, etc. Connecting the oscilator output to a microcontroller will allow you to determine the conductivity by the frequency without the need for the other 3 op-amp stages.

This is not done at all, ill post more as its completed.

Long Term Observations

2006-09-22-Observations: I've been using this thing for about 5 months now, keeping the probe submerged all of the time. This worked great for a few weeks, but slowly it started to get cruddy every 3-4 days and readings were off by up to 100ppm. Wiping off the probe gets it back to within about +/-40ppm but before I take a critical reading (like when refilling the tank it's monitoring) will allways clean and recalibrate. Looking at it, the probe's once smooth and shiney gold surface now seems dull, cruddy, and pited.

The probe is holding up alot better than i first thought it would being constantly submerged. If used intermittently it would probably stay stable without recalibration longer.

Found places that sell just the ppm probe itself and i have a feeling using one of these will increase the meter's accuracy and stability greatly. Also an email from someone who has worked at places where EC meters were manufactured suggested that i use nickle instead of gold. But i've not had a chance to check either of these.


Finishedmeter.JPG

Someone hinted to me that this could be an even more useful circuit if only it would operate off a single polarity power source. I need another one of these so in the process of building it may make a few mods.

Also, to make things easier and alot more ereet I have installed the circuit in this box and connected it to the adc input of a microcontroller. By doing this i can zero/calibrate it using software simply pushing a few buttons. It has a rs-232 port, and USB too so can connect it to a computer for loging or possibly automating some process. I'll put up more documentation on this part of things soon. Note: The display is reading ppm on the left and ph on the right, with the probes in calibration solutions.

Microcontroller Code

Here is a snippet of the meter's code. These command functions are called via the shell or assigned to button presses and use fixed point maths:

/* zeroppm command */
int c_zeroPpm(int  argc,char **args) {
	m_cfg.ppmoset=readADC(ADC_CH0); //Read ADC channel 0, store as offset
	meterSave(m_cfg); //Save settings to eeprom
	return(m_cfg.ppmoset);
}
 
/* scaleppm command, if argument calibrates to ARG1 ppm, otherwise defaults to 1000 */
int c_scalePpm(int  argc,char **args) {
	if(argc==1) {
		printf("usage: calibppm PPM\r\n");
		return(ERROR);
	}
	if(argc==0) { // calcuate scale using CALIBPPM/(ADC-offset)
		m_cfg.ppmscale=((long)(((long)100000)/(readADC(ADC_CH0)-m_cfg.ppmoset)));
	}
	if(argc==2) { //same but with arg1 as calib, note the *100 for fixed point
		m_cfg.ppmscale=((long)(((long)numtoint(args[1])*100)/(readADC(ADC_CH0)-m_cfg.ppmoset)));
	} 
	meterSave(m_cfg); //Save settings to eeprom
	return(m_cfg.ppmscale);
}
 
/* readppm */
int c_readPpm(int  argc,char **args) {
	long ppm;
	ppm=((long)(readADC(ADC_CH0)-m_cfg.ppmoset)*m_cfg.ppmscale)/100;
	//display the results
	printf("PPM: %04i\r\n",(int)ppm); //print upper 4 digits of ppm value (/100)
	return(ppm);
}

Other Stuff

Thanks to all u pplz who've emailed me! Part of motivation for wikifing was all the great suggestions and good questions wish i coulda easily thrown in, not to mention the Talk:PPM_Meter page! \^_^/!!

This article was originally written late 2005/early 2006..

Disclaimer

Good Luck! Be carefull, dont do anything stupid and shock yourself to death.

Disclaimer: I am not responsible for what you do.

Experiment, learn, improvise, take what is otherwise junk from your enviroment and making of it something more.

Personal tools
irssi scripts
eggdrop scripts