<?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>TCP on Internet of Things with the NanoESP</title><link>https://neu-iot.fkainka.de/en/tag/tcp/</link><description>Recent content in TCP on Internet of Things with the NanoESP</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 24 Oct 2018 16:04:09 +0200</lastBuildDate><atom:link href="https://neu-iot.fkainka.de/en/tag/tcp/index.xml" rel="self" type="application/rss+xml"/><item><title>Day 18: Universal remote control</title><link>https://neu-iot.fkainka.de/en/day-18/</link><pubDate>Fri, 18 Dec 2015 00:01:00 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-18/</guid><description>&lt;p&gt;Yesterday, you built a receiver for infra-red remote controls. Today, you are building the remote control itself. More precisely, you will build a universal remote control that you can operate by computer or Smartphone and with which you can operate your TV or other devices whenever you misplace the original remote control.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day18-1.jpg"&gt;&lt;img class="size-large wp-image-220" src="https://neu-iot.fkainka.de/images/2015/09/Day18-1.jpg" alt="Anschluss der IR-Diode an Pin D3" width="616" height="301" /&gt;&lt;/a&gt;&lt;figcaption&gt;The IR-diode at Pin D3&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;For this project, you need the component behind today&amp;rsquo;s door: the IR diode. It looks like a simple LED, but it sends light in the invisible infra-red range. The IR-signals are visible to a digital camera, however. The structure of today&amp;rsquo;s experiment is shown in the figure. Don&amp;rsquo;t be surprised that the IR-LED is not given a dropping resistor. The effective dropping resistor is the On-resistor of the port, at approx. 30 Ohm. Because of this, the current through the diode is quite high, but the impulses sent are so short that the diode will not take damage.&lt;/p&gt;</description></item><item><title>Day 17: IR module</title><link>https://neu-iot.fkainka.de/en/day-17/</link><pubDate>Thu, 17 Dec 2015 00:01:46 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-17/</guid><description>&lt;p&gt;Today&amp;rsquo;s project permits controlling the controller by remote control. You can change the colour of the RGB-LED with buttons you can choose on an infra-red remote control, and change the background colour of the website right along with it.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day17-1.jpg"&gt;&lt;img class="size-large wp-image-213" src="https://neu-iot.fkainka.de/images/2015/09/Day17-1.jpg" alt="Das IR-Modul an Pins D7-D5" width="616" height="301" /&gt;&lt;/a&gt;&lt;figcaption&gt;TheIR-Modul on Pins D7-D5&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Behind today&amp;rsquo;s door, you will find the important part of today&amp;rsquo;s project, i.e. the infra-red receiver module. You can connect the module without a cable as shown in the figure below. The program sets the corresponding pins so that the module is supplied with power.&lt;/p&gt;</description></item><item><title>Day 16: GPIO Control</title><link>https://neu-iot.fkainka.de/en/tag-16-gpio-control/</link><pubDate>Wed, 16 Dec 2015 00:01:26 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/tag-16-gpio-control/</guid><description>&lt;p&gt;Today&amp;rsquo;s project permits simple control of the digital pins D2-D7 per website. The status of the respective pin is also presented on the website, so that you will never lose the overview.&lt;/p&gt;
&lt;p&gt;To review the condition of the pin well, a setup as in the following figure is recommended. Both the RGB-LED and the regular LED are used. The cathodes of the LEDs are now not connected to the long ground line on the outside of the board, but are also at a digital output. Only when these pins are switched low can the LEDs light up.&lt;/p&gt;</description></item><item><title>Day 15: Light sensor</title><link>https://neu-iot.fkainka.de/en/day-15/</link><pubDate>Tue, 15 Dec 2015 00:01:56 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-15/</guid><description>&lt;p&gt;Today&amp;rsquo;s project does not use the web server&amp;rsquo;s website as a control interface, but as an output element. The brightness measured via a brightness sensor is displayed well-structuredly as a relative value.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day15-1.jpg"&gt;&lt;img class="size-large wp-image-203" src="https://neu-iot.fkainka.de/images/2015/09/Day15-1.jpg" alt="Anschluss des Fototransistors an Pin A0" width="616" height="301" /&gt;&lt;/a&gt;&lt;figcaption&gt;The fototranistor at Pin A0&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Behind today&amp;rsquo;s door, there is another photo transistor that serves as a light sensor. The photo transistor looks like an LED, but should not be mistaken for one. The structure of today&amp;rsquo;s experiment is shown in the figure. The collector of the photo transistor is the shorter connection. It is applied to +5 V.&lt;/p&gt;</description></item><item><title>Day 14: Webserver for the RGB-LED</title><link>https://neu-iot.fkainka.de/en/day-14/</link><pubDate>Mon, 14 Dec 2015 00:01:19 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-14/</guid><description>&lt;p&gt;Today&amp;rsquo;s project is about controlling the RGB-LED by web server. A well-structured interface can be used to change the colour of the LED. The website has also been adjusted and should be easy to display even on Smartphones.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day14-2.jpeg"&gt;&lt;img class="size-full wp-image-195" src="https://neu-iot.fkainka.de/images/2015/09/Day14-2.jpeg" alt="Die Webseite mit ColorPicker" width="303" height="310" /&gt;&lt;/a&gt;&lt;figcaption&gt;The website on a PC browser&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Behind today&amp;rsquo;s advent calendar door, there is another resistor, but this one is of 10 kΩ (brown, black, orange). You will need it for tomorrow&amp;rsquo;s experiment.&lt;/p&gt;</description></item><item><title>Day 13: Website with buttons</title><link>https://neu-iot.fkainka.de/en/day-13/</link><pubDate>Sun, 13 Dec 2015 00:01:54 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-13/</guid><description>&lt;p&gt;In today&amp;rsquo;s experiment, the illustration of the website is even more sophisticated. There are now also control elements that permit much more comfortable control of the LED.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day12-1.jpg"&gt;&lt;img class="size-large wp-image-163" src="https://neu-iot.fkainka.de/images/2015/09/Day12-1.jpg" alt="So schließen Sie eine Batterie an den heutigen Versuchsaufbau an" width="616" height="337" /&gt;&lt;/a&gt;&lt;figcaption&gt;The 9V-batterie powers the board&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;The structure of today&amp;rsquo;s experiment is no different from yesterday&amp;rsquo;s: An LED at pin D9, which can be controlled via the module. As an additional component, today&amp;rsquo;s door once again holds a resistor with 1 kΩ. If necessary, you can now reduce the brightness of an LED by switching two resistors in series.&lt;/p&gt;</description></item><item><title>Day 12: Autonomous webserver</title><link>https://neu-iot.fkainka.de/en/day-12/</link><pubDate>Sat, 12 Dec 2015 00:01:02 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-12/</guid><description>&lt;p&gt;The results of yesterday&amp;rsquo;s experiment are now to be used in an autonomous program. Today&amp;rsquo;s program not only sends a simple website to the browser, but also permits control of an LED.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day12-1.jpg"&gt;&lt;img class="size-large wp-image-163" src="https://neu-iot.fkainka.de/images/2015/09/Day12-1.jpg" alt="So schließen Sie eine Batterie an den heutigen Versuchsaufbau an" width="616" height="337" /&gt;&lt;/a&gt;&lt;figcaption&gt;The 9V-batterie powers the board&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Behind today&amp;rsquo;s door, you will find a 9-V battery clip that can make your board mobile. As an alternative, you may also use a Power Bank (a battery pack usually used for mobile phones). If you want to use the 9-V-battery, observe that the red wire must be connected to Vin, and the black one to GND. The figure shows the setup of today&amp;rsquo;s experiment with external power supply.&lt;/p&gt;</description></item><item><title>Day 11: TCP-Webserver</title><link>https://neu-iot.fkainka.de/en/day-11/</link><pubDate>Fri, 11 Dec 2015 00:01:31 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-11/</guid><description>&lt;p&gt;In the previous experiments, we dealt with the subject of TCP and access to web servers a lot. Today, the module is to act as a web server of its own for the first time.&lt;/p&gt;
&lt;p&gt;Behind the door of the 11th day, there is a special cable that will be very useful soon. A special setup is not necessary today, since the program works similarly to the serial monitor programme of day one.&lt;/p&gt;</description></item></channel></rss>