Brewing Badger
Member
- Joined
- Feb 5, 2019
- Messages
- 14
- Reaction score
- 1
In my version, the python will automatically upload to the shield on startup if there is a cpp.hex file in the Arduino/raspberrypints folder. Though I don't have a Uno to verify that works on it.
Also in my version, the easy way to see updates and pours is to look at the file /var/log/rpints.log (use command "tail -f /var/log/rpints.log" to show the latest trace)
Unfortunately, I don't use swissflow meters so I cant help too much, but I don't see anything in the code to about the specific meter being used.
Finally got around to hooking up one of the SF800 for a test.
Set the pin to 8 in the taps section, and hooked up the flowmeter to the UNO pin 8, and otherwise according to instructions.
I get no result in Rpints when blowing trough the flowmeter, so I tried checking the /var/log/rpints.log file and got this readout:
pi@raspberrypi:~ $ tail -f /var/log/rpints.log
2019-02-26 20:55:25 RPINTS: Unable to run Motion Detection
2019-02-26 20:55:25 RPINTS: serial connection stopped...
2019-02-26 20:55:26 RPINTS: flowmonitor aborted, restarting...
2019-02-26 20:55:27 RPINTS: Motion Detector MD-default is Running
2019-02-26 20:55:27 RPINTS: Unable to run Motion Detection
2019-02-26 20:55:27 RPINTS: serial connection stopped...
2019-02-26 20:55:28 RPINTS: flowmonitor aborted, restarting...
2019-02-26 20:55:28 RPINTS: Motion Detector MD-default is Running
2019-02-26 20:55:28 RPINTS: Unable to run Motion Detection
2019-02-26 20:55:36 RPINTS: 1Wire Temperature Thread 1 is Running
Then I tried to upload the raspberrypints.ino file to the uno (in case something went wrong on startup), and got this error on the UNO:
Binary sketch size: 11 344 bytes (of a 32 256 byte maximum)
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
Any ideas are most welcome