<?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>nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83141/nrf52840-dk-and-bme280-with-vcc-from-pin</link><description>Hello I use nrf52840 and BME280. I plugged it GND GND SDA 45 (P1.13) SCL 47 (P1.15) VCC 32 (P1.00) I use timer to refresh data and on the first line of the code I init gpio as output I set HIGH state (my voltage meter show me 3V on this pins) and my BME280</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Mar 2022 12:30:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83141/nrf52840-dk-and-bme280-with-vcc-from-pin" /><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/360535?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc4cc18-b020-4ab1-bea4-388ef9181940</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And what were the results between the two implementations?&lt;/p&gt;
&lt;p&gt;You mentioned that you got it working with a delay after powering up. Have you checked the datasheet for the sensor, and asked the manufacturer how you should interface the sensor (wrt. to timing) ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/360528?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f0b45d6-83d9-4c1d-baa4-d26bc739c8bb</guid><dc:creator>404Software</dc:creator><description>&lt;p&gt;Yes :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345347?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 12:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1ab4d00-1359-40d6-9e00-9f2ec19f9b6b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Have you scoped the VDD + SCL + SDA lines to compare the two examples?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345337?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 11:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dccd0875-95f1-4eb7-8cac-3f902f120e7e</guid><dc:creator>404Software</dc:creator><description>&lt;p&gt;Yes exactly the same code stopped working on the other sample&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345332?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 10:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23064232-a6eb-42a1-8082-42de22857196</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The same implementation stopped working in the other sample?&lt;/p&gt;
&lt;p&gt;Have you scoped the VDD line (and SDA/SCL) to see how it behaves timing wise compared to the working one?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345241?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 12:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad7cb380-bf55-4f7d-9c1c-c6b06c9b9058</guid><dc:creator>404Software</dc:creator><description>&lt;p&gt;ok so I use wether example from mfi (nrfConnect ADK) and I got error the same values are still return. When I use example from zephyr with sensor bme280 it works correctly it looks like adk has an mistake&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345232?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 12:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a926411-73fc-4318-838a-8774f14ac303</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="404Software"]Ok I set 200 ms before measure and it works perfect but on example bme I need to implement it on weather station from MFI there I have problem still measure are the same&amp;nbsp;[/quote]
&lt;p&gt;I am not sure I fully understand the problem. Can&amp;#39;t you do the same in your other firmware?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345230?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 11:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db133b1-be1f-480c-82f5-43445651a910</guid><dc:creator>404Software</dc:creator><description>&lt;p&gt;Ok I set 200 ms before measure and it works perfect but on example bme I need to implement it on weather station from MFI there I have problem still measure are the same&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK and BME280 with vcc from pin</title><link>https://devzone.nordicsemi.com/thread/345224?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 11:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41bc1df6-c3f8-4188-a43e-db5fd5dc6396</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are to power anything directly from a GPIO, please ensure that the external device isn&amp;#39;t exceeding the current consumption that a GPIO can deliver. If you see high ripple, please ensure that the GPIO configuration is in &amp;quot;high drive&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]When I connect vcc with vdd on dk board I got correct values. I remove voltage regulator from bme280. Where can be a problem ?[/quote]
&lt;p&gt;This points towards the voltage on the external sensor needs time to settle. Have you ensured that there is a delay between the voltage rising to a valid level and first sampling? Those parameters can be found in the BME280 datasheet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>