2019-08-11 09:36 PM
2019-08-12 12:57 AM
Hi. STM32 ADC does not work with 5V. Maximal voltage for ADC you can find in datasheet (Vref or Vdda depends of uC). In most cases it is 3.6 V.
2019-08-12 12:59 AM
2019-08-12 01:27 AM
https://download.mikroe.com/documents/add-on-boards/click/alcohol/alcohol-click-schematic-v100.pdf
Remember that most resistor type sensor are heated alloy base which typically need 100mA. Cheap and high power...
2019-08-12 03:38 AM
You can use resistor voltage divider.
2019-08-12 04:23 PM
put voltage divider 5V to 3.3V on analog output to STM32 ADC input ? good idea, what value do you suggest ? 10K and 20K ? 2/3*5V=3.3V
thanks