Hi All!,
If I make any mistake I apologize in advance. I don't have much electornics knowledge learned whatever I know is learned through this forum and google.
I am working on circuit and want to read frequency of sensor: Kps-59-C/Kps-61-C Digital Water Level Pressure Sensor for Whirlpool Top Load Washing Machine - China Liquid Level Sensor and Electronic Level Sensor price
Downloaded this library in Arduino IDE: FreqCount Library, for Measuring Frequencies in the 1 kHz to 5 MHz Range
Circuit Diagram:
My Code:
#include <FreqCount.h>
void setup() {
Serial.begin(9600);
FreqCount.begin(1000);
}
void loop() {
if (FreqCount.available()) {
unsigned long count = FreqCount.read();
Serial.println(count);
}
}
Output:
0
0
0
0
....
Can anyone guide me what I have done wrong here?

