Analog Sensors#
We will briefly give an overview of connecting an analog sensor. We have already given an example with the temperature sensor tutorial here.
This LM35 Temperature sensor provides a voltage that is directly proportional to the temperature and we connect it to one of the analog inputs of the microprocessor.
Analog Inputs
It should be noted that not all the connections on a microprocessor can be used as analog inputs. For the Arduino Uno, the analog inputs are separately labelled to the digital inputs/outputs
On the Pico, refer to the pin diagram which will tell you that GP26, 27 & 29 are the Analog inputs (labelled as ADC for analog to digital converter)