<?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>Assistance with programming NRF52840 dongle + accelerometer + infrared + arduino</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48382/assistance-with-programming-nrf52840-dongle-accelerometer-infrared-arduino</link><description>Hi 
 Im currently having some problems with programming a solution for a small system that im making. 
 The idea is a mailbox with a dongle and accelerometer that senses movement, if any turn on infrared to see if anything change from &amp;quot;empty state&amp;quot;. If</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2019 14:00:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48382/assistance-with-programming-nrf52840-dongle-accelerometer-infrared-arduino" /><item><title>RE: Assistance with programming NRF52840 dongle + accelerometer + infrared + arduino</title><link>https://devzone.nordicsemi.com/thread/192108?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 14:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4938a99-5869-4d54-af08-b617645fa36c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend that you start out with the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/twi_sensor_example.html?cp=5_1_4_6_43"&gt;TWI Sensor example&lt;/a&gt; for interfacing the I2C devices. You will have to read the datasheets of the sensors, to figure out which registers to read/write. When you have managed to implement a correct interface to the sensors, you can integrate your work with a BLE example, for instance, &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html?cp=5_1_4_2_2_24"&gt;ble_app_uart&lt;/a&gt; or &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_blinky.html?cp=5_1_4_2_2_3"&gt;ble_app_blinky&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that the nRF52840 Dongle is not recommended for development projects, as it does not have any debugging interface. You should consider getting an nRF52840 DK where you can develop the application. When you have completed development, it is simpler to migrate the code over to the Dongle.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>