![]() | ![]() | ![]() |
| | #16 | |||||
| Quote:
Quote:
Quote:
Quote:
Quote:
![]() ![]() ![]() Why thanks... I'll answer the rest of your questions when i take new readings later....im half way done with my presentation for superconductivity..
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. Last edited by fantabulous68; 12th September 2009 at 06:26 PM. | ||||||
| |
| | #17 | |
|
MR RB Quote:
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. | ||
| |
| | #18 |
|
hi Miss Fantabulous, Its refreshing to see someone putting the time, effort and detail into their project as you are obviously doing. I'm sure most of the older members of this Forum feel the same way as I do, well done, you deserve every success with the project.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | |
| |
| | #19 | |
| Quote:
For 2) the problem with a liquid depth of 1 to 2 cm is that the sensor might just have been measuring the bottom of the container. That's why I said to the OP before it really needs some testing of the same surface distances, but with varying liquid depths, to test if there is any effect of change in depth and that it is always measuring the surface reflection only. Fantabulous- A 10uF cap right at the sensor between +5v and ground (tantalum is good). For the low pass filter it is not critical, the Sharp sensor takes one reading every 40mS so you can just put a large (0.1uF ?) cap on the ADC input pin and rely on the Sharp output circuit having some impedance so you don't need a series resistor. If this is eventually used for liquid measuring in a tank you could go for a much larger cap as the liquid level will never change that fast and the more filtering the better. | ||
| |
| | #20 | ||
| Quote:
Ok all the previous measurements were me varying the distance of the container to the sensor........... But now i am varying the level of the liquid in the container........................... I varied the level of water in a glass and plastic vessel......see the attached doc... I will take more readings when i get time, will take readings at 2 10 20 ....80 for various liquids...got to finish up my presentation ![]() Quote:
![]() hehe Hi Mr Ericgibbs you got it right this time. Thanks
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. Last edited by fantabulous68; 12th September 2009 at 09:57 PM. | |||
| |
| | #21 |
|
I am assuming the x-axis is the depth of water in its container. Correct? Did you keep the distance to the water surface constant? That value should be kept constant...actually, I suggest using 2 distances, like 10 cm and 20 to 30 cm, if it is not too hard to do that. Since your detector is fixed, just lower the vessel. Can you get a "lab jack" to do that? Nice touch using both a plastic and a glass container. The glass has a very high refractive index, so will reflect differently than the plastic will at the liquid-container interface. John | |
| |
| | #22 | |
| Quote:
)Tonight i am going to take readings for all those liquids i did b4(its 10:40 now)....but by varying the depth of the liquid...and keeping the distance to the surface fixed..... i got to practice my presentation and my exams start next month ....I need to make a study time table...time management!very important
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. | ||
| |
| | #23 |
|
Just looked at the datasheet and some other information about the GP2D12 sensor. Based on that, I recommend increasing your minimal fixed distance from 10 cm to 12 to 14 cm. Then, pick a longer distance that is 10 to 13 cm more than your minimum distance for your second point (if you do the experiment as suggested awhile back). The reasons to avoid 10 cm exactly are: 1) it is the minimum distance; 2) there is rapid drop off at shorter distances; and 3) there is variation between devices (devices are characterized for quality control at about 24 cm). So, going to a slightly greater minimal distance will reduce unknown variability due to working at the device's extreme lower limit. You don't want to go too far, because the response curve flattens, which will increase your imprecision, and band spread of the IR beam will make edge effects more prominent. That is, you will have to use a larger diameter container for the liquid. Beam diameter vs. distance is shown in some of the technical sheets. John | |
| |
| | #24 |
|
the glass vessel and sensor were at a fixed distance apart, took readings of the depth of the water which I varied...I did not move the sensor or the vessel once i started taking readings-the sensor was positioned over the center of the glass vessel.....see attached document...only problem is....the longest glass vessel i got is 21.5cm----so i took 3 readings for each case: 10cm fixed 12cm fixed 14cm fixed
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. Last edited by fantabulous68; 13th September 2009 at 10:23 PM. | |
| |
| | #25 | |
|
I am very confused by that chart. You say, "10 cm fixed" but show 3 readings at different distances. Distance to what? You did triplicate readings. Does each point represent the average? What does this mean: Quote:
John | ||
| |
| | #26 |
|
thats a typo coz i cut and paste......its 10cm, 12cm and 14cm................let me change that on the document.... The graphs are correctly labled
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. | |
| |
| | #27 |
|
sensor<-------10cm--------->top of glass This was the fixed distance Then i took 3 readings from the sensor to the surface of the water at THAT fixed distance and plotted a graph and i repeated this at 12cm.......................then again for 14cm
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. Last edited by fantabulous68; 13th September 2009 at 10:28 PM. | |
| |
| | #28 |
|
WATER 10*away [ Code: distance output V 30 0.509 20 0.724 13 0.725 sensor<-------10cm--------->top of glass This was the fixed distance Then i took 3 readings from the sensor to the surface of the water at THAT fixed distance and plotted a graph and i repeated this at 12cm.......................then again for 14cm
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. Last edited by fantabulous68; 13th September 2009 at 10:36 PM. | |
| |
| | #29 |
|
Oh i have to be going now...its 23:55 and i wake @5:00 to get ready for uni and leave home at 6:15...Take care Jpanhalt....i will see your response at uni tomorrow....thanks for all your input....
__________________ Learn without thinking begets ignorance. Think without learning is dangerous. | |
| |
| | #30 |
|
Can you find a light-gray or white piece of cardboard? Get as big a piece as practical, at least 20 cm X 20 cm. Flat, stiff, card stock would be best. Take multiple measurements at 12, 20, 30 cm from your detector. let's see what your best-case reproducibility is. I suspect it is pretty good. If not, then you need to look for problems in the basic sensor setup. Assuming that reproducibility with the cardboard is good, then lets return to your liquid surface. Off hand, those results do not look too good, but don't despair. I think it is the set up you are using, which is why reproducibility seems so poor. Let's focus only on water for now -- wine is later ![]() Do you have a cooking pot or aquarium -- anything -- that is much bigger in diameter than the drinking glass you are using. If you can get something about 20 cm or more in diameter, use it. Hopefully, it will be at least 10 cm high. Place your sensor 20 to 25 cm form the bottom of that container. Take a blank measurement of the empty pot. Then add 2 cm of water, take 3 measurements and average them, if they are relatively close to each other. Otherwise, report what the 3 values are. Then add 5 MORE cm of water and repeat. Keep adding water and taking measurements until the water is at the top of the pot. For now, be sure to let any ripples in the water settle. If you get an unusual reading, check for ripples, and record your data. It is getting late for you now, I understand. But, I will check in tomorrow several times. John | |
| |
|
| Tags |
| detectorsharpgp2d12, infrared, level, liquid |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Liquid level sensing | Bizzarri | Electronic Projects Design/Ideas/Reviews | 17 | 11th September 2008 01:27 PM |
| Liquid Level Measurement/2 | Joe McGivern | General Electronics Chat | 17 | 15th May 2007 09:12 AM |
| Liquid level measurement. | Joe McGivern | Chit-Chat | 8 | 3rd May 2007 01:03 PM |
| Liquid Level detector and indicator | Langat | Electronic Projects Design/Ideas/Reviews | 4 | 27th September 2006 03:13 PM |
| About and Liquid level display | mishranirmal | Electronic Projects Design/Ideas/Reviews | 1 | 13th September 2003 03:48 AM |