Biopowered - vegetable oil and biodiesel forum

Biodiesel => Chemistry and process => Topic started by: dgs on May 03, 2015, 09:59:17 PM

Title: Testing WVO and biodiesel for water.
Post by: dgs on May 03, 2015, 09:59:17 PM
Since posting more and reading the posts on the UK forums I have noticed the few (if any) that actually test for water in oil and bio. Even dry washed biodiesel contains around the 600ppm level. The simplest way to get an accurate figure for water is to use the carbide manometer. I have used mine only a few times, the drawback being crushing the carbide is a pain in the backside.

About 18 months ago I purchased a Sandy Brae from Utah Biodiesel, it works really well and is very accurate. Drawbacks, well there are a few. The machine with all the bits and pieces paid is the thick end of £300. Also no way will it give you a result in the 20 mins or so that it states, it's more like 2 hours. The chemical is also very expensive £53 for 25gms. This, however is enough for 50+ tests.

About 1 year ago I picked up a second hand Karl Fischer, brilliant thing. After callibration it will do one test every 2-3mins if the water is low. Drawbacks, price of the solvent and titrant @ £150 for 2x small bottles.

All this is leading up to the fact that some time ago I saw a post on infopop by a guy that calls himself Sun Wizard. The idea is excellent. A cheap capacitive RH sensor linked to a capacitance meter. After trying to get one of the honeywell sensors for the last 18 months (now discontinued) I have now found a UK company that sells an equivalent sensor and am in the process of setting up this simple little system.

Total cost will be around £20-£30  but the meter and sensor can be left set up on the bench, all ready to be lowered into the next sample. This has got to be the most convenient way ever to test for water. I will report how I get on.



   This is Sun Wizards original post.
I am testing a Capacitive water in oil meter I made and its giving very good results so far. I am doing many calibrated samples and tests in the Science project thread which are also useful to test this device. I have compared it very closely to my Sandy Brae tester which is $2 per test, uses hazardous hyrdride so I have to put on gloves, goggles, protective shirt, etc. This meter is much quicker and simpler in every way, dip it in the sample, wait for a stable reading for 30-90 seconds, compare to a chart to get % saturation and PPM water.

It gives results in the same way a $3000 unit like the Eesiflo Online Water in oil Monitor I got a high accuracy (0.5%) capacitance meter ($45) and a honeywell humidity (RH) sensor for $5. Here is a thread with full details, links to parts, how to calibrate: Homebrew capacitive water in oil meter testing The only drawback is that above 100% saturation, it maxes out and reads the same value. Getting below 100% saturated is a very good thing and should be a goal for everyone. Because if you are near saturated, humidity brought in from your tank vent, or a temp. change could mean free water condensing in your tank.
Here is a chart of my 1st data points from it:

This would also be very handy for the Bio folks, so I will post this there too. They don't have to account for the widely varying FFA as we do. I came up with a way to calibrate without a sandy brae tester.

I will be curious to see some others data points. I know some of you will want one of these right away. I wish I made one long ago. If you already have a digital voltmeter that reads capacitance, its only $5 for the humidity sensor to try it!

                     Just click on the graph to enlarge.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 04, 2015, 12:00:12 AM
That sounds interesting, especially if built into a processor or drying system with a remote readout if it could be done safely.  That could go a long way to automating part of the process.

What is the maximum operating temperature for the sensor?  Stat that, just found the answer for the Honeywell one at least ... it's 120°C ... well within our limits.

As you say HCH-1000-001 is discontinued, but Farnell spookyly offer a Honeywell HCH-1000-002 as an alternative at £3.49 also with a max temp of 120°C.

There's also the HIH-4000 Series, although a little more expensive at £16.10, it's temperature compensated, looks to have a simple voltage output, but only works up to 85°C.

Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 04, 2015, 12:42:23 AM
I think I looked at all those Julian, the 002 is 3 pin? from memory but also discontinued. I think all the others work on resistance which I have been informed will not work for our purpose.
The one I have found is from Omni Sensors, It's an HC201.

