<?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>1 wire code problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/545/1-wire-code-problem</link><description>Hello,
Having a problem with the 1 wire sensor DS1820, I&amp;#39;ve created my own 1 wire protocol functions. They compiled without any errors. but when I run my program, it only shows the temperature value 4095 constantly. Kindly take a look into my code and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Sep 2013 15:21:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/545/1-wire-code-problem" /><item><title>RE: 1 wire code problem</title><link>https://devzone.nordicsemi.com/thread/2800?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2013 15:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53738532-9e5c-479c-81eb-932330de0ef1</guid><dc:creator>umair</dc:creator><description>&lt;p&gt;thank you for letting me know sir :), can you also tell me where can I get 1 wire protocol timing diagram for accessing any device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 1 wire code problem</title><link>https://devzone.nordicsemi.com/thread/2799?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2013 13:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b6f74a-c01f-4b8f-bcbe-fe6003142509</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any experience with this sensor or protocol, but have you actually verified that your high and low periods are correct? It seems a little odd that your comments says &amp;quot;// leave it low for 480us&amp;quot;, and the code snippet is nrf_delay_us(29), which will normally pause for ~29 µs, not 380.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d therefore recommend you to get hold of a logic analyzer and see what actually happens on your lines, to make sure that this is correct, and as you expect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>