Pump RPM Display

Needed a simple RPM display for a water pump with error if pump speed was too high.
Works as Follows, Port Read counts pulses from a Proximity Sensors,
Timer runs for 2 Seconds, Given the samlple size of 2 seconds The Count figure is multiplied by 30 to achieve number of pulses per minute, this figure is then stored in a buffer which is then refreshed every 2 seconds. For display, the number is formatted to 0 decimal places and then shown on an LCD screen, Adding in the “Pump RPM” text, as well as showing a moving symbol to show the system is working. Finally there is also an error check that if the speed goes above 541 RPM it will Flash an error message. This is also used to trigger an audible alarm.


IMG_0721 (1)
IMG_0722 (1)

1 Like