I have spoken to a few on Infopop since reading Sun Wizards posts (he doesn't seem to post anymore) who have set up similar devices and all seemed to get accurate results with very linear responses.

As you say, one built into the drying system would be very informative.

One very interesting thing about the graph is that the saturation point increases as a result of the FFA %
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on May 04, 2015, 01:07:20 AM
Hifly, Vince, got hold of some sensors a while ago to connect to a capacitance meter,  I still have the one I bought of him.

If I knew how to build and set up a little moisture test kit I'd have a go at it.

I haven't a clue as to whether Vince actually built one.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 04, 2015, 02:22:59 AM
Yes you're right, sorry, 002 (although two pin) is also discontinued ... strange they should offer a discontinued item to replace a discontinued item!

The 16 quid HIH-4000 Series has three pins though.

There's a DHT22 capacitive humidity sensor with a built in thermistor that's used quite a lot with Arduino projects, so there'll be loads of code available, it should display on an LCD or PC and works up to 125°C.  It looks a lot more bulky than the alternative you found though.

Any idea why a three pin sensor isn't suitable?



Jim, have you got any info on the sensor ... does it look like this ...

(http://media.digikey.com/photos/Honeywell%20Photos/HCH-1000-001_sml.jpg)

Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 04, 2015, 08:07:33 AM
I use one of these, Honeywell HIH-5031-001. I got it from CPC, about £10.  It is a capacitive sensor with a built in circuit to convert to a voltage output. Its a three wire deice and it does require a low voltage input to drive it but its straight forward to use. Read the output with a DMM. Link to tech doc.  http://sensing.honeywell.com/index.php?ci_id=49692
I use it to monitor the humidity of the airspace above the biodiesel when drying to determine the point at which the moisture content decreases no further. At this point the bio is clear.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 04, 2015, 08:15:00 AM
Just checked and the HIH-4000 is the same as the HIH-5031 with wires instead of smd.
Title: Re: Testing WVO and biodiesel for water.
Post by: Chug on May 04, 2015, 09:52:48 AM
Dave, slightly OT but did you see the guy on infopop posting about removing water with epsom salts?
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 04, 2015, 10:36:47 AM
I use one of these, Honeywell HIH-5031-001. I got it from CPC, about £10.  It is a capacitive sensor with a built in circuit to convert to a voltage output. Its a three wire deice and it does require a low voltage input to drive it but its straight forward to use. Read the output with a DMM. Link to tech doc.  http://sensing.honeywell.com/index.php?ci_id=49692
I use it to monitor the humidity of the airspace above the biodiesel when drying to determine the point at which the moisture content decreases no further. At this point the bio is clear.

Sooo ... what happens if you stick the sensor in the bio?
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 04, 2015, 12:02:45 PM
Never been brave enough to try that and its now hard wired into the control circuit so its not so easy. Had a look at the sensor in its housing and it looks like it has got wet with splashed bio over the course of time. It still works OK, gives sensible readings and its repeatable.
I can feel the urge to get another and experiment. I made a carbide manometer for checking water content but I'm not so sure about the results from it, an electronic device would be better.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 04, 2015, 12:14:53 PM
Understandable!

One thing that came to mind was the effect of methanol.  I played for some time trying to dewater methanol by various means and none seemed to work.  Silica gel, for example, stank heavily of methanol so I assumed that was being absorbed in place of or even in preference to water.

Assuming you haven't already tried, is it possible to expose your sensor to concentrated methanol fumes ... may be by holding a jar with methanol in the bottom over it to see if the reading alters?
Title: Re: Testing WVO and biodiesel for water.
Post by: neisel on May 04, 2015, 01:21:47 PM
Is all this really necessary or is it just getting a bit anal?

I water wash at a high temp & then dry at a high temp by circulating the BD through a pierced 'L' shaped pipe about 18" length in total with a fan blowing over the top.

After about 2 hours I take a sample, cool it in water for 20 odd minutes & then put it in the freezer until it begins to freeze. I remove it, let it stand until it all becomes liquid (but is still very cold) & do the small print read test. All the time the drying process is continuing so it is drying for at least another 40 minutes after the sample is taken. It always passes. I leave the sample in the fridge overnight & it remains as clear as glass.

I reckon that is in the groove & will do. How much better does it need to be?
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 04, 2015, 06:02:06 PM
Neil .... it's not compulsory!

But I think you've posed a rhetorical question.  I admit I use a lot of guess work when it comes to how dry my oil and bio are, but if I went to the trouble you do I'd be grateful of an instrument that costs relatively little and gives a reasonably accurate reading in a few seconds.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 04, 2015, 06:27:00 PM
Dave, slightly OT but did you see the guy on infopop posting about removing water with epsom salts?

Yes, I do remember that and I'm pretty sure that IMB tried to replicate the results and it didn't work for him.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 04, 2015, 06:41:00 PM
I take your point niesel. If you are happy with the way you dry and you have had no problems then I wouldn't try to change your thinking. It's just that over the last couple of years I have had quite a few callers wanting their bio testing for water. One in particular whos sample was really clear was over 1000ppm.

It is very rare that I check someones water that has a nice low level (2-300ppm)

As Julian said, for such a small outlay and the convenience this seems such a good idea.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 06, 2015, 05:15:03 PM
I have ordered the capacitive rh sensors from China at £2.07 each. When I contacted the UK company they told me because it was a small order then 1 would cost £32.50- ridiculous!

I will try Maplins first for the meter.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 07, 2015, 10:53:39 PM
I bet the Chinese price included post too!

Been having a trawl of the web and found this from the Switzerland ...

http://www.ist-usadivision.com/objects/media/data-sheets/product/humidity/MK33-W.pdf (http://www.ist-usadivision.com/objects/media/data-sheets/product/humidity/MK33-W.pdf)

Little info on the company website other than that pdf, but the implication is that is't suitable for use in oil!

Any further info on why it need to be a capacitive sensor?
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 08, 2015, 10:14:12 AM
Yes, You are correct, it does include the postage.

Somewhere in the thread on infopop that Sun Wizard started it did state that the ones that are the resistance type don't work.

I'm not expecting this set up to be ultra accurate like S/B or KF but +/- 50ppm would be more than good enough for a cheap set-up and quick check.  As I've said before the main advantage would be the convenience. Just make sure the sample is at 20 degs, immerse the sensor, wait 2 mins then take the reading and refer to the graph. (well, thats the theory) we will see.
Title: Re: Testing WVO and biodiesel for water.
Post by: Manfred on May 08, 2015, 02:45:28 PM

Hi chaps. I've been reading this thread with interest and went looking today and fount this humidity controller. It's only good for 80c but maybe swap with a better quality sensor and you have an automated controll good for 10KW. So would power your pump and heater. It will humidify or de humidify depending on parameters set. What do you think.


 http://www.ebay.co.uk/itm/220V-Digital-Capacitive-Air-Humidity-Control-Controller-1-99-RH-Sensor-/251892228559?pt=LH_DefaultDomain_3&hash=item3aa5f261cf
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 08, 2015, 05:02:55 PM
Dave,

I'm a skeptical bugger at the best of times.  If someone says something doesn't work I always ask why.  For instance he may  had a capacitive sensor working and tried to replace it, but a replacement, restive sensor may not have worked with his meter.

I've been looking closer at the Arduino humidity monitoring set up.  As I have a both a Uno and a Mega spare along with an LCD display, I'll have a play using a DHT22 sensor (assuming the nice people in China accept my derisory best offer).  Even if I pay full price they are still throw-away money.

Using the Arduino library, the LCD will show both temperature and % humidity.  Assuming it works, if a relationship can be established between the % relative humidity and ppm in oil/bio, it would be quite easy for some smarter than me to write a conversion to display ppm.

Manfred, the sensor on that Willhi unit looks quite like the one that is used in Arduino projects.  Those are also a max of 80°C, but fine for playing with to prove the idea.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 08, 2015, 05:22:21 PM
You mention sun wizard on info pop, but I found him in this thread ... http://www.burnveg.com/forum/capacitive-wvo-water-measurement-t832.html (http://www.burnveg.com/forum/capacitive-wvo-water-measurement-t832.html)  on a forum with the rather snappy name of "Vegetable Oil SVO WVO waste cooking oil as biofuel" which he appears to run.

I've never come across this site before, but then I don't do much research on straight veg ... some quite good reading on there though.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 08, 2015, 06:51:19 PM
Hi Manfred,
I assume you are suggesting the de-humidifier to help dry the biodiesel/oil. Of course this pre-supposes it still has to be heated and bubbled/sprayed, then the moisture in the headspace removed with the de/hum.

I know at one time IMB and the Irish guys experimented with de humidifiers and they did work, the problem was the electric cost for the de/hum. I'm also sure with a bit of experimentation you could get some correlation between ppm water and r/h in the headspace.

Julian, that is a good link and probably explains why Sun Wizard didn't answer my posts on infopop. Please let us know how your tests go. I'm stuck at the moment until I get the sensors and meter from China

Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 08, 2015, 07:07:51 PM
The sensors I'm looking at are coming from China too.  Even if they agree the price, it'll take a month or so to get here.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 08, 2015, 08:09:33 PM
I've now got a Honeywell capacitive sensor as described previously. I'll wire up the power supply over the weekend. Next batch of bio I am going to draw off 5 lts of dried. To start with I'm just going to put the sensor in the bio, stabilise, measure volts, out, rest several minutes and back into the bio. Repeat many times to see if its repeatable or if the sensor dies.
Then split the bio and make some 1 lt of bio samples with a know amount (ppm by weight) of added water. Maybe 200, 500, 800 ppm. Then see if there is a detectable difference between samples.
Make sense? Comments?
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 08, 2015, 08:16:47 PM
That makes sense Bill. How are you going to know your bio is dry before seeding it with water, drying at @ 120degs?

If you need confirmation of any water levels, just send me the samples and I will test with the S/B or KF (when I get some new reagents for it)
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 08, 2015, 08:18:51 PM
That makes sense Bill. How are you going to know your bio is dry before seeding it with water, drying at @ 120degs?

If you need confirmation of any water levels, just send me the samples and I will test with the S/B or KF (when I get some new reagents for it)
When you say you have now got a honeywell sensor, do you mean you have recently got it.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 09, 2015, 07:52:39 PM
I got a sensor as I described in reply#5 of this topic.
The bio is splash dried (like spray drying but not quite a spray) at 65 C. Not entirely sure of what the base line water content will be but it will be the same for all three trial samples and the unused reference. If it all works that should give me enough information to determine a calibration graph and work out the base line water content of the starting bio. I don't need to know the how much water is in the bio to start with to any great accuracy.
It should also be a method that gives results that can be compared to trials by others.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 28, 2015, 12:02:36 AM
The offer I placed on a sensor was ignored but I got one on a snipe for a pound including post and another 5 on a snipe for £3.45 including post.  The 1 pound one is supposed to be a more accurate sensor, so I'll wait for the cheap ones to arrive before dunking any in oil.

In the meantime I got the expensive one running with an Arduino Uno.  It seems very responsive ... putting a hot cup of tea down 3 inched from the sensor saw the temperature rise by a few points of a degree and gently blowing from a foot away will noticeably increase the humidity.

In the photos below the white grid thing at the back of the bread board is the sensor, and the screen grab shows the serial print out on the computer.

(http://www.palmergroup.co.uk/Bio/DHT bread board.jpg)


(http://www.palmergroup.co.uk/Bio/DHT screen grab.png)

The window to the left of the results is the Arduino "sketch" as they call it.  It should be fairly easy to get the results displayed on an LCD and to perform "sums" on them to arrive at adjusted values.


There will be many different sketches to use with these sensors, but this is the one I used (it works in conjunction with a library, so much of the code will be elsewhere).  I had a little play to comment out °F and heat index ...


Quote
// Example testing sketch for various DHT humidity/temperature sensors
// Written by ladyada, public domain

#include "DHT.h"

#define DHTPIN 2     // what pin we're connected to

// Uncomment whatever type you're using!
//#define DHTTYPE DHT11   // DHT 11
#define DHTTYPE DHT22   // DHT 22  (AM2302)
//#define DHTTYPE DHT21   // DHT 21 (AM2301)

// Connect pin 1 (on the left) of the sensor to +5V
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
// to 3.3V instead of 5V!
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor

// Initialize DHT sensor for normal 16mhz Arduino
DHT dht(DHTPIN, DHTTYPE);
// NOTE: For working with a faster chip, like an Arduino Due or Teensy, you
// might need to increase the threshold for cycle counts considered a 1 or 0.
// You can do this by passing a 3rd parameter for this threshold.  It's a bit
// of fiddling to find the right value, but in general the faster the CPU the
// higher the value.  The default for a 16mhz AVR is a value of 6.  For an
// Arduino Due that runs at 84mhz a value of 30 works.
// Example to initialize DHT sensor for Arduino Due:
//DHT dht(DHTPIN, DHTTYPE, 30);

void setup() {
  Serial.begin(9600);
  Serial.println("DHTxx test!");
 
  dht.begin();
}

void loop() {
  // Wait a few seconds between measurements.
  delay(2000);

  // Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
  float h = dht.readHumidity();
  // Read temperature as Celsius
  float t = dht.readTemperature();
  // Read temperature as Fahrenheit
  float f = dht.readTemperature(true);
 
  // Check if any reads failed and exit early (to try again).
  if (isnan(h) || isnan(t) || isnan(f)) {
    Serial.println("Failed to read from DHT sensor!");
    return;
  }

  // Compute heat index
  // Must send in temp in Fahrenheit!
  float hi = dht.computeHeatIndex(f, h);

  Serial.print("Humidity: ");
  Serial.print(h);
  Serial.print(" %\t");
  Serial.print("Temperature: ");
  Serial.print(t);
  Serial.println(" *C ");
  //Serial.print(f);
  //Serial.print(" *F\t");
  //Serial.print("Heat index: ");
  //Serial.print(hi);
  //Serial.println(" *F");
}
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 28, 2015, 12:20:36 AM
Hmm, really quite impressed with this little thing!

Blowing gently at the sensor from 3 feet away shows a reading change of around 1%.

Even if these things don't work in oil or bio, I think I'll try and rig up a system to run the shower fan.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 28, 2015, 08:02:41 AM
The sensor I have has not died after repeated and lengthy immersion in dried bio and bio with added water. The readings from bio with added water show an increase in value as water content increases, a hopeful sign. The problem is the increase between samples is small and has a lot of variation. The range of values measured in one sample overlap slightly with the range of values from the sample with the next highest water content. The samples I made up were bio+200ppm, bio+500ppm, bio+800ppm. Maybe this type of sensor is not sufficiently accurate for this type of measurement.
More results at a later date when I've done some statistics.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 28, 2015, 08:39:28 AM
Exactly what sensor mentioned in the post, the DHT22 (which is the white one pictured above), the HIH-4000, or the Honeywell HCH-1000-001 pictured in the 5 th post?

Very interesting that it's working at all.  I wonder if the results are varying because of a sort of "spot" measurement issue.

What happens if you swirl the bio around in a jar so the sensor see more of the sample?

When the cheap ones arrive, I'll try cutting one open as the plastic "cage" around the sensor may have the same effect.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 28, 2015, 11:54:39 AM
The sensor I used is this one Honeywell HIH-5031-001. Capacitive sensor with an internal circuit to give voltage readout. Each reading the senor was immersed, gentle swirl to move some liquid over the sensor, then stabilise for 2 minutes and read. Yes it does take a couple of minutes to stabilise on a value. Readings were measured on a DVM to 3 decimal places but only taking readings to two decimal places.
The sensor also required a long immersion in 'dried' bio to get it down to the scale range for this application. Normally this sensor is used for RH measurements, measuring at ~500 ppm levels is probably right on the end of its scale range.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 28, 2015, 12:38:55 PM
Ah sorry, I must have mis-counted the posts, I didn't see where you detailed it in the post below, my apologies.

It looks, from the data sheet, that the sensor is within a little chamber covered by a gauze, so that might explain a slower response.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 28, 2015, 05:48:28 PM
I recieved my sensors from china, just waiting for the meter now.

Bill, do you get the bio to a stable temperature before taking the reading
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 28, 2015, 07:50:11 PM
The samples all stood together overnight so that they all came to the same temperature the next morning. It was dull morning when the measurements were made, the temperature remained constant throughout.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 29, 2015, 01:44:08 PM
As with anything electronic, I've got this far more by luck than judgement ...

(http://www.palmergroup.co.uk/Bio/Bio moisture test 1.jpg)


Figures refresh every two seconds and manipulation of the readings is easily achieved ... in the photo the humidity figure is halved.  I guess more complex manipulation could be achieved by someone who understands sums better than me.

The Arduino is still downloading the data to the PC via the serial link.

Approximate cost of Arduino Uno, LCD (like the unused one on the left), DHT sensor, pot and resistor probably less than a tenner. May even be cheaper with a different Arduino model.

Big question is will these sensors work in oil and bio and if so how accurately?

Even if they don't, the Arduino should be able to handle input from other sensors.



Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 29, 2015, 04:00:56 PM
Better screen layout ...


(http://www.palmergroup.co.uk/Bio/Bio%20moisture%20test%202.jpg)
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 29, 2015, 08:41:19 PM
That looks excellent Julian. Is the 47ppm reading the headspace above the bio or was this just a trial.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 29, 2015, 11:25:42 PM
No, just a trial in ambient air by the computer.  I'm going to try the cheaper sensors in bio/oil when they arrive.

I've had a google on the internals of these sensors and it might be that the DHT11 and DHT22 are different designs, so I've put some snipes on another 4 DHT22's.

Bit worrying that the sensor says 46% humidity but the internet for our area states 88% after some rain this afternoon.  Can there be that much difference between inside and out side?  I may try taking it outside tomorrow.

I guess it doesn't matter if the sensor is "accurate", it just needs to be repeatable in oil and we can workout our own scales.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 30, 2015, 08:13:30 AM

 Can there be that much difference between inside and out side?

Yes there can. It is also temperature dependant.

Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 30, 2015, 08:36:29 AM

 Can there be that much difference between inside and out side?

Yes there can. It is also temperature dependant.

Ah, good point.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 30, 2015, 05:55:13 PM
Having got this far, I'm going to throw caution to the wind and risk my £1 sensor in bio before the others arrive!

Bill, just so we singing as closely as possible from the same hymn sheet, exactly how did you dry your bio prior to making up the 200ppm, 500ppm, 800ppm samples?  I'll try and replicate what you've done as closely as possible.

Is using distilled as against tap water going to make any difference?  I know distilled shouldn't be as conductive.  Not sure if any of these sensors work that way.



Title: Re: Testing WVO and biodiesel for water.
Post by: oakwoodtv on May 30, 2015, 06:17:13 PM
Having got this far, I'm going to throw caution to the wind and risk my £1 sensor in bio before the others arrive!

You have to admire a true risk taker.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 30, 2015, 07:30:03 PM
I know, call me reckless, but sometime I just act with gay abandon!
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 30, 2015, 11:17:21 PM
I converted my little lash up into a portable instrument by strapping on a battery pack and adding some wires!

Took it out into the shed, did the following and got these results using this setup ...

(http://www.palmergroup.co.uk/Bio/Bio moisture test 3.jpg)


On the way to the shed I left it outside to measure ambient humidity ... 72.6% @ 10.2°C.  Figures from the internet for two towns either side of my location 74% @ 11°C and 68% @ 11°C, so not too shabby!

In the shed I made two samples ... Bio from my final settling tank = "dry" bio, and the same bio with 50% water added and shaken, free water dropping out  = "wet" bio.

Not at all scientific but enough to see if the sensor was going to play ball and shock horror it seemed to.

"Dry" bio
Reading took a while to stabilise but settled at 53.3% @ 19.4°C.  Temp check on a probe 19.8°C

Wash in methanol
Seemed like a good idea to remove the bio ... big mistake, big big mistake! reading shot straight to 99.9%.
Wash furiously in "dry" bio sample and eventually get the reading to fall.

"Dry" bio
New sample from the settling barrel in case extra methanol effected readings.  Stabilised at 57.5% @ 17.5°C.  Temp check on a probe 17.8°C

"Wet" bio
Very quickly went to 99.9% @ 17.1°C.  Temp check on a probe 17.8°C

"Dry" bio
Quick initial drop to circa 80% but then slowed, settling at 58.6% @ 16.8°C.  Temp check on a probe 17.3°C

"Wet" bio
A quick dip just to get the reading high ... up to 88%

"Dry" bio
Settled at 59% @ 16.5°C.  Temp check on a probe 16.8°C.

The "instrument" is currently sitting inside by the PC as I type and is reading a very plausible 47.9% @ 20.1°C.

For something as cheap as this I'd say that's a reasonable result.  Need to do some slightly more scientific tests now.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 31, 2015, 12:35:06 AM
Having thought about the above a little, if these sensors are that sensitive to methanol, then that could be quite a serious source of inaccuracy.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 31, 2015, 08:17:26 AM
My bio was dried by what I call splash drying at 65 C. I then made up the 'wet' samples as ppm by weight of 200, 500, 800 ppm of water, mix thoroughly. After adding the water and giving a good shake to mix they all remained clear and no sign of free water!

Here are some basic stats from my measurements. I won't include any graphs because I haven't figured out how yet. These results show the overlap between sample readings which mean it would not be useful as a measurement tool in this form for the level of accuracy required. All measurements are output volts from the sensor.

Variable    N       Mean     Median     StDev     Minimum    Maximum
std(dried)  8     3.1175     3.1200     0.0271    3.0800     3.1600     
200ppm    8     3.1550     3.1700     0.0382    3.0700     3.1900     
500ppm    8     3.2337     3.2350     0.0311    3.1900     3.2800     
800ppm    8     3.2737     3.2800     0.0378    3.2300     3.3200     


When I get back of holiday I will try some samples in the carbide manometer for comparison.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 31, 2015, 10:16:57 AM
Interesting.  Where you have a spread of readings, are they based on multiple tests or were the readings fluctuating on a single test?

I'll try and prepare samples similar to yours today and post the results.

Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on May 31, 2015, 05:28:16 PM
Results are from 8 readings on each sample. Voltage measurement had stabilised at the second decimal place after 2 minutes but the third place was still up and down a bit. Values listed are to three places as a result of calculations.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 31, 2015, 05:42:54 PM
Been playing a little more this afternoon.

First obstacle is that I don't seem to have the right equipment to make the samples.  My scales only go to 0.1g and I don't really have the facilities to get a litre plus of bio up to high temperatures ... wife is very protective of her kitchen equipment!  The scales wouldn't even weigh out 0.1g as they appeared to require something exceeding that weight to set them operating.

Anyhow, she was out today so I did manage to get access to the microwave.  I heated some bio to 130°C and set it running on the stirrer for a few mins., so I'm fairly sure it was a dry sample.  I then took 100ml of the bio and added 4 drops of water.  No idea what ppm that gave, but it can't be too much.

I then ran the following measurements ...

"Dry"
Stablised out at 26.6% @ 44.3°C

"Wet"
Stablised out at 49.4% @ 41.6°C

Added another 4 drops of tap water to the wet sample ...
Stablised out at 68.3% @ 41.7°C

Back to "Dry" sample
This had cooled by now so I brought up the temperature on the hot plate to match the initial reading and got ...
27.2% @ 44.3°C

Still not at all scientific but it seems to indicate a reasonable degree of repeatability and stability.

I think I need to look at some better scales and/or a new wife.

Alternatively, if anyone with suitable lab equipment wants to replicate the Arduino set up I'd be happy to detail what to buy.  As I said previously, it should be less than a tenner.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 31, 2015, 07:56:51 PM
Julian, I think your results are really good, very encouraging.

4 drops of water from a 1ml pipette is about 0.12mls in 100mls of bio is 1200ppm. Of course we need to be looking at concentrations of say 150ppm to 1200ppm in finished bio or in the process of being dried. From samples of bio that I tried to dry when I was calibrating the manometer I found it needs to be left with heat far longer that a few mins.

Nevertheless, that is a good set of experimental tests. it may help when I get my meter to send you down some samples that have been checked with the Sandy Brae or KF. Or you could send me some. I don't think in this case the KF standards of 100ppm water would be of any use as I think they are in ethanol.

In the meantime could you send me the Arduino details, many thanks, Dave.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 31, 2015, 09:06:21 PM
Yes, I think they look promising, but need a whole lot more work.  I'm trying to get my head round the need for the temperature reading.  I think I can see why it's needed with an air measurement, but I'm struggling to see the need in bio or oil.

I'll have another play tomorrow armed with official British Standard water drop volume and perhaps dry for longer (she's out again tomorrow) and try one drop in 200ml.  If it distinguishes between that and a dry sample, it must be worth perusing.

Details of the Arduino set up I'm using are ...


Sensor

This is the sensor a DHT22 I've been playing with ... https://learn.adafruit.com/dht/overview
loads available on ebay circa 2-3 quid.

Connect to the Arduino board using a 10K resistor thus ...

(https://learn.adafruit.com/system/assets/assets/000/000/578/medium800/weather_dhtwiring.gif?1396764202)


Arduino

I've been using a UNO, there are other types, possibly cheaper, but the UNO is standard stuff.

Chinese copies available on ebay.  Typically this one ... http://www.ebay.co.uk/itm/High-Quality-1Pc-ATmega328P-UNO-R3-Board-with-USB-Cable-for-Arduino-/141513539379?pt=LH_DefaultDomain_3&hash=item20f2dd3f33   £4.00 with USB lead.


Arduino IDE and libraries

Free downloads,
IDE from ... http://www.arduino.cc/en/Main/Software
LCD library ... http://www.arduino.cc/en/Reference/LiquidCrystal?from=Tutorial.LCDLibrary
DHT library ... https://github.com/adafruit/DHT-sensor-library
The Arduino sketch to drive both the LCD and the sensor can be copied and pasted from earlier in this thread or I'll happily send you the one I'm currently playing with.

LCD

I used this type because I had it and because it plugs straight into the UNO board (also plugs into the Mega board too) ... http://www.ebay.co.uk/itm/1602-LCD-Board-Keypad-Shield-Blue-Backlight-For-Arduino-Expansion-Board-M1-/141676880566?pt=LH_DefaultDomain_3&hash=item20fc99a2b6  currently £1.65 with one day left.

A little more complicated to rig up but you could use this ... http://www.ebay.co.uk/itm/HD44780-Backlit-1602-LCD-Display-Blue-16x2-Arduino-Raspberry-Pi-AVR-/251540198402?pt=LH_DefaultDomain_3&hash=item3a90f6d402 £2.99 BIN, but you'll need wires, a resistor and a 10K pot, connected like this ...

(http://s3.media.squarespace.com/production/1275805/14967857/blog/wp-content/uploads/2011/11/Arduino_Hello_World_NG0R_2.png)

Just noticed that this diagram uses pin 2 so the Arduino sketch will need altering to run the sensor off a different pin ... easy to do.

Battery pack
to make it portable typically ... http://www.ebay.co.uk/itm/AA-Battery-Batteries-Holder-Box-with-DC-2-1-Power-Jack-for-Arduino-Tracing-Car-/400701166131?pt=LH_DefaultDomain_3&hash=item5d4ba69233
or
http://www.ebay.co.uk/itm/PP3-9v-Battery-Clip-to-5-5-2-1mm-Barrel-Jack-for-Arduino-and-CCTV-/111619871728?pt=LH_DefaultDomain_3&hash=item19fd1013f0


Kits as an alternative
You can get Arduino kits typically ... http://www.ebay.co.uk/sch/i.html?_odkw=arduino+experiment&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR7.TRC2.A0.H0.Xarduino+kit.TRS0&_nkw=arduino+kit&_sacat=0

But check they have everything you need, many don't contain the humidity sensor.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 31, 2015, 10:46:05 PM
For information, I've just found the manufacturers spec sheet for the DHT22 or AM2302, as it's sometimes called.

http://akizukidenshi.com/download/ds/aosong/AM2302.pdf
Title: Re: Testing WVO and biodiesel for water.
Post by: Tony on June 01, 2015, 08:09:22 AM
Having thought about the above a little, if these sensors are that sensitive to methanol, then that could be quite a serious source of inaccuracy.

Sounds like a serious source of checking your bio is meth free to me :)
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 01, 2015, 08:49:31 AM
Having thought about the above a little, if these sensors are that sensitive to methanol, then that could be quite a serious source of inaccuracy.

Sounds like a serious source of checking your bio is meth free to me :)

Glass half full?

But if the sensor can't distinguish between methanol and water, it's not a lot of use testing for either.  You would have to make the assumption that any water washing had removed the methanol.  I don't think you can assume dry oil and ASM will produce water free bio, can you?

I haven't tried the sensor in veg oil yet,  but obviously methanol won't be an issue testing that.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 01, 2015, 09:28:54 AM
I woudn't be too worried about methanol as if testing bio we are either testing water washed or de-methed then well settled.
Either way there should not be any methanol present.
On a personal note my bio will not be tested until at least half way through it's drying cycle. This test is really advantageous because of it's convenience, if it gives results only accurate to +/- 50ppm it is more than accurate enough.

We are really finding out the range our water level is at. Ideally we should all be trying to get that level down to <300ppm (the German spec)
After using my turbo dryer I usually get a result of about 150ppm.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 01, 2015, 12:03:23 PM
A bit of good news this morning.

I got a very prompt reply from IST AG in Switzerland, having emailed them last night.  IST AG are the manufacturers of the sensor I flagged up a while back as possibly being suitable for use in oil.

It transpires these sensors are designed to be immersed in oil and monitor the moisture content.

The very helpful chap who replied attached an up dated data sheet and said that application notes were being prepared but until they are ready he'll happily answer any questions we have.

It appears that the new data sheet is too big to attach to a post ... strange as it's only a two page pdf.  However if anyone wants a copy, email me and I'll forward it.
Title: Re: Testing WVO and biodiesel for water.
Post by: Tony on June 01, 2015, 01:05:16 PM
But if the sensor can't distinguish between methanol and water, it's not a lot of use testing for either.

I would argue that that doesn't matter, I don't want either in my bio and the mechanism for removing both is the same.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 01, 2015, 01:40:18 PM
Fair point.

I wonder if anything else will effect it ... I can try acetone and IPA fumes.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 03, 2015, 11:05:33 PM
Done a little more playing over the last couple of days ...

Ambient air 47.7% @ 17.7°C
IPA fumes in a beaker 31.75 @ 17.4°C
Back to ambient air 48.5% @ 16.4°C
Methanol fumes in a beaker 99.9% @ 15.4°C (reached this figure very quickly)
Back to ambient air 58.2% @ 16.6°C (took 30 mins to reach this reading, recovering very slowly)

Also ...

Dried a sample of bio for around 10 mins at 130°C.  Took a 200ml sample and added 0.05ml tap water, so not withstanding SG that's approximately 250ppm.  Started testing when bio had cooled to a reasonable temp with the following results ...


Time Duration in
sample
%RHTemp°CCheck
Temp°C
Notes
Wet00:00:00?35.621.422.0
Dry00:00:00?26.422.322.6
Wet14:49:00?40.118.018.6
Dry14:58:0000:09:0029.519.219.5
Wet15:17:0000:19:0041.917.217.7
Dry15:36:0000:19:0032.117.718.2
Wet16:13:0000:37:0043.516.417.0
DryLost the figures … Muppet!
Wet17:26:00?47.815.416.0
Dry18:16:0000:50:0036.914.815.4
Wet21:19:0003:03:0049.715.616.1
Dry12:02:0014:43:0054.615.916.5Next day
Wet17:07:0005:05:0058.115.916.6
Dry12:23:0019:30:0063.515.716.3Next day
Wet12:50:0000:27:0063.516.216.9
Ambient
air
19:48:0006:58:0045.918.70.0


At the end of the tests when the %RH was coming out the same I left the probe in air to check it wasn't broken.  The readings after nearly 7 hours seem plausible, so I'm guessing both samples absorbed quite a bit of moisture from the air.

Bit of a mine field this moisture content business!
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on June 05, 2015, 08:32:39 PM
Julian your results at a quick glance look like they suffer the same problem as mine. The range of readings found in a sample overlap the range of readings found in another sample. This can make it unreliable as a method of measurement.
Ideally your RH results should be corrected for temperature and compared graphically or statistically.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 11:44:53 AM
I don't think they do.  I left the probe in the sample until it had stabilised for each reading and the first few show definite differences between wet and dry readings.

With the latter few some are spaced by long intervals and I suspect that the bio was absorbing moisture from the air making them read similar or same readings, but I'd need a definitive instrument to prove that.

Other things to bear in mind is that my sensor measures both RH and temperature.  On the cheaper probes there's a chip included in the sensor.  I'm not sure if that's just to digitise the signal of if it does any RH calculations.  If it doesn't then the Arduino library does the calculations.

The issue is that the RH is calculated for air.  I suspect the RH calculation for bio is very different.  On top of that we really want the measurement in PPM, as I believe it's an absolute measurement and not temperature dependent.

I've looked at a sensor from Switzerland that's designed to operate in oil, but that too gives readings in %RH.  I sat for half an hour in the local pub with a mate who has a PhD trying to understand the formula they issue for temperature correction and failed ... it just didn't seem to make sense!

So I'm at a bit of a loss at the moment!

Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 06, 2015, 11:57:41 AM
Bio does absorb moisture from air a lot quicker than most people realise. I used to leave my finished bio in a 200 litre cone tank with a loose fitting top with bag filters in. On average the contents would increase by about 100ppm per week.

Still waiting for my meter, frustration,frustration.
Title: Re: Testing WVO and biodiesel for water.
Post by: Bill on June 06, 2015, 12:12:14 PM
Your max and min values are for wet 35 to 63 and dry from 26 to 63. That's overlap.
There is also an increase in readings as time progresses suggesting that there might be some sensor conditioning still going on as you were taking the measurements. I came across this with mine.
Try leaving the sensor in the dried sample for a couple of hours before taking any measurements and leave it in the dried bio between measurements but not necessarily powered up.
At the moment we are measuring samples at about dried+250ppm water and getting results which overlap. So are these sensors going to be sufficiently accurate to measure at the levels we need to find, which are ????.
Anyone any ideas about what should be in ????.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 12:15:17 PM
It would be good to know if a ppm reading can be taken directly from these sensors.  Obviously mine is a set-up arranged for air measurement, but it's just possible some of the other sensors can.

I might try asking the Swiss company, only problem is their sensors are £36 + VAT.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 12:21:47 PM
Your max and min values are for wet 35 to 63 and dry from 26 to 63. That's overlap.
There is also an increase in readings as time progresses suggesting that there might be some sensor conditioning still going on as you were taking the measurements. I came across this with mine.
Try leaving the sensor in the dried sample for a couple of hours before taking any measurements and leave it in the dried bio between measurements but not necessarily powered up.
At the moment we are measuring samples at about dried+250ppm water and getting results which overlap. So are these sensors going to be sufficiently accurate to measure at the levels we need to find, which are ????.
Anyone any ideas about what should be in ????.

I see what you mean, but don't you think the possibility of the samples absorbing water from the atmosphere could account for that?

The probe was put in the next sample immediately after taking the previous one so it was immersed for pretty much for three days.

Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 06, 2015, 01:19:59 PM
I think they will be accurate enough Bill. For instance when i'm drying my bio I know the starting point after water washing is roughly 1200ppm after resting overnight. The turbo dryer will dry this to 50ppm in 13 hours, leaving the heat at around the 60deg mark. This is a little impractical, so what I want is a quick test to know when it gets down to that <300ppm level, without waiting a couple of hours for the s/b or setting up the KF.
With this method even if it was only accurate to (lets say) 100ppm then If I get a reading of 200ppm I would know the bio was dry enough. fair enough i wouldn't be able to say with any guarantee that it was 200ppm, but would be able to ensure that it would be no more than 300.

When I finally get the meter I will test various samples pf versus sandy brae and graph them.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 02:05:05 PM
Couple of points ...

... The turbo dryer ...

Seen you mention this a couple of times.  Is it a new fangled design not previously seen by humans before?



When I finally get the meter I will test various samples pf versus sandy brae and graph them.

I think that's probably the best starting point.  If very dry bio has a propensity for atmospheric moisture, then samples should really be double checked so we know the actual content at the time of the test.  Also we may be able to relate the readings you're getting from the sensor to ppm.

I think the Arduino can be programmed to work as a capacitance meter, I'll see what I can find out.  If that's possible then I'd think the readings could be manipulated in the firmware to give a ppm reading.

 
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 02:23:19 PM
... I think the Arduino can be programmed to work as a capacitance meter, ...

Yes it can, Julian.

I found this page ... http://wordpress.codewrite.co.uk/pic/2014/01/21/cap-meter-with-arduino-uno/

I won't pretend to understand the theory, but I can probably have a bash at getting it to work.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 05:38:17 PM
Seems to work reasonably well.  This is the result of sticking a 4.7µf capacitor in pins A0 and A2 ...

(http://www.palmergroup.co.uk/Bio/Capacitance test.jpg)


It took longer to get the com port working than anything else!

I might have a look for other programs.
Title: Re: Testing WVO and biodiesel for water.
Post by: oakwoodtv on June 06, 2015, 06:04:15 PM
The readout is in Picofarads and the capacitor is 4.7µf is that a typo.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 06:58:04 PM
I've got confused with my micro and picos haven't I?

It should be 4700000 pF.

Hmm, I'll have another look!
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 08:30:43 PM
The sketch above should have been calibrated, but I can't see that it was that far out.  Another issue could have been I was using a different Arduino board that may have had a different capacitance ... don't know it's all a bit beyond me.  I just plug things in the way they say without knowing what I'm doing!

I found another sketch that still only uses two pins, doesn't appear to need calibrating and changes denomination (if that's the right word) automatically.  I used a Uno board this time in case it makes a difference.

It's here ... http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/     last one on the page.

This is the readout using a 1µf capacitor (hope the nanos and micros are right this time!) ...


(http://www.palmergroup.co.uk/Bio/Capacitance%20test%202.jpg)


Not quite sure what the stuff on the right in brackets is.  I think it's something to do with the time to charge the capacitor, so probably of no use to us and can easily be omitted in the sketch.

Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 06, 2015, 10:09:05 PM
Having apparently got a capacitance measurement working, I thought I'd dismantle one of the cheap DHT11 sensors I bought.

Cutting the plastic cage off, reveals a tiny PCB with what looks like 5 surface mount resistors (but may be other components) and a 14 pin, unmarked chip on one side and the capacitance sensor on the other side.

I un-soldered the sensor, re-soldered it to a couple of wires and pins and plugged it into the Arduino board thus ...

(http://www.palmergroup.co.uk/Bio/DHT11 dismantled sensor test.jpg)


"Herrrrrring" on the sensor gives the following readings ...


(http://www.palmergroup.co.uk/Bio/Capacitance test 3.jpg)


Quite a large range, 24pF to 2µF to play with.  Not sure what happened with the readings in the middle,  but it's been very stable sitting on the bench for the last ½ hour.

Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 07, 2015, 12:17:39 AM
Now available as a portable version with LCD display.

(http://www.palmergroup.co.uk/Bio/Portable cap meter.JPG)
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 07, 2015, 05:55:56 PM
Couple of points ...

... The turbo dryer ...

Seen you mention this a couple of times.  Is it a new fangled design not previously seen by humans before?



When I finally get the meter I will test various samples pf versus sandy brae and graph them.

I think that's probably the best starting point.  If very dry bio has a propensity for atmospheric moisture, then samples should really be double checked so we know the actual content at the time of the test.  Also we may be able to relate the readings you're getting from the sensor to ppm.

I think the Arduino can be programmed to work as a capacitance meter, I'll see what I can find out.  If that's possible then I'd think the readings could be manipulated in the firmware to give a ppm reading.

I will start a new thread with the details of Imakebiodiesels' turbo dryer, it is easy and cheap to make.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 08, 2015, 09:35:43 AM
Had a little play with the bare sensor yesterday and while it responds well to "herrring", it didn't seem to respond to being dipped in bio.

This was the cheap (69 p) DHT11 sensor so I'll dismantle the DHT22, get the sensor out that and see if that behaves any differently.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 08, 2015, 10:35:06 PM
So, I've taken the DHT22 sensor appart and it's a very different device to the DHT11.

This has the sensor and what I'm guessing is a thermistor on one side of the board and a hard ceramic looking cover on the other side.  Prising the cover off (could be some sort of super hard potting compound) pulled off several surface mount components, so it's a write off in terms of it's origonal configuration.

This is the sensor side of both the DHT11 (left)  with sensor, previously removed, attached to wires under the side cutters and DHT22 (right).


(http://www.palmergroup.co.uk/Bio/Humidity sensors back.JPG)


This is the other side of both sensors angain DHT11 left and DHT22 right.


(http://www.palmergroup.co.uk/Bio/Humidity sensors front.JPG)


Since I took the photos I've removed the DHT22 sensor and attached it to the Arduino still set up as a capacitance meter.  It doesn't seem to cover such a large range as the DHT11.  "Herrring" on it takes it from circa 75 pF to 100 pF.  I'll see how it behaves in bio tomorrow.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 08, 2015, 10:44:50 PM
Hells Bells, Julian. That looks a really complicated thing, I'm glad you are doing that.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 08, 2015, 10:55:23 PM
All I've managed to do is break it!
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 12, 2015, 12:01:26 AM
Had a play with the sensor from the DHT22 today.

Tried it in "finished" bio and "finished" bio with loads of water ... not at all scientific, but it showed a  10 pf range similar to "herrring" on it.

Work and next doors poorly Disco keep getting in the way, however I'll keep playing.  I really need some means of establishing the exact water content of samples before I can go much further.

Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 12, 2015, 10:09:16 AM
This is one of the drawbacks using this method. For instance distilled white spirit usually contains @ 100 ppm water. However the sensor (although reading the water) would give a different reading simply because af the white spirit. This of course wouldn't happen if using a manometer, s/b or KF.

Julian, when I finally get my meter and do some tests with known water level from s/b I can send you down some samples.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 12, 2015, 11:59:31 AM
Good idea, but if really dry bio is aggressively hydroscopic, then it may be necessary to make simultaneous readings with some of your other kit.

It wouldn't cost a lot to replicate what I've done.  I've got a snipe on a Arduino that's currently only 99p (my snipe is a little higher).  If I win it I'm happy to get it delivered to your address.  After that you only need the sensor for 2-3 quid and you can get the read out on a PC.  If you want it portable it'll be another fiver or so ... well worth having a play I recon.

Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on June 12, 2015, 12:57:55 PM
Julian, thankyou very much. I think you are a very computer literate person. I only started using one about 3 years ago and I'm 69. I'm very practical and good at making bio, but do have my limitations.
I saw the links you posted re arduino and to be honest the thing fills me with horror. So I really do appreciate the thought but I'll keep it simple with a meter, the sensor and a graph. Thanks again.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on June 12, 2015, 04:35:59 PM
There's honestly nothing clever about what I've done with the Arduino.  I've just used what far cleverer people have put up on the internet with one or two tiny, insignificant changes.

If you replicate what I've done, you'll be amazed how easy it is.

Age wise I'm not too far behind you, but Jim's at least 112 as far as anybody knows, and he managed to get his head round the firmware on the Arduino for the 3D printer ... that's way more complicated.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on January 12, 2016, 04:48:02 PM
It's a while since anyone posted on this thread Just to say that Julian very kindly set up my arduino and returned it with two of his sensors and one of mine. Every time I do a sandy brae I also check the capacitance as read by the 3 sensors. When enough data has been collected (as long as it makes sense) we will try to compile a graph, so a reasonably accurate water test can be done in a few mins with equipment costing less than £15.
Title: Re: Testing WVO and biodiesel for water.
Post by: Manfred on January 12, 2016, 07:02:31 PM
Looking foreward to your results, especially as I've moved over to bubble n settle these days. I'm conscious of it absorbing moisture as its stood settling, although it seems ok I know it probably isn't.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on March 06, 2016, 06:48:49 PM
Hi All,

At last I have some news testing various sensors against known water content samples tested by Sandy Brae.

I started by using three commercial sensors. A cheap chinese one and two of julians, one of which turned out to be the resistance type and so didn't work properly.

The other two gave really conflicting results, for instance the chinese one would give a reading of 15.33 p/f on a 120ppm sample and then only 14.96 p/f on a 700ppm sample. Not quite what we were looking for.

However, Julian came up with an idea; He has made a sensor using what are called 'stamping plates' which are basically dog tags. The sensor is about 25mms diameter and 75mms long, so quite a bulky thing but it easily fits into a jam jar and can be submerged into the bio.

He is going to post here to give you the details of the sensor, but the first results look really promising. I am actually writing this before the last s/b is completed, but the results so far speak for themselves, here they are;

All the following results completed with the 'dog tag' sensor at ambient temperatures in my kitchen.

120ppm water sample reading 448.03 p/f temperature 16.65degs

700ppm water sample reading 486.60 p/f temperature 16.83 degs

460ppm water sample reading 466.56 p/f temperature 16.57 degs

This is looking really promising and at the moment it seems as if the sensor has quite a linear response.

Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on March 06, 2016, 08:20:11 PM
As Dave posted in January, to measure the capacitance we set up an Arduino with prewritten code which gives an auto ranging capacitance value, combined it with code to measure temperature using a thermistor and managed to get both readings to display on an LCD screen.

I did quite a lot of reading on these sensors and many seem to be coated in some sort of moisture permeable polymer.  I reckoned it may be this that slowed the response time and caused other problems.  I found a sensor designed specifically for measuring moisture in oil but the data sheet made it out to be so delicate it hardly seemed suitable for the sort of heavy handed use most of us give things.  It was also very expensive and whilst the manufacturer was quite helpful, he couldn’t offer any code to run it in conjunction with the Arduino (although he said many of their customers used Arduino), instead offering their own, ready built and expensive electronics.


With a little more reading and I found a paper on testing new veg oil for FFA using a capacitive sensor (rather grandly termed Dielectric Analysis).  Interesting reading … http://www.mdpi.com/1424-8220/15/10/26457/htm  Both water and FFA apparently effect capacitance readings so they had to heat the oil for some time to drive off the water in order to obtain FFA readings.

They made their sensor rather than using a commercially available item.  Theirs comprised eight plates 100 mm × 112 mm with a 1mm gap between them, so basically a non adjustable air gap capacitor which, when dunked in oil, the oil becomes the dialetric.

So pretty easy to make …

(http://www.palmergroup.co.uk/Bio/Cap_sensors/Oil tin sensor.JPG)


 Above is the first, quick attempt which comprised eight plates 25 x 25 with 1mm spacing cut from an old KTC tin.  It seemed to respond quite fast and appeared repeatable, so I thought I’d go bigger and better.  I found 28mm dia brass dog tags for sale in China at just over a penny each including shipping.  A length of M5 nylon studding, some M5 nylon washers and a couple of lengths of 2.5mm twin and earth, earth conductor (which just happened to be a perfect fit in the dog tag holes) completed the shopping list.

A jig was printed to centre drill the dog tags and take a chunk out of the circumference diametrically opposite the existing hole …

(http://www.palmergroup.co.uk/Bio/Cap_sensors/Dog tag drilling jig.JPG)

(http://www.palmergroup.co.uk/Bio/Cap_sensors/Sensor discs.JPG)

 I used 51 tags only because that was the usable number I ended up with from the batch I drilled!  The whole lot was assembled predrilled hole to edge hole so the copper wire could be slid through the predrilled holes connecting every other plate.  The wires and plates were then soldered which was a bit tricky as the plates act as large heat sinks, hence the tardy soldering …

(http://www.palmergroup.co.uk/Bio/Cap_sensors/Dog tag sensor 1.JPG)


(http://www.palmergroup.co.uk/Bio/Cap_sensors/Dog tag sensor 2.JPG)


Checking the solder hasn’t strayed is easily achieved by testing the two wires are open circuit with a multimeter.  This sensor worked in air and capacitance altered when you “herrrred” on it.

This is what Dave is currently testing.

We'd welcome any comments, suggestions and improvements anyone can make.  For instance we're wondering if this set up might monitor water in methanol and it should be able, as detailed in the paper, to determine the FFA content of dry oil.

Title: Re: Testing WVO and biodiesel for water.
Post by: Manfred on March 06, 2016, 08:40:26 PM
Well done Julian. That's a quite impressive sensor you've built and quite sturdy by the look of it. It would be a nice bonus to be able to measure the ffa content after a Gly prewash to see where your start point is. I hope you're going into manufacture with these.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on March 06, 2016, 09:01:08 PM
Well done Julian AND DAVE ... anything I've done is meaningless without Dave testing it!

No, not going to manufacture ... they're so simple to build, there's no reason why anyone can't make them.  Happy to post files of the jig for those with printers along with Chinese dog tag source and code for the Arduino (although I'm sure someone with a modicum of programming knowledge would be able to tidy up what I've done quite considerably).

Anyhow it's not finished yet we still need to be sure of it's accuracy and repeatable and work out what effect, if any, temperature has on the readings.  Then we have to work out how to temperature correct the readings ... help from some one good at sums would be useful!

Next step will be to work out how people can calibrate the thing without the SB kit ... zero should be relatively easy, but span might be tricky ... any ideas on a post card please.

I think oil with traces of glycerin and possibly water might prove a problem as there may be too many variables.  Thinking out loud, we haven't yet compared two different batches of biodiesel ... I wonder if both had the same water content whether the two readings would be the same? Might be worth trying, Dave.



Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on March 06, 2016, 09:37:30 PM
I will repeat the tests with my next batch that I will start in a few days. I can't really use the samples that people send as there is not usually enough. The s/b only needs 30mls but the sensor needs a jam jar full. The s/b ended up at 460ppm. I have edited the original post so it reads more logically.

I must say thanks to Julian, he has done most of the work on this project. I have the easy bit, just doing a s/b and dipping the sensor in the bio.
Title: Re: Testing WVO and biodiesel for water.
Post by: Manfred on March 06, 2016, 09:56:11 PM
Sorry Dave if I was rude to your work in doing the tests it wasn't intended. I was just commenting on the hardware build.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on March 06, 2016, 10:01:07 PM
Manfred, my comment wasn't a reprimand (sorry if it came over like that!) ... I just like to see credit where credit's due!
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on March 06, 2016, 10:15:07 PM
Sorry Dave if I was rude to your work in doing the tests it wasn't intended. I was just commenting on the hardware build.

Don't worry Manfred, you were not rude at all, no offence taken at all.
Title: Re: Testing WVO and biodiesel for water.
Post by: Manfred on March 07, 2016, 07:57:09 PM
Cheers Julian and Dave. I am reading this thread with interest and while appreciating your work in the testing I was impressed by Julian's Sensor build which turns out to be a better design and build than the fully electronic ones previously tested. I think it's time I caught up on Arduino tech.
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on March 07, 2016, 08:10:47 PM
Cheers Julian and Dave. I am reading this thread with interest and while appreciating your work in the testing I was impressed by Julian's Sensor build which turns out to be a better design and build than the fully electronic ones previously tested. I think it's time I caught up on Arduino tech.

I also need to improve my arduino knowledge, I use a couple of mega2560 r3 and an uno to control stepper motors but their use for other things is almost infinite.

I've been asked to build a "Pilot Aware" gadget, based on a raspberry pi 2b, it's a sort of virtual RADAR that puts aircraft in your local onto your nav screen, well 'andy.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on March 07, 2016, 11:21:29 PM
In fairness to the commercial sensors, we're using them in a way they weren't designed for.

Re the Arduino, Chinese versions and the sensors etc are so cheap now it's silly not to have a play.  Get a board, some patch cables, a bread board, a few sensors and some resistors etc and just follow videos on youtube and copy code from all sorts of places.

Oh God, Jim's going to program 747's to dive bomb selected members!
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on March 08, 2016, 12:11:35 PM

Oh God, Jim's going to program 747's to dive bomb selected members!

Ye', now who's house shall I test it on, let me see?
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on March 11, 2016, 12:15:51 PM
Quick update;

I tested a sample yesterday for David Shinn that was 113ppm water s/b (dried with his turbo dryer)

I tested it with the dog tag sensor this morning, 430.85 p/f 16.57 degs.

This reading is probably a little low compared to my bio, but of course his feedstock oil is different to mine.
Title: Re: Testing WVO and biodiesel for water.
Post by: Soft top on March 11, 2016, 05:43:21 PM
 Just wondering how much water normal diesel contains. Has anyone tested diesel?
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on March 11, 2016, 05:54:35 PM
Just wondering how much water normal diesel contains. Has anyone tested diesel?

Petroleum products don't usually show hygroscopic tendencies so it's usually low. I have only tested pump diesel once with the KF and it was 158ppm.
Title: Re: Testing WVO and biodiesel for water.
Post by: paulp on May 20, 2016, 10:09:30 PM
This is fantastic work.
I would like to have a go but don't know where to start.
Water is a real fear for me. I think I knackered the injection pump in my first Octavia running bio diesel with water.
Now on a vW Passat and have injector problems.
I water wash and it's always the back of my mind I have no test to measure the water level.
This looks great. I need to read it again to see if I can put it together.
Great idea and great work.
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 20, 2016, 11:40:52 PM
Thanks Paul,
However we are having a little trouble with the multi plate (dog tag) sensor at the moment. It seems as though the brass plates are slightly oxidising and throwing the result. Even so, the relationship between samples seems to be the same, but unless checked with something like a Sandy Brae the results would be meaningless.

Next step is to clean the sensor with a mild acid wash to see if the range can be re established.

I dry my biodiesel with a 'turbo dryer' A device that sucks the air through silica gel before bubbling through the bio.
From many tests with the s/b I know if I dry for a certain time and temperature then the water will be a certain level. My dried bio usually ends up at around the 120ppm mark.

I test a lot of homebrew samples for water, most are dried with sprayrings, spraybars and the results are very hit and miss.

have a look at post No 4 on this thread, there is a drawing for the dryer.

http://www.biopowered.co.uk/forum/index.php/topic,2538.0.html
Title: Re: Testing WVO and biodiesel for water.
Post by: paulp on May 21, 2016, 01:54:26 PM
So the idea is to remove the moisture from the air to make the drying more effective
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 21, 2016, 02:58:45 PM
So the idea is to remove the moisture from the air to make the drying more effective

That is exactly the idea, the self indicating silica gel removes most of the humidity in the air.

I used to just bubble with ambient air, thinking the bio was dry enough and was horrified when I had it checked at 800ppm.

I did a test and had the inlet to the compressor into a cardboard box that had hot air being blown into it by a fan heater. This brought the water down to 450ppm.

After I built the dryer I got used to the very low water levels it produces. I once did two drying cycles over two days just to see what I could get the water content down to. It was 50ppm.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 21, 2016, 05:29:56 PM
Been corresponding with Dave the last couple of days so here's a quick strep on the state of play ...

The conductance measurement seems to be working OK, but contamination on the plates of the sensor, quite understandably, seems to make a massive difference to the results.

I dare say the brass in Chinese dog tag is not of the highest quality, so Dave it going to try pickling it in an acid solution.

Gold would obviously be the best from a performance point of view, but a shade too expensive for us cheapskates!  What are peoples thoughts on  stainless that always oxidises but is it always to the same degree?

Any other suggestions for plate material ... any non-metalic materials we could try?

Welcome comments and suggestions.
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on May 21, 2016, 06:58:57 PM
Have you not considered gold plating the chinese brass, an old colleague of mine would use his wedding ring to supply the plating surface.

It's amazing how little gold you need to plate a large area.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 21, 2016, 10:44:42 PM
Have you not considered gold plating the chinese brass, an old colleague of mine would use his wedding ring to supply the plating surface.

It's amazing how little gold you need to plate a large area.

Did consider it but don't you have to nickle plate the item first?

If your mate would use his wedding ring, can you pass on my address and I'll rig up the plating equipment ... kind of him to offer.

Alternatively can we pull Womble's gold tooth before we launch him ... shame to waste it.
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on May 22, 2016, 10:50:53 PM
Alternatively can we pull Womble's gold tooth before we launch him ... shame to waste it.

Oh ye', can I do it, can I pull all his teef out, please can I?
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 22, 2016, 11:03:25 PM
Alternatively can we pull Womble's gold tooth before we launch him ... shame to waste it.

Oh ye', can I do it, can I pull all his teef out, please can I?

Pull or punch ... whichever you prefer.
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on May 22, 2016, 11:26:02 PM
Alternatively can we pull Womble's gold tooth before we launch him ... shame to waste it.

Oh ye', can I do it, can I pull all his teef out, please can I?

Pull or punch ... whichever you prefer.

Cheers but don't tell the little fecker, keep it just between us two ok?
Title: Re: Testing WVO and biodiesel for water.
Post by: Jamesrl on May 23, 2016, 12:17:29 AM
I forgot to mention that my mate used to gold plate straight onto copper so maybe you can plate staight onto brass.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 23, 2016, 02:46:52 AM
Might be worth a try.

One issue may be the solder holding it all together ... doubt that will plate OK but it will surely oxidise over time.  I'm thinking that any slight change in surface contamination will have an adverse effect even just the area of solder.

I don't have anything gold ... not keen on shiny things.  Dam sure the wife ill object if I go near her jewelry box, so looking for donations!
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on May 23, 2016, 10:30:30 AM
What about sending Parker or Todd an email. Between them they mined 6300 ounces last year in the Yukon, worth around $6.9 million.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 23, 2016, 11:27:05 AM
Last I watched, Parker wasn't doing so well.
Title: Re: Testing WVO and biodiesel for water.
Post by: oakwoodtv on May 23, 2016, 11:33:57 AM
Silver solder the dog tags then gold plate.
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 23, 2016, 11:53:40 AM
Good idea, but to get the joints to silver solder temperature would melt the Nylon studding and spacers.

If I had oxy-acetylene I could immerse it in a water bath with just the joints above the surface.


Title: Re: Testing WVO and biodiesel for water.
Post by: oakwoodtv on May 24, 2016, 01:17:42 PM
Could you assemble the plates with threaded brass or steel rod with washers to give
the correct spacing then silver solder remove the rod and then gold plate.

After gold plating reassemble with the nylon rod and spacers this way all
the metal surface will be plated and non will be shielded with the nylon.   

     
Title: Re: Testing WVO and biodiesel for water.
Post by: Julian on May 24, 2016, 01:57:59 PM
Could you assemble the plates with threaded brass or steel rod with washers to give
the correct spacing then silver solder remove the rod and then gold plate.

After gold plating reassemble with the nylon rod and spacers this way all
the metal surface will be plated and non will be shielded with the nylon.   

Agree, great in theory, but bloody fiddly in practice.  The plates are only 1mm apart, but with that method positive and negative plates would separate to two different assemblies after silver soldering and would make plating easier.
Title: Re: Testing WVO and biodiesel for water.
Post by: paulp on July 28, 2016, 09:25:42 PM
Dave
We are just getting round to make our turbo drier.
We are using the cheap eBay humidity sensor.
Can I ask how far above the surface of the bio shots the sensor have to be.
Also what happens if you don't fit a fan? Have you tried this.
Thanks
Paul
Title: Re: Testing WVO and biodiesel for water.
Post by: dgs on July 28, 2016, 10:55:24 PM
Hi Paul,

I haven't used my dryer without the fan. The led driver that powers the fan is also in the tub with the air pump so when the dryer is plugged in it starts both the air pump and the fan.

The sensor is positioned about 5 cms above the extraction fan.

If you don't use a fan and rely on the air that is bubbling through the bio to force itself out between the tank top and plywood disk then you will get very different readings to those I did with the sensor over the fan.

The readings are on this thread, post No 36.
http://biopowered.co.uk/forum/index.php/topic,2538.30.html