<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>1-Wire on Punched tape</title>
    <link>https://cnnblike.com/tags/1-wire/</link>
    <description>Recent content in 1-Wire on Punched tape</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <managingEditor>cnnblike@gmail.com (Ke Li)</managingEditor>
    <webMaster>cnnblike@gmail.com (Ke Li)</webMaster>
    <copyright>&amp;copy; Copright 2021 Ke Li</copyright>
    <lastBuildDate>Sat, 28 May 2016 09:24:31 +0000</lastBuildDate>
    <atom:link href="https://cnnblike.com/tags/1-wire/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>STM32 - 1-Wire protocol analysis &amp; Implementing of OneWire Protocol using UART peripheral and DMA</title>
      <link>https://cnnblike.com/post/stm32-OneWire/</link>
      <pubDate>Sat, 28 May 2016 09:24:31 +0000</pubDate><author>cnnblike@gmail.com (Ke Li)</author>
      <guid>https://cnnblike.com/post/stm32-OneWire/</guid>
      <description>&lt;h2 id=&#34;0-tldr&#34;&gt;0 TL;DR&lt;/h2&gt;&#xA;&lt;p&gt;If you just want to use 1-wire based device and just don&amp;rsquo;t want to know any technical detail, jump to the last part.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-reason-to-use-ds18b20&#34;&gt;1 Reason to use DS18B20&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;m trying to add some temperature sensor to my STM32-based computer water-cooling controller.&lt;/p&gt;&#xA;&lt;p&gt;You know, a common solution to this is to use some thermistor and try to use some ADC(Analog-Digital-Converter) to capture the voltage on that. The temperature captured by thermistor won&amp;rsquo;t be too accurate, just around 1 degree or so. If you need a temperature with accuracy of 0.0625 degree, the DS18B20 would be a good choice.&lt;/p&gt;&#xA;&lt;p&gt;But DS18B20 has an really time sensitive 1-wire protocol. A normal solution to this problem is to use GPIO and &lt;code&gt;NOP()&lt;/code&gt; instruction to simulate this, but I tend to use something different.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
