<?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>How to Configure the Asset Tracker to Using external Temp and not Simulated Temp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45694/how-to-configure-the-asset-tracker-to-using-external-temp-and-not-simulated-temp</link><description>Hey everyone, I am trying to setup the external temp sensor instead of using the simulated data 
 I modified prj.conf to: 
 CONFIG_TEMP_USE_EXTERNAL=y 
 and Kconfig default to TEMP_USE_EXTERNAL 
 choice prompt &amp;quot;Temperature measurement device&amp;quot; default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2019 18:30:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45694/how-to-configure-the-asset-tracker-to-using-external-temp-and-not-simulated-temp" /><item><title>RE: How to Configure the Asset Tracker to Using external Temp and not Simulated Temp</title><link>https://devzone.nordicsemi.com/thread/180101?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 18:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d5f87fe-66a9-4cf5-b7fe-5beaec688f9d</guid><dc:creator>Jan Tore Guggedal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In addition to CONFIG_TEMP_USE_EXTERNAL, you will also need to provide the device name for your temperature sensor with the config CONFIG_TEMP_DEV_NAME=&amp;quot;your-dev-name&amp;quot;.&lt;br /&gt;&lt;br /&gt;You will also need to tell the build system where your device is attached, and how it&amp;#39;s configured. An example for this can be found in this thread:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42146/migrating-a-design-from-raspberry-pi-zero-to-nrf9160-dk---need-i2c-and-spi-interfaces/176867#176867"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/42146/migrating-a-design-from-raspberry-pi-zero-to-nrf9160-dk---need-i2c-and-spi-interfaces/176867#176867&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note that the asset tracker assumes that the temperature device has a driver in Zephyr, and that it can also provide humidity and air pressure data. If your sensor can&amp;#39;t do that, you can remove the those sensors from the &amp;quot;available sensors&amp;quot; list:&lt;br /&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/applications/asset_tracker/src/main.c#L140"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/applications/asset_tracker/src/main.c#L140&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And from the list of environment sensors:&lt;br /&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/applications/asset_tracker/src/main.c#L167"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/applications/asset_tracker/src/main.c#L167&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hopefully this gets you started.&lt;br /&gt;Best regards,&lt;br /&gt;Jan Tore&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>