Arduino-compatible frequency counter with a 4040N to extend the measurement range.