confusedwreck
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!!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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!!