<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Arduino on Ulis Notizen</title>
    <link>https://wolf-u.li/tag/arduino/</link>
    <description>Recent content in Arduino on Ulis Notizen</description>
    <generator>Hugo</generator>
    <language>de</language>
    <copyright>Copyright 2006-CURRENTYEAR Uli Wolf - All rights reserved</copyright>
    <lastBuildDate>Tue, 04 Oct 2016 19:26:56 +0400</lastBuildDate>
    <atom:link href="https://wolf-u.li/tag/arduino/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Verwendung eines iButton an einem Arduino via OneWire</title>
      
      
      <link>https://wolf-u.li/verwendung-eines-ibutton-an-einem-arduino-via-onewire/</link>
      <pubDate>Tue, 04 Oct 2016 19:26:56 +0400</pubDate>
      <guid>https://wolf-u.li/verwendung-eines-ibutton-an-einem-arduino-via-onewire/</guid>
      <description>&lt;p&gt;Seit einiger Zeit habe ich mich mal ein bisschen mit 1-Wire auseinander gesetzt und habe dabei auch mal mit iButtons auf der Basis eines DS1990A (Siehe &lt;a href=&#34;https://wolf-u.li/5708/1-wire-bausteine-uebersicht/&#34;
    title=&#34;Übersicht&#34; 
   &gt;
  Übersicht&lt;/a&gt;) herumgespielt. Doch was sind iButtons eigentlich?&lt;/p&gt;
&lt;ins class=&#34;adsbygoogle&#34; style=&#34;display:block; text-align:center;&#34; data-ad-layout=&#34;in-article&#34; data-ad-format=&#34;fluid&#34; data-ad-client=&#34;ca-pub-2322978122735420&#34; data-ad-slot=&#34;3161252284&#34;&gt;&lt;/ins&gt;
&lt;blockquote&gt;
&lt;p&gt;iButton ist ein Markenname von Dallas Semiconductor bzw. seit 2001 Maxim Integrated. Ein iButton ist ein IC mit einer Eindrahttechnik-Schnittstelle. Die Gehäuse (Microcan F5 (17,35 x 5,89 mm) und das etwas seltenere flache Microcan F3 (17,35 x 3,1 mm)) bestehen aus 0,254 mm dickem Edelstahlblech und ähneln einer Knopfzelle mit 16 mm Durchmesser.
[&amp;hellip;]
Allen gemeinsam ist die weltweit einmalige 64-bit-Seriennummer (bestehend aus 8-Bit Family-Code, 48-Bit Nummer (Unique-Device-ID) und 8-Bit Zyklische-Redundanzprüfungs-Prüfsumme) und die OneWire-Schnittstelle.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Seit einiger Zeit habe ich mich mal ein bisschen mit 1-Wire auseinander gesetzt und habe dabei auch mal mit iButtons auf der Basis eines DS1990A (Siehe <a href="/5708/1-wire-bausteine-uebersicht/"
    title="Übersicht" 
   >
  Übersicht</a>) herumgespielt. Doch was sind iButtons eigentlich?</p>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2322978122735420" data-ad-slot="3161252284"></ins>
<blockquote>
<p>iButton ist ein Markenname von Dallas Semiconductor bzw. seit 2001 Maxim Integrated. Ein iButton ist ein IC mit einer Eindrahttechnik-Schnittstelle. Die Gehäuse (Microcan F5 (17,35 x 5,89 mm) und das etwas seltenere flache Microcan F3 (17,35 x 3,1 mm)) bestehen aus 0,254 mm dickem Edelstahlblech und ähneln einer Knopfzelle mit 16 mm Durchmesser.
[&hellip;]
Allen gemeinsam ist die weltweit einmalige 64-bit-Seriennummer (bestehend aus 8-Bit Family-Code, 48-Bit Nummer (Unique-Device-ID) und 8-Bit Zyklische-Redundanzprüfungs-Prüfsumme) und die OneWire-Schnittstelle.</p>
</blockquote>
<p><link rel=dns-prefetch href=//de.wikipedia.org /> <a href="https://de.wikipedia.org/wiki/IButton"
    title="Quelle" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Quelle&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></p>
<p>Die Eigenschaft aus dem letzten Satz kann man sich zunutze machen um eine Zuordnung von iButton zu Person oder Gegenstand zu schaffen. Wie sieht das nun aus?</p>
<p><img src="/upload/2016/08/20160808-114642-001-Exp.webp" alt="20160808-114642-001-Exp" loading="lazy"></p>
<p>Dieses Knopfzellenartige Gerät hält man dann auf den Leser, welcher letztendlich nur ein Lesegerät für den eigentlichen iButton ist. Dahinter ist keine Intelligenz, es wird lediglich durchgeleitet, was aufgelegt wird. Der Rand ist dabei Ground und die Mitte die Datenleitung.</p>
<p><img src="/upload/2016/08/20160808-114714-002-Exp.webp" alt="20160808-114714-002-Exp" loading="lazy"></p>
<p>Das ganze mal als Schaltplan mit einem Arduino Mega 2560 und der Verbindung zum Pin 42.</p>
<p><img src="/upload/2016/08/5697-iButton-Arduino.webp" alt="5697-iButton-Arduino" loading="lazy"></p>
<p>Eigentlich easy, jetzt noch ein bisschen Code dazu (<link rel=dns-prefetch href=//github.com /> <a href="https://github.com/SirUli/OneWireTest4iButton"
    title="Hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> komplett als <a href="/5668/nutzung-von-platform-io-im-atom-editor-zur-entwicklung-von-arduino-code/"
    title="platformio Projekt" 
   >
  platformio Projekt</a>):</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span><span class="lnt">28
