hi all,
im a student currently doing a project on water level sensors with my grp. our initial plan is that the 2 LDRs have to be either 1 or 0 to start and stop the motor but only 1 LDR is able to do that. which is hard to start or stop the motor as water will keep on pumping in every time LDR detects light. we used to Analog Digital Conversion in our program but it seems to convert only 1 value. is there any other ways to do it? please advise.
More information required - which PIC are you using, can you post the code so we can have a look at it, motor/pump information (power rating, type, model, etc), how are the LDRs set up to sense the level of water?