<?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>UPD on Internet of Things with the NanoESP</title><link>https://neu-iot.fkainka.de/en/tag/upd/</link><description>Recent content in UPD on Internet of Things with the NanoESP</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 24 Oct 2018 16:04:10 +0200</lastBuildDate><atom:link href="https://neu-iot.fkainka.de/en/tag/upd/index.xml" rel="self" type="application/rss+xml"/><item><title>Day 5: Switching an LED</title><link>https://neu-iot.fkainka.de/en/day-5/</link><pubDate>Sat, 05 Dec 2015 00:01:37 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-5/</guid><description>&lt;p&gt;Today&amp;rsquo;s program is finally about controlling hardware via the UDP protocol. In this case, an LED is switched on and off with simple commands.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day5-1.jpg"&gt;&lt;img class="size-large wp-image-117" src="https://neu-iot.fkainka.de/images/2015/09/Day5-1.jpg" alt="So schließen Sie die LED mit Vorwiderstand am Pin D9 an" width="616" height="301" /&gt;&lt;/a&gt;&lt;figcaption&gt;The LED in Pin D9&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;You will find an LED board behind the fifth door. The right dropping resistor already was in yesterday&amp;rsquo;s door. Build the circuit as the picture shows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The program: &lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day5_UDPLED.zip"&gt;Day5_UDPLED&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;! Attention: Some MAC-Users reportet a bug in the PacketSender-Software. This bug doesn&amp;rsquo;t allow you to change the ports. If you have problems with this bug you can change the ports in the Arduino program. All you have to do for todays project is to change the line 83 from&lt;/em&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;succes &amp;amp;= sendCom(&amp;ldquo;AT+CIPSTART=&amp;quot;UDP&amp;quot;,&amp;quot;192.168.4.255&amp;quot;,90,91&amp;rdquo;, &amp;ldquo;OK&amp;rdquo;);&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;em&gt;to&lt;/em&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;succes &amp;amp;= sendCom(&amp;ldquo;AT+CIPSTART=&amp;quot;UDP&amp;quot;,&amp;quot;192.168.4.255&amp;quot;,5505,5506&amp;rdquo;, &amp;ldquo;OK&amp;rdquo;);&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>