</span><span class="lnt">29
</span><span class="lnt">30
</span><span class="lnt">31
</span><span class="lnt">32
</span><span class="lnt">33
</span><span class="lnt">34
</span><span class="lnt">35
</span><span class="lnt">36
</span><span class="lnt">37
</span><span class="lnt">38
</span><span class="lnt">39
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-c" data-lang="c"><span class="line"><span class="cl"><span class="cp">#include</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="cpf">OneWire ibutton (42); // iButton connected on PIN 42.</span><span class="cp">
</span></span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="n">byte</span> <span class="n">buffer</span><span class="p">[</span><span class="mi">8</span><span class="p">];</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kt">void</span> <span class="nf">setup</span><span class="p">(){</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">begin</span><span class="p">(</span><span class="mi">115200</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;Hello&#34;</span><span class="p">);</span> <span class="c1">// print new line
</span></span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kt">void</span> <span class="nf">loop</span><span class="p">(){</span>
</span></span><span class="line"><span class="cl"> <span class="c1">// Search for an iButton and assign the value to the buffer if found.
</span></span></span><span class="line"><span class="cl"> <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="n">ibutton</span><span class="p">.</span><span class="nf">search</span> <span class="p">(</span><span class="n">buffer</span><span class="p">)){</span>
</span></span><span class="line"><span class="cl"> <span class="n">ibutton</span><span class="p">.</span><span class="nf">reset_search</span><span class="p">();</span>
</span></span><span class="line"><span class="cl"> <span class="nf">delay</span><span class="p">(</span><span class="mi">250</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="k">return</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
</span></span><span class="line"><span class="cl"> <span class="c1">// At this point an iButton is found
</span></span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;1-Wire Device Detected, ID is:&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> <span class="k">for</span> <span class="p">(</span><span class="kt">int</span> <span class="n">x</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">x</span><span class="o">&lt;</span><span class="mi">8</span><span class="p">;</span> <span class="n">x</span><span class="o">++</span><span class="p">){</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">print</span><span class="p">(</span><span class="n">buffer</span><span class="p">[</span><span class="n">x</span><span class="p">],</span><span class="n">HEX</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">print</span><span class="p">(</span><span class="s">&#34; &#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">print</span><span class="p">(</span><span class="s">&#34;</span><span class="se">\n</span><span class="s">&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> <span class="c1">// Check if this is a iButton
</span></span></span><span class="line"><span class="cl"> <span class="k">if</span> <span class="p">(</span> <span class="n">buffer</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">!=</span> <span class="mh">0x01</span><span class="p">)</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;Device is not a iButton&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;Device is a iButton&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> <span class="k">if</span> <span class="p">(</span> <span class="n">ibutton</span><span class="p">.</span><span class="nf">crc8</span><span class="p">(</span> <span class="n">buffer</span><span class="p">,</span> <span class="mi">7</span><span class="p">)</span> <span class="o">!=</span> <span class="n">buffer</span><span class="p">[</span><span class="mi">7</span><span class="p">])</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;CRC is not valid!&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
</span></span><span class="line"><span class="cl"> <span class="n">Serial</span><span class="p">.</span><span class="nf">println</span><span class="p">(</span><span class="s">&#34;Done.</span><span class="se">\n\n</span><span class="s">&#34;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Läuft.</p>
]]></content:encoded>
    </item>
    <item>
      <title>ESP8266 Witty Cloud Beispielcode</title>
      
      
      <link>https://wolf-u.li/esp8266-witty-cloud-beispielcode/</link>
      <pubDate>Sun, 12 Jun 2016 14:17:21 +1200</pubDate>
      <guid>https://wolf-u.li/esp8266-witty-cloud-beispielcode/</guid>
      <description>&lt;p&gt;Vor einiger Zeit hatte ich mich mal mit dem &amp;ldquo;Witty Cloud&amp;rdquo; Baustein basierend auf dem ESP8266 auseinander gesetzt und einen passenden Code für das Durchtesten der Funktionen geschrieben.&lt;/p&gt;
&lt;p&gt;Mal schnell ein paar Fotos:
&lt;img src=&#34;https://wolf-u.li/upload/2016/06/20160612-155834-001-Exp.webp&#34; alt=&#34;20160612-155834-001-Exp&#34; loading=&#34;lazy&#34;&gt;
&lt;img src=&#34;https://wolf-u.li/upload/2016/06/20160612-155856-002-Exp.webp&#34; alt=&#34;20160612-155856-002-Exp&#34; loading=&#34;lazy&#34;&gt;
&lt;img src=&#34;https://wolf-u.li/upload/2016/06/20160612-155908-003-Exp.webp&#34; alt=&#34;20160612-155908-003-Exp&#34; loading=&#34;lazy&#34;&gt;&lt;/p&gt;
&lt;p&gt;Das ganze Modul besteht also aus einem Programmieradapter (mit einem CH340G) und einem ESP8266 ESP12F auf zwei Platinen. Achtung und wichtig: Schließe nie einen normalen ESP8266 auf das Programmiermodul an, denn es werden 5V statt 3,3V auf den VCC Pin gegeben. Das WittyCloud Modul hat auf der Unterseite dazu noch einen AMS1117 um die Spannung herunterzuregeln.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Vor einiger Zeit hatte ich mich mal mit dem &ldquo;Witty Cloud&rdquo; Baustein basierend auf dem ESP8266 auseinander gesetzt und einen passenden Code für das Durchtesten der Funktionen geschrieben.</p>
<p>Mal schnell ein paar Fotos:
<img src="/upload/2016/06/20160612-155834-001-Exp.webp" alt="20160612-155834-001-Exp" loading="lazy">
<img src="/upload/2016/06/20160612-155856-002-Exp.webp" alt="20160612-155856-002-Exp" loading="lazy">
<img src="/upload/2016/06/20160612-155908-003-Exp.webp" alt="20160612-155908-003-Exp" loading="lazy"></p>
<p>Das ganze Modul besteht also aus einem Programmieradapter (mit einem CH340G) und einem ESP8266 ESP12F auf zwei Platinen. Achtung und wichtig: Schließe nie einen normalen ESP8266 auf das Programmiermodul an, denn es werden 5V statt 3,3V auf den VCC Pin gegeben. Das WittyCloud Modul hat auf der Unterseite dazu noch einen AMS1117 um die Spannung herunterzuregeln.</p>
<p><link rel=dns-prefetch href=//www.schatenseite.de /> <a href="http://www.schatenseite.de/2016/04/22/esp8266-witty-cloud-modul/"
    title="Hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> gibt es eine tolle Übersicht, welcher Pin wie beschalten ist. Zusammenfassend kann man bei diesem Modul nur GPIO5, GPIO14 und GPIO16 frei beschalten. Wenn man damit leben kann, dass bei einem HIGH auf GPIO2 die interne, blaue LED aufleuchtet, ist auch dieser noch nutzbar. GPIO0 ist gleichzeitig auch der Programmierknopf - sollte man eher vermeiden aber ist durchaus verwendbar. Ansonsten werden mit den Restlichen GPIO der Taster, die RGB-LED sowie der LDR abgefrühstückt.</p>
<p>Das gute Stück bezieht man am einfachsten via Aliexpress, z.b. <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/mIyvFaQvV"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>, <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/b6uRN7YB2"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> oder <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/q3vfMVNz7"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>.</p>
<p>Ich habe mich nun hingesetzt und den Arduino Code kurz runtergeschrieben um alle Funktionen durchzutesten. Das ganze findet sich <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/SirUli/ESP8266-WittyCloud-ESP12-ArduinoDemo"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> und ist für die Nutzung von <link rel=dns-prefetch href=//platformio.org /> <a href="http://platformio.org/"
    title="platform.io" 
     target="_blank" rel="nofollow noopener noreferrer" >
  platform.io&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> ausgelegt. Ich empfehle den <a href="/5668/nutzung-von-platform-io-im-atom-editor-zur-entwicklung-von-arduino-code/"
    title="Atom Editor mit der Integration von platform.io" 
   >
  Atom Editor mit der Integration von platform.io</a>. Die entsprechenden Abhängigkeiten werden automatisch von platform.io heruntergeladen und der Code dann auch auf Wunsch auf das Modul programmiert.</p>
<p>Den Code einfach von Github herunterladen und das Verzeichnis im Atom Editor öffnen. Nach der Änderung der SSID und des Passworts meldet sich das Modul im WLAN mit Hostname &ldquo;WittyCloud&rdquo; an. Surft man dann mit dem Browser auf <link rel=dns-prefetch href=//WittyCloud:80 /> <a href="http://WittyCloud:80"
    title="http://WittyCloud:80" 
     target="_blank" rel="nofollow noopener noreferrer" >
  http://WittyCloud:80&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> so kann man die einzelnen Bausteine des Moduls durchtesten ;)</p>
]]></content:encoded>
    </item>
    <item>
      <title>Nutzung von platform.io im Atom Editor zur Entwicklung von Arduino Code</title>
      
      
      <link>https://wolf-u.li/nutzung-von-platform-io-im-atom-editor-zur-entwicklung-von-arduino-code/</link>
      <pubDate>Sun, 12 Jun 2016 14:44:30 +1200</pubDate>
      <guid>https://wolf-u.li/nutzung-von-platform-io-im-atom-editor-zur-entwicklung-von-arduino-code/</guid>
      <description>&lt;p&gt;Wenn man viel Arduino Code entwickelt gehen einem schnell die Abhängigkeiten auf den Senkel. Gleichzeitig fragt man sich ob es nicht ein besser integriertes Tool für diese Art der Entwicklung gibt. Ich kann vermelden: Ja gibts ;)&lt;/p&gt;
&lt;p&gt;Zunächst installiert man sich die Umgebung genau wie &lt;link rel=dns-prefetch href=//docs.platformio.org /&gt; &lt;a href=&#34;http://docs.platformio.org/en/latest/ide/atom.html&#34;
    title=&#34;hier&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  hier&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; beschrieben. Damit hat man dann schon die meisten Voraussetzungen geschaffen. Ein neues Projekt geht relativ einfach von der Hand:&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Wenn man viel Arduino Code entwickelt gehen einem schnell die Abhängigkeiten auf den Senkel. Gleichzeitig fragt man sich ob es nicht ein besser integriertes Tool für diese Art der Entwicklung gibt. Ich kann vermelden: Ja gibts ;)</p>
<p>Zunächst installiert man sich die Umgebung genau wie <link rel=dns-prefetch href=//docs.platformio.org /> <a href="http://docs.platformio.org/en/latest/ide/atom.html"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> beschrieben. Damit hat man dann schon die meisten Voraussetzungen geschaffen. Ein neues Projekt geht relativ einfach von der Hand:</p>
<ul>
<li>Zunächst klingt man im Menü auf &ldquo;PlatformIO&rdquo; und wählt &ldquo;Initialize new PlatformIO Project or modify existing&rdquo;</li>
<li>Nach der Auswahl der/den gewünschten Zielplatform(en) und des Ordners ergibt sich die Struktur des Projektes
<img src="/upload/2016/06/5668-platformio-folders.webp" alt="5668-platformio-folders" loading="lazy"></li>
<li>Im Ordner src legt man nun die Quellcodes an, allerdings mit der Endung .cpp damit alles (autocomplete und syntax-check) klappt ;)</li>
<li>Nun kann man mit einem Klick auf den Upload-Button die Kompilierung und den Upload auf den Arduino/ESP8266 anwerfen:
<img src="/upload/2016/06/5668-platformio-upload.webp" alt="5668-platformio-upload" loading="lazy"></li>
<li>Benötigt man weitere Bibliotheken, sucht man sich zunächst hier die richtige raus (Das ist eine Nummer) und fügt diese dann im projekt in der platformio.ini im entsprechenden environment ein, was dann etwa so aussieht:
<img src="/upload/2016/06/5668-platformio.ini_.webp" alt="5668-platformio.ini" loading="lazy">
Tipp: Direkt den Library Namen mit Nummer als Kommentar (wie im Screenshot) einfügen - dann weiss man hinterher noch was welche Bibliothek ist.</li>
</ul>
<p>Übrigens kann man auch OTA (Over The Air) Updates mit platform.io durchführen - dazu muss man dann nur die <link rel=dns-prefetch href=//docs.platformio.org /> <a href="http://docs.platformio.org/en/latest/projectconf.html?highlight=upload_port#upload-port#upload-port"
    title="upload_port" 
     target="_blank" rel="nofollow noopener noreferrer" >
  upload_port&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> Directive in der Konfigurationsdatei setzen und den entsprechenden Code (<link rel=dns-prefetch href=//github.com /> <a href="https://github.com/esp8266/Arduino/blob/master/libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino"
    title="Beispiel" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Beispiel&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>) im eigenen Quellcode mit einbinden.</p>
<p>Eine wichtige Funktion noch: Der Serielle Monitor wird auch direkt mitgesteuert. D.h. wenn man diesen offen hat und einen Upload macht, dann wird zunächst der Monitor gestopped, dann der Upload durchgeführt und anschließend der Monitor wieder gestartet. Sehr coole Sache, was doch viele Klicks spart ;)</p>
]]></content:encoded>
    </item>
    <item>
      <title>&#34;rst cause 4&#34; beim ESP8266</title>
      
      
      <link>https://wolf-u.li/rst-cause-4-beim-esp8266/</link>
      <pubDate>Sun, 12 Jun 2016 15:06:49 +1200</pubDate>
      <guid>https://wolf-u.li/rst-cause-4-beim-esp8266/</guid>
      <description>&lt;p&gt;Heute habe ich ein paar Mal den &amp;ldquo;rst cause 4&amp;rdquo; bei meinem ESP8266 gehabt. Ich wusste nicht genau woher das kommt aber nach eine kurzen Suche wurde es etwas klarer ;)&lt;/p&gt;
