RensM
Member
Got is sorted it was a Arduino board issue, replacement board, no other changes other than a fresh install fixed it.Thats a problem. Make sure you the Arduino is plugged into the USB and powered on.
If i remember right, another user had an issue where the USB port number would change so instead of using ttyACM0 they had to use ttyACM1
So when uploading through the IDE make sure the correct USB port is select (it may only show ports that the arduino is connected to, but I am not sure as I use the alamode board that sits on the GPIO)
Once you get the sketch uploaded things should start working, even if the rpint log says it failed the arduino should still be running.
If that keeps happening and you dont want to see the error in the logs you can "change" the sketch (add a space, remove space, save) the logic for upload skips trying if the sketch has a newer timestamp because it assumes you manually edited the sketch and didnt replace the hex file in /var/www/html/arduino/raspberrypints
Now i just have to hone in on pulse count. I stuck a random number in and a 500ml poor now registers as 1.2l so some trial and error needed unless someone has a pulse counting script floating around