Dr_Doggy
Well-Known Member
Was thinking about purchasing one of these:
https://www.miniinthebox.com/water-...iquid-level-sensor-circuit-board_p903356.html
but does not suit my dimensions, so i am thinking of doing my own, but i want to confirm that the circuit is 3 verticals wires, +/gnd, and analog point in between, and when the level changes so does the adc value? i just want to confirm since i dont really get how the change in water level in both resistances causes a change in adc, I just have feeling its not as straight forward as it looks,
also since i need to do my own , i was thinking about putting a PIC right on the board, and use the icsp dat as a data pin for 1 wire.... will use clk pin and serial protocol if i need to...
but if i can use 1 wire that would be great, but i wonder if there is source code for 1-wire slave device , lots out there on 1-wire host, but nothing for slave, even arduino code could help that i can translate
thanks!
https://www.miniinthebox.com/water-...iquid-level-sensor-circuit-board_p903356.html
but does not suit my dimensions, so i am thinking of doing my own, but i want to confirm that the circuit is 3 verticals wires, +/gnd, and analog point in between, and when the level changes so does the adc value? i just want to confirm since i dont really get how the change in water level in both resistances causes a change in adc, I just have feeling its not as straight forward as it looks,
also since i need to do my own , i was thinking about putting a PIC right on the board, and use the icsp dat as a data pin for 1 wire.... will use clk pin and serial protocol if i need to...
but if i can use 1 wire that would be great, but i wonder if there is source code for 1-wire slave device , lots out there on 1-wire host, but nothing for slave, even arduino code could help that i can translate
thanks!