&lt;p&gt;Zunächst einmal gibt es verschiedene Gründe warum ein Reset durchgeführt wird:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0: Unknown&lt;/li&gt;
&lt;li&gt;1: normal boot&lt;/li&gt;
&lt;li&gt;2: reset pin&lt;/li&gt;
&lt;li&gt;3: software reset&lt;/li&gt;
&lt;li&gt;4: watchdog reset&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(&lt;link rel=dns-prefetch href=//www.esp8266.com /&gt; &lt;a href=&#34;http://www.esp8266.com/viewtopic.php?p=2096#p2112#p2112&#34;
    title=&#34;Quelle&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  Quelle&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; und &lt;link rel=dns-prefetch href=//github.com /&gt; &lt;a href=&#34;https://github.com/esp8266/Arduino/blob/master/doc/boards.md#rst-cause#rst-cause&#34;
    title=&#34;hier&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  hier&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt;)&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Heute habe ich ein paar Mal den &ldquo;rst cause 4&rdquo; bei meinem ESP8266 gehabt. Ich wusste nicht genau woher das kommt aber nach eine kurzen Suche wurde es etwas klarer ;)</p>
<p>Zunächst einmal gibt es verschiedene Gründe warum ein Reset durchgeführt wird:</p>
<ul>
<li>0: Unknown</li>
<li>1: normal boot</li>
<li>2: reset pin</li>
<li>3: software reset</li>
<li>4: watchdog reset</li>
</ul>
<p>(<link rel=dns-prefetch href=//www.esp8266.com /> <a href="http://www.esp8266.com/viewtopic.php?p=2096#p2112#p2112"
    title="Quelle" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Quelle&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> und <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/esp8266/Arduino/blob/master/doc/boards.md#rst-cause#rst-cause"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>)</p>
<p>Das heisst, bei mir hat der Watchdog zugeschlagen. Dieser setzt den ESP8266 zurück sofern nicht regelmäßig an den Watchdog gemeldet wird, dass noch alles okay ist. In meinem Falle hatte das Auslesen eines Sensors (HX711) so lange gedauert, dass der Chip sich zurückgesetzt hat, da zwischenzeitlich kein &ldquo;delay&rdquo; oder &ldquo;yield&rdquo; aufgerufen wurde und der loop nicht einmal durchgelaufen ist. Lösung:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-c" data-lang="c"><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="n">ESP</span><span class="p">.</span><span class="nf">wdtDisable</span><span class="p">();</span>
</span></span><span class="line"><span class="cl"><span class="n">f</span> <span class="o">=</span> <span class="n">scale</span><span class="p">.</span><span class="nf">read_average</span><span class="p">(</span><span class="mi">20</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="n">ESP</span><span class="p">.</span><span class="nf">wdtEnable</span><span class="p">(</span><span class="mi">2000</span><span class="p">);</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Und schon lief es ;) Hinweis: Das Fragment <code>ESP.wdtDisable();</code> schaltet nur den Software Watchdog aus (siehe <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/esp8266/Arduino/issues/34#issuecomment-156716929#issuecomment-156716929"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>) da das Ausschalten des Hardware Watchdog keine gute Idee ist. <code>ESP.wdtEnable(2000);</code> schaltet ihn wieder ein, allerdings auf 2 Sekunden statt der normalen Sekunde.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Setzen des Hostname eines ESP8266</title>
      
      
      <link>https://wolf-u.li/setzen-des-hostname-eines-esp8266/</link>
      <pubDate>Tue, 31 May 2016 06:12:57 +3100</pubDate>
      <guid>https://wolf-u.li/setzen-des-hostname-eines-esp8266/</guid>
      <description>&lt;p&gt;Der ESP8266 meldet sich standardmäßig im WLAN mit dem Namen ESP_&amp;hellip; wobei die letzten Stellen aus der MAC berechnet werden. Um aber nun den Namen des Moduls manuell zu setzen, muss man sich einer Hilfsfunktion bemühen.&lt;/p&gt;
&lt;p&gt;So sieht das dann aus:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cpp&#34; data-lang=&#34;cpp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;ESP8266WiFi.h&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;extern&lt;/span&gt; &lt;span class=&#34;s&#34;&gt;&amp;#34;C&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;#34;user_interface.h&amp;#34;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// WIFI
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;WiFiClient&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;client&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;char&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wifiSSID&lt;/span&gt;    &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s&#34;&gt;&amp;#34;&amp;lt;SSID&amp;gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;char&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wifiPassword&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s&#34;&gt;&amp;#34;&amp;lt;PASSWORD&amp;gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kt&#34;&gt;char&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wiFiHostname&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s&#34;&gt;&amp;#34;ESPonTheRocks&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#define wifiMaxTries 30
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#define wifiRepeatInterval 360
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wifiConnectCounter&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kt&#34;&gt;void&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;setup&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;   &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;WiFi&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;begin&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wifiSSID&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wifiPassword&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;wifi_station_set_auto_connect&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;true&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;wifi_station_set_hostname&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wiFiHostname&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;wifiConnectCounter&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;k&#34;&gt;while&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WiFi&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;status&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;!=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;WL_CONNECTED&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;n&#34;&gt;delay&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wifiRepeatInterval&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;n&#34;&gt;wifiConnectCounter&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;++&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wifiConnectCounter&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;wifiMaxTries&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;n&#34;&gt;delay&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wifiRepeatInterval&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1000&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1000&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;n&#34;&gt;wifiConnectCounter&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kt&#34;&gt;void&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;loop&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// Do something
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
      
         <content:encoded><![CDATA[<p>Der ESP8266 meldet sich standardmäßig im WLAN mit dem Namen ESP_&hellip; wobei die letzten Stellen aus der MAC berechnet werden. Um aber nun den Namen des Moduls manuell zu setzen, muss man sich einer Hilfsfunktion bemühen.</p>
<p>So sieht das dann aus:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span><span class="lnt">28
</span><span class="lnt">29
</span><span class="lnt">30
</span><span class="lnt">31
</span><span class="lnt">32
</span><span class="lnt">33
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-cpp" data-lang="cpp"><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="cp">#include</span> <span class="cpf">&lt;ESP8266WiFi.h&gt;</span><span class="cp">
</span></span></span><span class="line"><span class="cl"><span class="k">extern</span> <span class="s">&#34;C&#34;</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="cp">#include</span> <span class="cpf">&#34;user_interface.h&#34;</span><span class="cp">
</span></span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1">// WIFI
</span></span></span><span class="line"><span class="cl"><span class="n">WiFiClient</span> <span class="n">client</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="k">const</span> <span class="kt">char</span><span class="o">*</span> <span class="n">wifiSSID</span>    <span class="o">=</span> <span class="s">&#34;&lt;SSID&gt;&#34;</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="k">const</span> <span class="kt">char</span><span class="o">*</span> <span class="n">wifiPassword</span> <span class="o">=</span> <span class="s">&#34;&lt;PASSWORD&gt;&#34;</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="kt">char</span> <span class="n">wiFiHostname</span><span class="p">[</span> <span class="p">]</span> <span class="o">=</span> <span class="s">&#34;ESPonTheRocks&#34;</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="cp">#define wifiMaxTries 30
</span></span></span><span class="line"><span class="cl"><span class="cp">#define wifiRepeatInterval 360
</span></span></span><span class="line"><span class="cl"><span class="kt">int</span> <span class="n">wifiConnectCounter</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kt">void</span> <span class="nf">setup</span><span class="p">()</span>   <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="n">WiFi</span><span class="p">.</span><span class="n">begin</span><span class="p">(</span><span class="n">wifiSSID</span><span class="p">,</span> <span class="n">wifiPassword</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="n">wifi_station_set_auto_connect</span><span class="p">(</span><span class="nb">true</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="n">wifi_station_set_hostname</span><span class="p">(</span><span class="n">wiFiHostname</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="n">wifiConnectCounter</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">    <span class="k">while</span> <span class="p">(</span><span class="n">WiFi</span><span class="p">.</span><span class="n">status</span><span class="p">()</span> <span class="o">!=</span> <span class="n">WL_CONNECTED</span><span class="p">)</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="n">delay</span><span class="p">(</span><span class="n">wifiRepeatInterval</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">        <span class="n">wifiConnectCounter</span><span class="o">++</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="k">if</span> <span class="p">(</span><span class="n">wifiConnectCounter</span> <span class="o">&gt;</span> <span class="n">wifiMaxTries</span><span class="p">)</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">            <span class="n">delay</span><span class="p">(</span><span class="n">wifiRepeatInterval</span> <span class="o">*</span> <span class="mi">1000</span> <span class="o">*</span> <span class="mi">1000</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">            <span class="n">wifiConnectCounter</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="p">}</span>
</span></span><span class="line"><span class="cl">    <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kt">void</span> <span class="nf">loop</span><span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl"><span class="c1">// Do something
</span></span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Umwandlung von Int zu Fload im Arduino Code</title>
      
      
      <link>https://wolf-u.li/umwandlung-von-int-zu-fload-im-arduino-code/</link>
      <pubDate>Sun, 15 May 2016 12:11:28 +1500</pubDate>
      <guid>https://wolf-u.li/umwandlung-von-int-zu-fload-im-arduino-code/</guid>
      <description>&lt;p&gt;Vor kurzem habe ich mit dem SI7021 an meinem ESP8266 gespielt und dabei festgestellt, dass die verwendete &lt;link rel=dns-prefetch href=//github.com /&gt; &lt;a href=&#34;https://github.com/LowPowerLab/SI7021&#34;
    title=&#34;Bibliothek&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  Bibliothek&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; die Temperatur ohne Komma oder Punkt ausgibt. Also 2495 statt 24,95°C. Soweit nicht so wild, aber für die Übergabe an MQTT war es notwendig einen Float-Wert für die Temperatur auszugeben.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Vor kurzem habe ich mit dem SI7021 an meinem ESP8266 gespielt und dabei festgestellt, dass die verwendete <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/LowPowerLab/SI7021"
    title="Bibliothek" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Bibliothek&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> die Temperatur ohne Komma oder Punkt ausgibt. Also 2495 statt 24,95°C. Soweit nicht so wild, aber für die Übergabe an MQTT war es notwendig einen Float-Wert für die Temperatur auszugeben.</p>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2322978122735420" data-ad-slot="3161252284"></ins>
<p>Und so geht&rsquo;s:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-cpp" data-lang="cpp"><span class="line"><span class="cl"><span class="kt">float</span> <span class="n">tempfloat</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="kt">int</span> <span class="n">tempint</span> <span class="o">=</span> <span class="mi">2495</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="n">tempfloat</span> <span class="o">=</span> <span class="p">(</span><span class="kt">float</span><span class="p">)</span> <span class="n">tempint</span> <span class="o">/</span> <span class="mf">100.0</span><span class="p">;</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Bei der Division ist dabei wichtig, dass die Nachkommastelle angegeben wird. Die Angabe von <code>(float)</code> führt ein &ldquo;casting&rdquo; durch, was den Typ ändert.</p>
<p>Hilfestellungen:</p>
<ul>
<li><link rel=dns-prefetch href=//www.arduino.cc /> <a href="https://www.arduino.cc/en/Reference/Float"
    title="Arduino - Float" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Arduino - Float&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
<li><link rel=dns-prefetch href=//www.arduino.cc /> <a href="https://www.arduino.cc/en/Reference/Cast"
    title="Arduino - Cast" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Arduino - Cast&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>ESP8266 ESP-01 Ein detaillierter Blick auf die Pin-Belegung und den Chip</title>
      
      
      <link>https://wolf-u.li/esp8266-esp-01-ein-detaillierter-blick-auf-die-pin-belegung-und-den-chip/</link>
      <pubDate>Thu, 25 Feb 2016 14:06:57 +2500</pubDate>
      <guid>https://wolf-u.li/esp8266-esp-01-ein-detaillierter-blick-auf-die-pin-belegung-und-den-chip/</guid>
      <description>&lt;p&gt;Vor kurzem habe ich mich mal bisschen mehr mit dem ESP-01 auseinander gesetzt und diverse Dinge gebastelt. Dazu war es hilfreich mal genau zu wissen wo was auf dem Chip ist.&lt;/p&gt;
&lt;p&gt;Nach einiger Suche habe ich &lt;link rel=dns-prefetch href=//hsto.org /&gt; &lt;a href=&#34;https://hsto.org/files/73d/4a4/855/73d4a48556714372adf75af119a8fcc3.webp&#34;
    title=&#34;hier&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  hier&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; das folgende Bild via Google Bildersuche gefunden. Leider habe ich nicht rausbekommen, woher es ist&amp;hellip; :/
&lt;img src=&#34;https://wolf-u.li/upload/2016/02/ESP8266-ESP-01.webp&#34; alt=&#34;ESP-01&#34; loading=&#34;lazy&#34;&gt;&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Vor kurzem habe ich mich mal bisschen mehr mit dem ESP-01 auseinander gesetzt und diverse Dinge gebastelt. Dazu war es hilfreich mal genau zu wissen wo was auf dem Chip ist.</p>
<p>Nach einiger Suche habe ich <link rel=dns-prefetch href=//hsto.org /> <a href="https://hsto.org/files/73d/4a4/855/73d4a48556714372adf75af119a8fcc3.webp"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> das folgende Bild via Google Bildersuche gefunden. Leider habe ich nicht rausbekommen, woher es ist&hellip; :/
<img src="/upload/2016/02/ESP8266-ESP-01.webp" alt="ESP-01" loading="lazy"></p>
<p>Ganz hilfreich fand ich ;)</p>
]]></content:encoded>
    </item>
    <item>
      <title>Konfiguration einer statischen IP für den ESP8266 und Arduino</title>
      
      
      <link>https://wolf-u.li/konfiguration-einer-statischen-ip-fuer-den-esp8266-und-arduino/</link>
      <pubDate>Tue, 26 Jan 2016 22:34:05 +2600</pubDate>
      <guid>https://wolf-u.li/konfiguration-einer-statischen-ip-fuer-den-esp8266-und-arduino/</guid>
      <description>&lt;p&gt;Soeben wollte ich eine statische IP für einen ESP8266, welcher mit Arduino bedampft wird, konfigurieren und es wollte einfach nicht klappen. Nach einer Weile ging mir das Licht auf, denn es klappt nur, wenn man erst begin und dann config aufruft, nicht andersrum ;)&lt;/p&gt;
&lt;p&gt;Das geht dann so:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-c&#34; data-lang=&#34;c&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;WiFi&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;begin&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ssid&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;password&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;WiFi&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;config&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;IPAddress&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;192&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;168&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;99&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;),&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;IPAddress&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;192&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;168&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;),&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;IPAddress&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;255&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;255&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;255&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;),&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;IPAddress&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;192&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;168&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;));&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Signatur der config-Funktion ist übrigens &amp;ldquo;IP, DNS, SUBNET, [DNS-Server]&amp;rdquo;, man könnte sich also auch den letzten Teil sparen - allerdings scheint dann teilweise die DNS-Auflösung nicht mehr zu klappen&amp;hellip;&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Soeben wollte ich eine statische IP für einen ESP8266, welcher mit Arduino bedampft wird, konfigurieren und es wollte einfach nicht klappen. Nach einer Weile ging mir das Licht auf, denn es klappt nur, wenn man erst begin und dann config aufruft, nicht andersrum ;)</p>
<p>Das geht dann so:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-c" data-lang="c"><span class="line"><span class="cl"><span class="n">WiFi</span><span class="p">.</span><span class="nf">begin</span><span class="p">(</span><span class="n">ssid</span><span class="p">,</span> <span class="n">password</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="n">WiFi</span><span class="p">.</span><span class="nf">config</span><span class="p">(</span><span class="nf">IPAddress</span><span class="p">(</span><span class="mi">192</span><span class="p">,</span><span class="mi">168</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">99</span><span class="p">),</span> <span class="nf">IPAddress</span><span class="p">(</span><span class="mi">192</span><span class="p">,</span><span class="mi">168</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">1</span><span class="p">),</span> <span class="nf">IPAddress</span><span class="p">(</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">,</span><span class="mi">0</span><span class="p">),</span> <span class="nf">IPAddress</span><span class="p">(</span><span class="mi">192</span><span class="p">,</span><span class="mi">168</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">1</span><span class="p">));</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Signatur der config-Funktion ist übrigens &ldquo;IP, DNS, SUBNET, [DNS-Server]&rdquo;, man könnte sich also auch den letzten Teil sparen - allerdings scheint dann teilweise die DNS-Auflösung nicht mehr zu klappen&hellip;</p>
<p>Hilfreicher Link zur Lösung:</p>
<ul>
<li><link rel=dns-prefetch href=//github.com /> <a href="https://github.com/esp8266/Arduino/issues/369"
    title="https://github.com/esp8266/Arduino/issues/369" 
     target="_blank" rel="nofollow noopener noreferrer" >
  https://github.com/esp8266/Arduino/issues/369&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>Umbau des Hesine M-505 von Melzi auf RAMPS 1.4: Teileliste</title>
      
      
      <link>https://wolf-u.li/umbau-des-hesine-m-505-von-melzi-auf-ramps-1-4-teileliste/</link>
      <pubDate>Mon, 21 Dec 2015 09:41:11 +2100</pubDate>
      <guid>https://wolf-u.li/umbau-des-hesine-m-505-von-melzi-auf-ramps-1-4-teileliste/</guid>
      <description>&lt;p&gt;Vor einiger Zeit hatte ich den &lt;a href=&#34;https://wolf-u.li/5335/montage-des-hesine-m-505-3d-drucker-prusa-i3-design/&#34;
    title=&#34;Hesine M-505 erworben&#34; 
   &gt;
  Hesine M-505 erworben&lt;/a&gt; und festgestellt, dass das mitgelieferte Melzi-Board leider nicht so einfach mit einer neuen Firmware zu versorgen ist. Um mir den Weg etwas abzukürzen, hatte ich den Hinweis eines Kommentators gleich wahr genommen und mir das RAMPS Board in der aktuellen version 1.4 bestellt.&lt;/p&gt;
&lt;p&gt;Zunächst: Was ist RAMPS? Es ist das &lt;strong&gt;R&lt;/strong&gt;epRap &lt;strong&gt;A&lt;/strong&gt;rduino &lt;strong&gt;M&lt;/strong&gt;ega &lt;strong&gt;P&lt;/strong&gt;ololu &lt;strong&gt;S&lt;/strong&gt;hield, was, wie der Name schon verrät, ein Shield (also ein Zusatzboard) für den Arduino Mega ist. Weitere Informationen kann man &lt;link rel=dns-prefetch href=//reprap.org /&gt; &lt;a href=&#34;http://reprap.org/wiki/Arduino_Mega_Pololu_Shield&#34;
    title=&#34;hier&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  hier&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; und &lt;link rel=dns-prefetch href=//reprap.org /&gt; &lt;a href=&#34;http://reprap.org/wiki/RAMPS_1.4&#34;
    title=&#34;hier&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  hier&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; nachlesen.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Vor einiger Zeit hatte ich den <a href="/5335/montage-des-hesine-m-505-3d-drucker-prusa-i3-design/"
    title="Hesine M-505 erworben" 
   >
  Hesine M-505 erworben</a> und festgestellt, dass das mitgelieferte Melzi-Board leider nicht so einfach mit einer neuen Firmware zu versorgen ist. Um mir den Weg etwas abzukürzen, hatte ich den Hinweis eines Kommentators gleich wahr genommen und mir das RAMPS Board in der aktuellen version 1.4 bestellt.</p>
<p>Zunächst: Was ist RAMPS? Es ist das <strong>R</strong>epRap <strong>A</strong>rduino <strong>M</strong>ega <strong>P</strong>ololu <strong>S</strong>hield, was, wie der Name schon verrät, ein Shield (also ein Zusatzboard) für den Arduino Mega ist. Weitere Informationen kann man <link rel=dns-prefetch href=//reprap.org /> <a href="http://reprap.org/wiki/Arduino_Mega_Pololu_Shield"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> und <link rel=dns-prefetch href=//reprap.org /> <a href="http://reprap.org/wiki/RAMPS_1.4"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> nachlesen.</p>
<p>Was braucht man also nun? Ich habe mich dafür entschieden, die ganze Steuerelektronik auszutauschen, da die Preise relativ niedrig sind. Zusätzlich wollte ich Autoleveling und eine Bluetoothverbindung ermöglichen. Dazu gehört:</p>
<ul>
<li>RAMPS 1.4 Shield</li>
<li>Arduino Mega 2560</li>
<li>Schrittmotor-Treiber (mindestens 4 Stück für X, Y, Z und den Filament-Motor) A4988</li>
<li>Smart Controller Display + Verbindungskabel</li>
<li>Abstandssensor LJ18A3-8-Z/BX</li>
<li>Bluetooth Modul HC-06</li>
</ul>
<p>Um nun an diese Teile zu kommen, habe ich meinen Lieblingsshop in Asien (Aliexpress) bemüht und habe auf ein fertig zusammengebautes Board gesetzt (die Preise sind so niedrig, dass es sich nicht lohnt <link rel=dns-prefetch href=//reprap.org /> <a href="http://reprap.org/wiki/RAMPS_1.4"
    title="selbst zu löten" 
     target="_blank" rel="nofollow noopener noreferrer" >
  selbst zu löten&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>).</p>
<ul>
<li>1* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/ybuF27MV3"
    title="Ramps 1.4" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Ramps 1.4&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
<li>1* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/eA6Q3rR7M"
    title="Arduino Mega 2560" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Arduino Mega 2560&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
<li>4-5* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/fQFmmey3Z"
    title="Stepper Driver A4988" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Stepper Driver A4988&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> (4 Minimum, besser einen als Reserve)</li>
<li>1* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/UBAamAu7M"
    title="Display: RAMPS 1.4 12864 LCD" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Display: RAMPS 1.4 12864 LCD&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
<li>1* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/aayrfybQb"
    title="LJ18A3-8-Z/BX" 
     target="_blank" rel="nofollow noopener noreferrer" >
  LJ18A3-8-Z/BX&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
<li>1* <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/fQzznIyZ3"
    title="HC-06 Bluetooth Modul" 
     target="_blank" rel="nofollow noopener noreferrer" >
  HC-06 Bluetooth Modul&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a></li>
</ul>
<p>Bei der Auswahl der Produkte würde ich darauf achten, dass alles notwendige &ldquo;dabei&rdquo; ist. Also bei RAMPS 1.4 sollte das Shield bestückt sein, der Arduino sollte sich etwa am Original orientieren und die Stepper Driver sollten Kühlkörper dabei haben. Das Display besteht aus dem Display (welches Rückseitig eine SD-Karte aufnehmen kann) sowie den Verbindungskabeln und einem Anschluss-shield, welches auf dem RAMPS angebracht werden kann. Das Bluetoothmodul sollte das HC-06 sein. Ein paar Bilder dazu (teilweise sind die Komponenten aber schon zusammen gesteckt):</p>
<p><img src="/upload/2015/12/20151221-110320-001-Exp.webp" alt="20151221-110320-001-Exp" loading="lazy">
<img src="/upload/2015/12/20151221-110333-001-Exp.webp" alt="20151221-110333-001-Exp" loading="lazy">
<img src="/upload/2015/12/20151221-110345-002-Exp.webp" alt="20151221-110345-002-Exp" loading="lazy">
<img src="/upload/2015/12/20151221-110427-001-Exp.webp" alt="20151221-110427-001-Exp" loading="lazy">
<img src="/upload/2015/12/20151221-110436-002-Exp.webp" alt="20151221-110436-002-Exp" loading="lazy">
<img src="/upload/2015/12/20151221-110737-001-Exp.webp" alt="20151221-110737-001-Exp" loading="lazy"></p>
]]></content:encoded>
    </item>
    <item>
      <title>ESP8266 - Einbinden/Installation in der Arduino IDE</title>
      
      
      <link>https://wolf-u.li/esp8266-einbindeninstallation-in-der-arduino-ide/</link>
      <pubDate>Sun, 06 Sep 2015 17:36:08 +0600</pubDate>
      <guid>https://wolf-u.li/esp8266-einbindeninstallation-in-der-arduino-ide/</guid>
      <description>&lt;p&gt;Seit einiger Zeit ist es möglich den &lt;a href=&#34;https://wolf-u.li/tag/esp8266/&#34;
    title=&#34;ESP8266&#34; 
   &gt;
  ESP8266&lt;/a&gt; in der Arduino IDE einzubinden, was eine ganze Menge interessanter Anwendungsfälle eröffnet. In diesem Artikel will ich das kurz beschreiben.&lt;/p&gt;
&lt;p&gt;Zunächst benötigt man eine Arduino IDE mit einer Versionsnummer von 1.6.5 oder größer. Das kann man entweder aus der Titelleiste ablesen, oder wenn nicht, dann via &amp;ldquo;Help&amp;rdquo; -&amp;gt; &amp;ldquo;About Arduino&amp;rdquo;:
&lt;img src=&#34;https://wolf-u.li/upload/2015/09/5297-ESP8266-ArduinoIDE-01.webp&#34; alt=&#34;ESP8266 vs ArduinoIDE 01&#34; loading=&#34;lazy&#34;&gt;
&lt;img src=&#34;https://wolf-u.li/upload/2015/09/5297-ESP8266-ArduinoIDE-02.webp&#34; alt=&#34;ESP8266 vs ArduinoIDE 02&#34; loading=&#34;lazy&#34;&gt;&lt;/p&gt;
&lt;p&gt;Hat man diese Hürde genommen, dann muss man nun in die Einstellungen und dort die folgende URL als hinterlegen:&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Seit einiger Zeit ist es möglich den <a href="/tag/esp8266/"
    title="ESP8266" 
   >
  ESP8266</a> in der Arduino IDE einzubinden, was eine ganze Menge interessanter Anwendungsfälle eröffnet. In diesem Artikel will ich das kurz beschreiben.</p>
<p>Zunächst benötigt man eine Arduino IDE mit einer Versionsnummer von 1.6.5 oder größer. Das kann man entweder aus der Titelleiste ablesen, oder wenn nicht, dann via &ldquo;Help&rdquo; -&gt; &ldquo;About Arduino&rdquo;:
<img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-01.webp" alt="ESP8266 vs ArduinoIDE 01" loading="lazy">
<img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-02.webp" alt="ESP8266 vs ArduinoIDE 02" loading="lazy"></p>
<p>Hat man diese Hürde genommen, dann muss man nun in die Einstellungen und dort die folgende URL als hinterlegen:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">http://arduino.esp8266.com/stable/package_esp8266com_index.json
</span></span></code></pre></td></tr></table>
</div>
</div><p><img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-03.webp" alt="ESP8266 vs ArduinoIDE 03" loading="lazy">
<img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-04.webp" alt="ESP8266 vs ArduinoIDE 04" loading="lazy"></p>
<p>Nun hat man diese URL zwar angegeben, aber installiert ist noch nichts. Das passiert über den Boardmanager, den man via Tools -&gt; Board -&gt; Boardmanager erreicht. Dort wählt man den ESP8266 an und klickt &ldquo;Install&rdquo;. Dies sieht dann schlussendlich etwa so aus:
<img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-05.webp" alt="5297-ESP8266-ArduinoIDE-05" loading="lazy"></p>
<p>Nun kann man das gewünschte ESP8266-Board auswählen:
<img src="/upload/2015/09/5297-ESP8266-ArduinoIDE-06.webp" alt="ESP8266 vs ArduinoIDE 06" loading="lazy"></p>
<p>Über die Beispiel-Sektion (File -&gt; Examples) finden sich nun ausserdem eine Menge Beispiele, die die Funktionen des ESP8266 beispielhaft zeigen. Derzeit sind diese:</p>
<ul>
<li>ESP8266: Blink-Beispiel</li>
<li>ESP8266mDNS: mDNS-Server (gerätename.local)</li>
<li>ESP8266SSDP: Simple Service Discovery Protocol Implementierung</li>
<li>ESP8266WebServer: Ein Webserver</li>
<li>ESP8266WiFi: Scanner, Server und ein Client. Auch schön: NTP-Client und eine Umsetzung von Telnet auf Serial</li>
<li>ESP8266WiFiMesh: Eine Mesh-Netzwerk Implementierung</li>
</ul>
<p>Die Beispiele kann man sich vorab auch auf <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/esp8266/Arduino/tree/esp8266/hardware/esp8266com/esp8266/libraries"
    title="GitHub" 
     target="_blank" rel="nofollow noopener noreferrer" >
  GitHub&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> durchlesen, die Syntax ist Arduino-üblich einfach gehalten. Ganze nette Ideen. Viel Spaß damit ;)</p>
