<?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>Asset Tracker Code Editing Guide/Sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79540/asset-tracker-code-editing-guide-sample</link><description>Hi Nordic 
 We are developing our IOT product and we are starting our development of firmware on nRF9160 DK so that we can port that code to our custom PCB that will contain nRF9160. 
 As i have read the documentation and setuped whole nRF Hardware and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Sep 2021 12:35:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79540/asset-tracker-code-editing-guide-sample" /><item><title>RE: Asset Tracker Code Editing Guide/Sample</title><link>https://devzone.nordicsemi.com/thread/329230?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 12:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0887b1d9-551b-4dd3-9163-558a8a992e57</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/index.html"&gt;looked at our nRF Connect SDK documentation?&lt;/a&gt;&amp;nbsp;Have a look at the &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/ug_nrf91.html#working-with-nrf91-series"&gt;Working with nRF91-series&lt;/a&gt;&amp;quot;.&amp;nbsp; Please note that the standard Segger Embedded Studio does not work with NCS, you will need to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/gs_installing.html#install-the-ses-nordic-edition"&gt;use SES Nordic Edition&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have also launched a &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-for-visual-studio-code-preview"&gt;preview of nRF Connect for VS Code&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;reading the&amp;nbsp;nRF Connect SDK Tutorial series&lt;/a&gt;, currently written for NCS 1.5.0, but should provide good information on how to start.&lt;/p&gt;
&lt;p&gt;As described in &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/introduction.html#about-the-ncs"&gt;About the nRF Connect SDK&lt;/a&gt;&amp;quot;, NCS is&lt;span&gt;&amp;nbsp;a set of open source projects maintained by Nordic Semiconductor, consisting of several repositories. I would especially&amp;nbsp;recommend reading the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf"&gt;sdk-nrf&lt;/a&gt;&amp;nbsp;documentation, and the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr"&gt;sdk-zephyr&lt;/a&gt;&amp;nbsp;&lt;/span&gt;documentation. The menu in the bottom left corner provides links to the different repository documentations.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1631535775912v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Both repositories include several samples, where the nrf repo focuses on device specific samples and applications, and the zephyr repo provides more community driven samples which includes sensors, peripherals, etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. Communication with another MCU via UART.[/quote]
&lt;p&gt;&amp;nbsp;In the nrf repo have look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/samples/peripheral/lpuart/README.html"&gt;Low Power UART sample&lt;/a&gt;&lt;/p&gt;
[quote user=""]2. Control GPIO&amp;#39;s for Fan and LEDs as per custom application.[/quote]
&lt;p&gt;&amp;nbsp;The zephyr repo has its own group of &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/samples/basic/basic.html#basic-samples"&gt;basic samples to control LED, servos, etc.&lt;/a&gt;&lt;/p&gt;
[quote user=""]3. Offline data storage in SD Card.[/quote]
&lt;p&gt;&amp;nbsp;Have a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/samples/subsys/fs/fat_fs/README.html#fat-filesystem-sample-application"&gt;FATFS samples from the Zephyr repo&lt;/a&gt;, used to&amp;nbsp;&lt;span&gt;mount an SDHC card connected over a SPI bus or to an on-chip SDHC controller.&lt;/span&gt;&lt;/p&gt;
[quote user=""]4. Send data to AWS IOT cloud rather than nRF Cloud[/quote]
&lt;p&gt;&amp;nbsp;There are two AWS samples in the nrf repo:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/samples/nrf9160/aws_fota/README.html"&gt;nRF9160: AWS FOTA&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/samples/nrf9160/aws_iot/README.html"&gt;nRF9160: AWS IoT&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
[quote user=""]5. Read some thermistors from ADC[/quote]
&lt;p&gt;&amp;nbsp;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/samples/drivers/adc/README.html#analog-to-digital-converter-adc"&gt;Analog-to-Digital sample&lt;/a&gt;&amp;nbsp;in the Zephyr repo, along with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/samples/boards/nrf/battery/README.html"&gt;Battery Voltage Measurement sample&lt;/a&gt;&amp;nbsp;are good starting points.&lt;/p&gt;
[quote user=""]6. Interface an accelerometer on SPI interface.[/quote]
&lt;p&gt;&amp;nbsp;What accelerometer are you using, I suggest&amp;nbsp;looking at the supported sensors in Zephyr, and the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/samples/sensor/adxl372/README.html#adxl372-three-axis-high-g-i2c-spi-accelerometer"&gt;ADXL372 I2C/SPI Accelerometer sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And of course, please search the forum for similar questions and answer from other users.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Good luck.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>