-1

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 ?

Ciasto piekarz
  • 355
  • 2
  • 12
  • 28

1 Answers1

0

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.

joan
  • 71,852
  • 5
  • 76
  • 108