Electrical – mdot Analog in: how to connect Grove temperature sensor

armmbedstm32

I am starting with multitech mdot product.

I am confused about how can I use the mdot pin PB_1 (linked to A0 in UDK) to read my Grove temperature sensor value.
Is it enough to simply connect it to the sensor signal output or should I configure the microprocessor ADC to be able to use the pin PB_1 as an analog Input?

in the developer guide page 21 the pin described as: PB_1/AD0/DIO0

what does this description mean?

Best regards.

Best Answer

Your Grove temperature sensor is made to be connected to an ADC input of your microprocessor. Then you need to configure your microprocessor to use an ADC pin, and convert the voltage in input in a data by softawre. So, pin described as "PB_1/AD0/DIO0" means that the same pin as three distinct function that can be used : PB number 1, ADC number 0, and Digital input/outpu number 0. But you can only use one function at a time by configuring it by software.

Regards,