![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | Thread Tools | Display Modes |
| | (permalink) |
| New Member | hi...will be really grateful if sumone would giv me a solution to this.. the project's really simple...der are 6 copper rods of six diff lengths to sense diff levels of water in a tank..the other end of each rod is connected to a 22k resistor, which then goes to a 680K resisitor(pull up resistor) and then goes to a port 0 pin. the output: initially a red led is on, buzzer is on, and relay is on. 1st level: wen d water touches d first level, red led and buzzer are turned off, green led is turned on 2nd level: wen water touches d next rod, green led is turned off . 3rd level: blue led on 4th level: blue led off 5th level: red led on 6th buzzer on, relay off the problem: the project doesn't work wen i put the rods in water..(i tried putting salt in the water as well so as to make it conducting but it makes no diff)..but it works wen i touch the rods with some steel object..like a steel glass or something..but since it doesn't work with water..it defeats the purpose of the project rite?..what do u think shud b the reason for this? do u think if i reduce the no of levels to 3..with each led for each level..thus reducing the length of the source code, will it help?..or shud i change d value of d resistors? Thanx a ton!! |
| | |
| | (permalink) |
| New Member | hi...will be really grateful if sumone would giv me a solution to this.. the project's really simple...der are 6 copper rods of six diff lengths to sense diff levels of water in a tank..the other end of each rod is connected to a 22k resistor, which then goes to a 680K resisitor(pull up resistor) and then goes to a port 0 pin. the output: initially a red led is on, buzzer is on, and relay is on. 1st level: wen d water touches d first level, red led and buzzer are turned off, green led is turned on 2nd level: wen water touches d next rod, green led is turned off . 3rd level: blue led on 4th level: blue led off 5th level: red led on 6th buzzer on, relay off the problem: the project doesn't work wen i put the rods in water..(i tried putting salt in the water as well so as to make it conducting but it makes no diff)..but it works wen i touch the rods with some steel object..like a steel glass or something..but since it doesn't work with water..it defeats the purpose of the project rite?..what do u think shud b the reason for this? do u think reducing the length of the source code, will help?..or is 22k too large a value..? need a really fast reply... Thanx a ton!! Last edited by confusedwreck; 4th May 2008 at 03:11 PM. |
| | |
| | (permalink) |
| Experienced Member | I was tempted to ignore this post because of your chatspeak. Most of us here are of the same mind. You need another rod, going all the way to the bottom, and connected to circuit ground. Otherwise, there is no return current path for the voltage dividers created by the other probes. You could instead use a conductive container which is connected to circuit ground. Using DC will probably cause the device to ultimately fail due to corrosion of the rods. Look at the datasheet for LM1830. Last edited by Roff; 4th May 2008 at 03:18 PM. |
| | |
| | (permalink) |
| Experienced Member | Most of the inputs on an 8051 have pull up sufficient to overwhelm what you are trying to do. Try moving the inputs to P0 which has no pullups on the inputs...otherwise put HC buffers between the pull ups and the 8051. |
| | |
| | (permalink) | |
| Experienced Member | Quote:
To the OP: I don't see any obvious reason why this should work. Who told you that it would?
__________________ We never have time to do it right; but we always have time to do it over. | |
| | |
| | (permalink) | |
| New Member | Quote:
i forgot to mention that i did connect the ground to the steel tank, and since water is conducting, the water would also be ground.. so as the water level rises each pin gets connected to ground one by one..and the corresponding output port pins(in this case port 2) would be set or reset by d source code..so y do u think the project wouldn't work? | |
| | |
| | (permalink) |
| Experienced Member | Well I don't know if it will or it won't, but you did leave out a key detail from the original post. What is your estimate for the resistance of the water to the ground conncetion? Will that impedance actually pull the 680K pullup to a defined low level? If not, what level does it go to?
__________________ We never have time to do it right; but we always have time to do it over. |
| | |
| | (permalink) | |
| Experienced Member | Quote:
It could be noise pickup at 680K. It is hard to say...as you said it could easily be that it is not making a good low logic level. Last edited by Ubergeek63; 5th May 2008 at 11:08 AM. | |
| | |
| | (permalink) |
| Experienced Member | I had a similar problem with water probes. After a lot of messing about i finally found it was due to me using dissimilar metals. The unwanted and unexpected voltage created was enough to interfere with the circuitry. After i made sure that both contacts were the same metal (on my test setup it was copper) then i had no more problem. I mention this because i thought it was unusual, and it may catch you out. Regards, John
__________________ ************************************************** ***************** |
| | |
| | (permalink) |
| Experienced Member | Hello, Tap water has a resistance of about 100k ohms a little less if you add salt. I was thinking that you should be able to connect transistors to your probes as amplifiers? I am a noob, but I would think that the low current produced through the water can activate the transitor. fiveten |
| | |
| | (permalink) |
| Experienced Member | Why don't you draw a schematic of what you are doing? It would make it a lot easier to see where the problem lies, or if it would even work. here is a link to a water level alarm (if that is what you are trying to achieve) http://www.mitedu.freeserve.co.uk/Ci...er_lev_alm.htm Although it does not use a microcontroller, it may/may not give you some ideas with respect to the circuit you are trying to build. Good Luck |
| | |
| | (permalink) | |
| Experienced Member | Quote:
Another possible advantage of using AC, other than avoiding the plating issue: If the electrode spacing is fairly small, capacitance can help lower the impedance, because the dielectric constant of water is around 80. It makes the interface to the microcontoller more complicated, though. | |
| | |
| | (permalink) |
| New Member | Firstly a BIG THANK YOU to all who have taken time to find a solution...my project miraculously worked today which btw happened to be the D-day of my project submission..i dissolved a huge amount of salt in water , and put each rod in the bottle and check the level detection..and it worked!! |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Latest |
| AVR InfraRed Remote code capture project | eblc1388 | Micro Controllers | 14 | 12th April 2008 06:49 PM |
| Uni Project Advice | 2-tone | Electronic Projects Design/Ideas/Reviews | 7 | 18th October 2007 12:10 AM |
| My professor screwed my final electronics project! | kungfusansu | Electronic Projects Design/Ideas/Reviews | 21 | 26th August 2007 09:57 PM |
| A Microcontroller based Analogue Waveforms Analyzer Project | km | Electronic Projects Design/Ideas/Reviews | 76 | 30th June 2004 06:39 PM |
| I need a project idea based on my strength or interest. :) | janetsmith2000@yahoo.com | Electronic Projects Design/Ideas/Reviews | 10 | 11th November 2003 09:33 AM |