I purchased this flow meter from RS Online (https://au.rs-online.com/web/p/flow-sensors/4474449/) for a project but I'm unsure if i wired it properly.
From the paperwork (below) it is a hall effect sensor NPN with needs a pull up resistor between output and positive.I have wired it in my breadboard to be Pin 1 5V, Pin 3 Ground and Pin 4 to Pin 2 (interrupt) on the Nano with a 10k pull up resistor going to 5V
I tried hooking it up yesterday with some basic code that ++ a integer on the interrupt but got nothing.
It could be the code i used but can anyone confirm if i have wired it correctly or not?
Thanks in advance for any help.