<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Temperature measurement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55054/temperature-measurement</link><description>Hello, 
 I am using ses and nrf52840 dk 
 I wrote the code for reading temperature from the inbuilt temperature sensor and when I read value from TEMP register I am getting 115. I checked the sdk code and I saw the temp value is divided by 4, I am not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2019 10:42:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55054/temperature-measurement" /><item><title>RE: Temperature measurement</title><link>https://devzone.nordicsemi.com/thread/222996?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 10:42:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78fdebd9-917e-4c58-8de1-5d43e4e13f1b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note that the resolution is 0.25C and the accuracy (offset) is +- 5C, so you may want to consider using an external temperature sensor if you plan on measuring ambient temperature.&amp;nbsp;Please see the nRF52840 PS/&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/temp.html?cp=4_0_0_5_27"&gt;TEMP — Temperature sensor&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Temperature measurement</title><link>https://devzone.nordicsemi.com/thread/222892?ContentTypeID=1</link><pubDate>Sat, 30 Nov 2019 14:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2641b07a-f255-49f2-b3f1-ba5dd8c8b377</guid><dc:creator>SC97</dc:creator><description>&lt;p&gt;Actually that would be for voltage measurement that too when I choose reference in config register as VDD/4. I am asking about temperature measurement code in the nordic library. The value stored in the TEMP register gets divided by 4 and then we get the final temperature. I was wondering why we have to do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Temperature measurement</title><link>https://devzone.nordicsemi.com/thread/222884?ContentTypeID=1</link><pubDate>Sat, 30 Nov 2019 09:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01f363f9-a480-4bab-99d9-bbc4708c3916</guid><dc:creator>HuanVH</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To make sure the battery is measured, Vref has been divided by 4 or 6. You can read more&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html?cp=4_0_0_5_22" rel="noopener noreferrer" target="_blank"&gt; here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>