<p>Wer noch einen ESP 8266 braucht, ist bei Aliexpress recht gut aufgehoben, ich hatte <link rel=dns-prefetch href=//s.click.aliexpress.com /> <a href="http://s.click.aliexpress.com/e/VbUBEUfUn"
    title="hier" 
     target="_blank" rel="nofollow noopener noreferrer" >
  hier&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> bestellt. Einfach mal ein bisschen rumschauen, ich würde in dem Shop nach &ldquo;Serial WIFI ESP8266 module + adapter plate&rdquo; suchen. Am besten nimmt man dann den ESP-12E, der ist relativ stressfrei. Dank der Adapter-Platte kann man diesen dann direkt auf ein Breadboard setzen.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Materialschlacht mit 250 Canon 60D, 250 Blitzen und vielen Arduino-Boards</title>
      
      
      <link>https://wolf-u.li/materialschlacht-mit-250-canon-60d-250-blitzen-und-vielen-arduino-boards/</link>
      <pubDate>Thu, 28 Jul 2011 10:43:26 +2800</pubDate>
      <guid>https://wolf-u.li/materialschlacht-mit-250-canon-60d-250-blitzen-und-vielen-arduino-boards/</guid>
      <description>&lt;p&gt;Heute habe ich eher zufällig ein Video von einem Making-Of für ein Musikvideo der Band androp für den Titel Bright Siren gefunden, was mit 250 &lt;link rel=dns-prefetch href=//www.amazon.de /&gt; &lt;a href=&#34;https://www.amazon.de/gp/product/B0040X44WS/ref=noref?ie=UTF8&amp;amp;s=photo&amp;amp;psc=1&amp;amp;tag=endlessinspir-21&#34;
    title=&#34;Canon 60D&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  Canon 60D&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; und ebensovielen Blitzen gemacht wurde. All diese Kameras wurden mit den &lt;link rel=dns-prefetch href=//arduino.cc /&gt; &lt;a href=&#34;http://arduino.cc/&#34;
    title=&#34;Arduino&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  Arduino&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt;-Boards verbunden und dann zusammen animiert. Was schon relativ verrückt ist, wenn man sichs mal so durch den Kopf gehen lässt. Drauf gekommen bin ich, weil ich nach diesen Arduino-Boards recherchiert hatte. Naja kommen wir zum Video:&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>Heute habe ich eher zufällig ein Video von einem Making-Of für ein Musikvideo der Band androp für den Titel Bright Siren gefunden, was mit 250 <link rel=dns-prefetch href=//www.amazon.de /> <a href="https://www.amazon.de/gp/product/B0040X44WS/ref=noref?ie=UTF8&amp;s=photo&amp;psc=1&amp;tag=endlessinspir-21"
    title="Canon 60D" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Canon 60D&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> und ebensovielen Blitzen gemacht wurde. All diese Kameras wurden mit den <link rel=dns-prefetch href=//arduino.cc /> <a href="http://arduino.cc/"
    title="Arduino" 
     target="_blank" rel="nofollow noopener noreferrer" >
  Arduino&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a>-Boards verbunden und dann zusammen animiert. Was schon relativ verrückt ist, wenn man sichs mal so durch den Kopf gehen lässt. Drauf gekommen bin ich, weil ich nach diesen Arduino-Boards recherchiert hatte. Naja kommen wir zum Video:</p>
<p>Die schlussendliche Animation sah dann so aus:</p>
<p>Oder eben als Bandvideo (was es eigentlich ja war):</p>
<p>Verrückt oder?</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
