Am getting strange results with the Grove Piezo Sensor. It is giving high readings all the time (value = 1024), using the grove_pizeo_vibration_sensor.py script . Tried with 2 different sensors. Still gives high readings. It randomly outputs 0 readings every now and then.
Have tried shaking and moving the sensor, and the reading generally stay at 1024 the whole time, even when I stop moving the sensor.
Have retested with Raspian for Robots. Was previously just using normal Raspian and then updating the GrovePi software via the setup software guide and then updating the firmware.
The sensor still dosent work very cleanly or robustly though. The sample rate on the grovepi example script for the piezo sensor was at 0.5 seconds which was a bit too slow to pick up any vibrations. I tried at a faster sample rate of 0.1 seconds, and it picked up vibrations better, though the results are not always very stable and a bit noisy