<?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 connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22709/how-to-connect-temperature-sensor-to-nrf52832-via-i2c</link><description>Hello, 
 Here is a newbie question: 
 I have NRF52832 (sparkfun breakout board) and ADT7410 temperature sensor and, I want to create a data logger. But, i could not understand how to use i2c interface. I think we will assign the pins manually, but I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jul 2017 11:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22709/how-to-connect-temperature-sensor-to-nrf52832-via-i2c" /><item><title>RE: How to connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/thread/89286?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 11:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ab267a0-8a7f-4d86-80a7-143c744e1a25</guid><dc:creator>hedoluna</dc:creator><description>&lt;p&gt;you&amp;#39;re perfectly on time :) thanks, it&amp;#39;s very useful to me!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/thread/89285?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 11:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcf7ba6e-6c1a-426a-a594-0c3a64893a7a</guid><dc:creator>asabuncuoglu13</dc:creator><description>&lt;p&gt;Hi hedoluna, when you simply initiate uart with uart_init function (as the peripheral example), you can call uart_put or uart_get to communicate. What wasn&amp;#39;t working for me was pins. So for sparkfun breakout board I changed the rx pin to 26, tx pin to 27. Sorry for the late answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/thread/89284?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 07:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f6ba176-2efe-4fc5-a7a5-0287805c975c</guid><dc:creator>hedoluna</dc:creator><description>&lt;p&gt;Hi, asabuncuoglu13, would you please add HOW you modified the UART part? :) Thanks in advance :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/thread/89283?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 12:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a09ab49f-10d8-4117-8544-d7732f4bd881</guid><dc:creator>asabuncuoglu13</dc:creator><description>&lt;p&gt;Okay, I configured pins manually after this answer, but the problem for me was uart, example did not work for sparkfun breakout board so I modified the uart part of ble_app_uart example in the peripheral. I wanted to share my experience.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect temperature sensor to NRF52832 via i2c</title><link>https://devzone.nordicsemi.com/thread/89282?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 09:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8666989-b8c5-411d-bba8-aeb2683ef10c</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello asabuncuoglu13&lt;/p&gt;
&lt;p&gt;You can find examples of how to use the I2C by looking at the TWI examples that comes with the SDK. You can find these in the [SDK Folder]\examples\peripheral folder. Description of the SDK13 examples can be found at the infocenter &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/examples_hw_peripheral_devices.html?cp=4_0_0_4_4"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The choice of pins is made when the TWI is initialized, where a config variable of type nrf_drv_twi_config_t is created. Here you have the .scl and .sda variables which will contain your pin numbers.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>