I am looking for some help as I am having trouble getting the flow meter working properly.
I have connected my Uno via USB to the Pi. In the Pi Arduino IDE I select port ttyACM0 and run the Serial Monitor, it keeps showing random letters like ukttttttttttataaaaaaaaaaatttttttttatCtttStattae from the word StatusCheck interspersed with StatusCheck;.
If I blow into the Flow Meter I shortly after get something like U;-1;3;xxxx where xxxx will be a 4 digit number that seems to be bigger the longer I blow and sometimes if I blow for 20 or 30 seconds I will get a few of these one after another.
I have selected PIN 3 for the Taps Flow Pin setting on Raspberrypints and connected the flow meter to 5v, gnd and PIN 3.
I did get one update in all my testing in the Analytics Pours Page but that was for 22,478.26ml and so was ignored but subsequent attempts blowing more or less doesn't seem to equate to any update of the pours. /var/log/rpints.log currently shows
2022-05-28 16:49:21 RPINTS: No such device - Sleeping to try again
2022-05-28 16:49:26 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
2022-05-28 16:49:36 RPINTS: starting WS server
2022-05-28 16:49:36 RPINTS: starting device monitors...
2022-05-28 16:49:36 RPINTS: starting command server
2022-05-28 16:49:36 RPINTS: starting fan control
2022-05-28 16:49:36 RPINTS: Fan Control fanControl1 is Running
2022-05-28 16:49:36 RPINTS: Not Configured to run Fan
2022-05-28 16:49:37 RPINTS: 1Wire Temperature Thread 1 is Running
('Unexpected error:', <class 'serial.serialutil.SerialException'>)
Traceback (most recent call last):
File "/var/www/html/python/FlowMonitor.py", line 308, in monitor
msg = self.readline_notimeout(False)
File "/var/www/html/python/FlowMonitor.py", line 85, in readline_notimeout
c = self.arduino.read(1)
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
'device reports readiness to read but returned no data '
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2022-05-28 16:56:17 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:56:18 RPINTS: 1Wire Temperature Thread 1 is Running
2022-05-28 16:57:04 RPINTS: serial connection stopped...
2022-05-28 16:57:05 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:57:16 RPINTS: serial connection stopped...
2022-05-28 16:57:17 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:57:29 RPINTS: serial connection stopped...
2022-05-28 16:57:30 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:58:02 RPINTS: serial connection stopped...
2022-05-28 16:58:03 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:58:26 RPINTS: serial connection stopped...
2022-05-28 16:58:27 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:58:34 RPINTS: serial connection stopped...
2022-05-28 16:58:35 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:58:40 RPINTS: serial connection stopped...
2022-05-28 16:58:41 RPINTS: flowmonitor aborted, restarting...
2022-05-28 16:59:06 RPINTS: serial connection stopped...
2022-05-28 16:59:07 RPINTS: flowmonitor aborted, restarting...
Please help
Thanks