Unstable reading from Raspberry Pi
As Majenko commented, you need to not only connect the data wires together but also the ground wire (from the Arduino to the Pi).


  ... the reading are very unstable ...


Without a consistent "ground reference" the readings would indeed be unstable.