Hello,
NCS1.9.1, nRF52840DK, Windows10 X64, VS Code,
1.
i want to read voltage from RT_ADC pin (P0.04),
and than converting NTC thermistor value to Temperature.
2.
read battery Voltage;
is there any sample code?
thanks
Best Regards
Hello,
NCS1.9.1, nRF52840DK, Windows10 X64, VS Code,
1.
i want to read voltage from RT_ADC pin (P0.04),
and than converting NTC thermistor value to Temperature.
2.
read battery Voltage;
is there any sample code?
thanks
Best Regards
Hi,
delete it and add build, and change to pin P0.04

got Voltage:

how to converting 181mV value to Temperature?
Best regards,
Hi,
You also got the raw SAADC sample value (1240). How to convert this to temperature depends on your sensor, you should check the datasheet. The resolution of the SAADC is 12 bit by defaults, so you the raw samples will go from 0-4095.
Best regards,
Jørgen