<?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>ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65224/ds18b20-temperature-updates-with-beacon</link><description>Using oneWire library, I was able to get the temperature from the ds18b20. But it didn&amp;#39;t work if I put the same code in the Beacon software. 
 I understand that the softdevice operation maybe the reason (since it affects the timing of the onewire code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Sep 2020 19:31:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65224/ds18b20-temperature-updates-with-beacon" /><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/267920?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 19:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3871ce04-5b89-4cda-8077-df3582d28df7</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;Thank you very much - it works perfectly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/267683?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 15:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207d2bb4-3c92-47d0-9a69-6b27c8eb6d55</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="27243" url="~/f/nordic-q-a/65224/ds18b20-temperature-updates-with-beacon/266822"]If you can make one with SDK17, it would be great[/quote]
&lt;p&gt;Tested this with SDK 17.0, worked fine here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_beacon_5F00_ds18b20.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_beacon_5F00_ds18b20.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that DS_PIN is set to pin 26 in&amp;nbsp;ds18b20.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266822?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 18:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad639e58-2e12-4701-9066-fdb3b7326cdc</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;I tried SDK15-16-17. None worked&lt;/p&gt;
&lt;p&gt;I am using Segger&lt;/p&gt;
&lt;p&gt;If you can make one with SDK17, it would be great&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266821?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 18:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f39f8c2a-45c9-4a6d-8464-3f6ba1f920fe</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Avi"]Yes, I used that before and I saw that it worked. Then moved to check inside beacon...[/quote]
&lt;p&gt;&amp;nbsp;Sounds strange. What SDK version are you using ? What IDE are you using ? Segger ? I can add the onewire code to the beacon example if you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266454?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 11:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbed994-fdda-4f93-ac72-c11b9e1c745c</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;Yes, I used that before and I saw that it worked. Then moved to check inside beacon...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266450?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 11:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adae8ef9-48d3-4bac-aed2-3738b75f6730</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I did some testing with&amp;nbsp;ds18b20&amp;nbsp;2 years ago, you can find the code I used here:&amp;nbsp;&lt;a href="https://github.com/sigurdnev/Nordic-DS18B20"&gt;https://github.com/sigurdnev/Nordic-DS18B20&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266440?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 10:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856f4aa3-2da4-49b4-b60a-cabc64f5b3c1</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;No, I cannot make it work, no matter what I disable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266436?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 10:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3579f3b-22b9-4031-80ce-7ad52b6517b7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;And if you don&amp;#39;t enable the SoftDevice, you get the real value ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266430?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 10:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9b85d05-853d-4318-91f7-78d2193bf0c9</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;It still doesn&amp;#39;t work. I even tried to remove the initial&amp;nbsp;advertising_start() command to see if I get the status - but it is showing 0.000 instead of the real value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ds18b20 temperature updates with beacon</title><link>https://devzone.nordicsemi.com/thread/266403?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 08:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a393d119-8939-48fe-a90a-160ae70d6ec9</guid><dc:creator>Sigurd</dc:creator><description>[quote user=""]Should I stop the softdevice before the temperature readout? and start it again right after?[/quote]
&lt;p&gt;If this is just a simple beacon, then you can try to disable the advertising, do the ds18b20 measurement, and then enable the advertising again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>