I'm new to the raspberry pi and after getting a simple temperature sensor to work bought a YL-69 (comes with YL-38 too) but can't get any analogue data from it.
http://www.tiagoespinha.net/wp-content/uploads/2014/05/2014-05-09-12.51.20.jpg are the two sensors I have currently.
My current setup is:
YL-69 and YL-38 connected via the 2 pin side.
YL-69:VCC goes to the Rasp 3.3v power pin 1.
YL-69:GND goes to the ground pin on Rasp.
YL-69:AO goes to one of my GPIO pins(3).
I'm using the pigpio python library but pi.read(gpio) just gives me a reading of 1.
What do I need to do to get this to work, any ideas?