<?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>Interfacing GY-68 with nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37880/interfacing-gy-68-with-nrf52840</link><description>Hello,I am new to this field.I dont know how to interface GY-68 with nrf52840 and read the temperature,pressure and altitude readings.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Aug 2018 12:31:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37880/interfacing-gy-68-with-nrf52840" /><item><title>RE: Interfacing GY-68 with nrf52840</title><link>https://devzone.nordicsemi.com/thread/146767?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 12:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2149a5-ddc8-4c62-9add-a71bdfde1532</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;That could work, I have not tried this sensor so I can&amp;#39;t really answer that. If you are able to build but not flash, please try erasing the board using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_nrfjprogexe.html?cp=5_1_3"&gt;nrfjprog&lt;/a&gt; or &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/introducing-experimental-release-of-programmer-application"&gt;nRF Connect Programming app&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing GY-68 with nrf52840</title><link>https://devzone.nordicsemi.com/thread/146744?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 11:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9a701f-75f9-45f1-a8c7-b67f929378dc</guid><dc:creator>Menaka_12</dc:creator><description>&lt;p&gt;Hi,I have gone through datasheet of the sensors(LM75B and BMP180).In twi_sensor code,I have done the following changes:&lt;/p&gt;
&lt;p&gt;#define BMP180_ADDR (0x77U &amp;gt;&amp;gt; 1)&lt;/p&gt;
&lt;p&gt;#define BMP180_REG_OUT_XLSB&amp;nbsp; &amp;nbsp; &amp;nbsp;0xF8&lt;br /&gt;#define BMP180_REG_OUT_LSB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0xF7&lt;br /&gt;#define BMP180_REG_OUT_MSB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xF6&lt;br /&gt;#define BMP180_REG_CTRL_MEAS&amp;nbsp; &amp;nbsp;0xF4&lt;br /&gt;#define BMP180_REG_SOFT_RESET&amp;nbsp; 0xE0&lt;br /&gt;#define BMP180_REG_ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0xD0&lt;br /&gt;#define BMP180_REG_CALIB_START 0xAA&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/* Mode for BMP180. */&lt;br /&gt;#define STD_MODE 1U.&lt;/p&gt;
&lt;p&gt;From the above defined,I used &lt;span&gt;&amp;nbsp;BMP180_REG_CTRL_MEAS i&lt;/span&gt;n the place of LM75B_REG_TEMP and&amp;nbsp;&lt;span&gt;BMP180_REG_OUT_XLSB in place of&amp;nbsp;LM75B_REG_CONF.I have used standard mode with value 1U. Is this correct??? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After modification,I can able to build the application but while loading,shows &amp;quot;ERROR FLASH DOWNLOAD FAILED&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can anyone help me out&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing GY-68 with nrf52840</title><link>https://devzone.nordicsemi.com/thread/146037?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 07:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0aad453-db77-4336-8ef4-b8bea9c9be3f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;GY-68 seems to have a I2C interface. The peripheral called &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/twim.html?cp=2_0_0_5_30"&gt;TWI&lt;/a&gt; on the nRF52840 is compatible witth I2C devices. You can find &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.1.0/twi_sensor_example.html?cp=4_0_0_4_5_43"&gt;an example&lt;/a&gt; in our SDK that show how to use the TWI driver. You need to look in the datasheet of the sensor to figure out which registers you need to write/read to get data from the sensor.&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>