<?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 with nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80909/ds18b20-with-nrf9160</link><description>Dear Community; 
 
 I am trying to port this code that was made for an nrf52 to an nRF9160. I have a 4.99K pull-up resistor between the data line and VCC. 
 
 This is my ds18b20.c library file after modifications made for nRF9160: 
 
 
 
 When I run the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Nov 2021 13:21:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80909/ds18b20-with-nrf9160" /><item><title>RE: DS18B20 with nRF9160</title><link>https://devzone.nordicsemi.com/thread/337491?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 13:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a61180a-cbaf-4a17-a78c-1b9964fc0520</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Ander, sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Have you tried probing the GPIO line, for example with a logic analyzer or oscilloscope?&lt;/p&gt;
&lt;p&gt;Best 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: DS18B20 with nRF9160</title><link>https://devzone.nordicsemi.com/thread/336335?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 07:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b84196-0ff7-41ad-afea-63460678753b</guid><dc:creator>isurki</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any updates on this topic?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DS18B20 with nRF9160</title><link>https://devzone.nordicsemi.com/thread/335441?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5cd42bb-a6e1-412e-bfa6-68890d4432d4</guid><dc:creator>isurki</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using an Actinius Icarus, based on nRF9160. Gpio voltage is 3.3V there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have run&amp;nbsp;discover_fake_DS18B20.ino Arduino sketch and the results suggest that my DS18D20 is genuine:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Captura-de-pantalla-2021_2D00_10_2D00_22-a-las-11.37.47.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have also tested a regular Arduino Uno sketch to read temperature values, and I get accurate values:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Captura-de-pantalla-2021_2D00_10_2D00_22-a-las-11.47.51.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your help, best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ander.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DS18B20 with nRF9160</title><link>https://devzone.nordicsemi.com/thread/335434?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6a8fac-827a-478e-ac96-91ac4c26c214</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Ander,&lt;/p&gt;
&lt;p&gt;Is the IO voltage on nRF9160 DK set to 3.0V, or 1.8V? You may also set the board to for instance 3.3V by applying 3.3V to VIO_REF &lt;em&gt;after&lt;/em&gt; you apply VDD to the board.&lt;/p&gt;
&lt;p&gt;When looking for relevant material for the sensor, I stumbled upon this interesting article, warning against counterfeit DS18B20. Verifying that you have an authentic part might be a good place to start: &lt;a href="https://www.radiolocman.com/review/article.html?di=621315"&gt;https://www.radiolocman.com/review/article.html?di=621315&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best 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: DS18B20 with nRF9160</title><link>https://devzone.nordicsemi.com/thread/335429?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ba33cd-a59b-4881-8ccb-2f7dea046ccd</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Ander,&lt;/p&gt;
&lt;p&gt;I will be looking into this and get back to you over the weekend.&lt;/p&gt;
&lt;p&gt;Best 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>