In most cases, this is caused by insufficient power supply condition. When the power supply provides too little current, has too low a voltage and/or generates too much ripple, several problems can arise, such as:
- Unstable measurements;
- Communication error between development board and sensor;
- A sensor that doesn't work at all;
- Damage to the sensor.
A good quality power supply is required that can supply enough current and has the correct voltage (see sensor specifications in the product description). It is advised to measure the voltage directly on the Vcc and GND pins of the sensor.