I discovered a lilypad sensor thought of connecting it with raspberry pi zero to measure living room temperature. But lilypad sensor is analog input and pi doesn’t have analog pin.

How can i make this working ?

1 Answer 1


You will need to buy an ADC (Analogue to Digital Converter) such as the popular MCP3008.

You connect the Lilypad output to the ADC and the ADC to the Pi. The MCP3008, for example, uses the Pi's SPI GPIO.

You then write a program to read the data from the ADC. Python is a popular choice and there are hundreds of examples on-line.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.