Reading Analogue Sensors With One GPIO Pin - Raspberry Pi Spy
This guide shows how you can read analogue sensors on the Raspberry Pi despite it not having any analogue inputs. It uses an RC charging circuit to estimate the voltage provided by the sensor. It's not perfect but easier than using an analgoue-to-digital converter (ADC).