You can use your UNO to :
1) Measure a V from pump switch to create trigger. Use an opto coupler
to isolate pump switch voltage from UNO.
2) Use a shaft disk and optocoupler to count pulses (RPM) to create trigger.
3) Use a optical flow sensor.
4) use a pump switch with additional contacts UNO can generate its own trigger from.
5) Use a pump centrifugal switch on shaft to UNO.
If you need a separate processor to develop the trigger could use an ATTINY85 and
mBlock to do the counting/Vmeasure/sensor interface, here is example sensing V -
The ATtiny85 is a microcontroller in a similar vein to the Arduino, but with much less IO pins, smaller memory and a smaller form factor.
You drag and drop functional blocks out of window 2 to window 3, config, and mBlock
will generate the Arduino code to program an attiny85 (an 8 pin AVR processor). Use the
UNO to program the ATTINY then revert the UNO back to its "normal" code. or just use
USB and appropriate driver to do the programming.
Regards, Dana.