<?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 do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29060/how-do-i-use-nrf52832-p0-05-ain3-to-measure-temperature-by-ds18b20</link><description>It&amp;#39;s my mistakes.
1.I want to measure temperature from DS18B20,but I don&amp;#39;t confirm the capable of the pin - P0.05.Because it&amp;#39;s Analog ，but DS18B20 is Digital.
2.I set the P0.05 like this link text .But I read value of 0 all the time.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Apr 2020 17:01:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29060/how-do-i-use-nrf52832-p0-05-ain3-to-measure-temperature-by-ds18b20" /><item><title>RE: How do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/thread/245351?ContentTypeID=1</link><pubDate>Sat, 18 Apr 2020 17:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8503f524-0d57-4321-961b-4348289735be</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Thanks for sharing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/thread/245347?ContentTypeID=1</link><pubDate>Sat, 18 Apr 2020 15:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5a23d0-8d24-49e9-b4c9-3e078550f00f</guid><dc:creator>Dmitry Sysoletin</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;If it is still relevant, you can find example for reading DS18B20 from nrf52840 here:&amp;nbsp;&lt;a href="https://github.com/DSysoletin/nrf52_ds18b20_example"&gt;https://github.com/DSysoletin/nrf52_ds18b20_example&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/thread/115187?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 18:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a95e8b15-044a-4bf8-83bf-0c38d2691ba2</guid><dc:creator>Veronica</dc:creator><description>&lt;p&gt;Hi Jack
were you able to have temperature measuring using the DS18B20? do you had to add extra hardware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/thread/115186?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 06:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87906c98-cd89-4771-90df-6ad3c8c4e877</guid><dc:creator>Jack-h</dc:creator><description>&lt;p&gt;Think you ,I have found the reason of my question. Because I configured  gpio_pin_drive by  NRF_GPIO_PIN_S0D1, when I revise it to NRF_GPIO_PIN_S0S1,It &amp;#39;s formal Now!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I use nrf52832 P0.05/AIN3 to measure temperature by DS18B20?</title><link>https://devzone.nordicsemi.com/thread/115185?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 08:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d6c364-127f-4604-b1f4-9998093e98d4</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;DS18B20 can be read by 1-wire protocol. What I think you are doing is... just reading state of the pin? I suggest you to familiarize yourself how digital interfaces work, because it is &lt;strong&gt;not&lt;/strong&gt; something that you connect and it just works.&lt;/p&gt;
&lt;p&gt;Also, nrf5x does not have hardware 1-wire, it has to be software-bitbanged.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>