Interface a hall effect flowmeter to a raspberry pi