The 12-bit ADC of STM32 is used to collect the wind direction value of the 4-20ma current-type wind direction sensor, and the basic quasi-electricity of STM32 is used

Adc value conversion voltage
wind-direction-sensor-plus-wind-speed-sensor-rs485-rs232-4-20ma-0-5v-multiple-power-supply
Temperature (° C) = {(V25 – VSENSE)/Avg_Slope} + 25
Here:
V25 = VSENSE at 25 ° C
Avg_Slope = temperature and average VSENSE curve slope (unit for mV / ° C or mu V / ° C)
Refer to the actual values of V25 and Avg_Slope in the electrical characteristics section of the data manual.

Leave a comment