<?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>MQTT on Internet of Things with the NanoESP</title><link>https://neu-iot.fkainka.de/en/tag/mqtt/</link><description>Recent content in MQTT on Internet of Things with the NanoESP</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 24 Oct 2018 16:05:10 +0200</lastBuildDate><atom:link href="https://neu-iot.fkainka.de/en/tag/mqtt/index.xml" rel="self" type="application/rss+xml"/><item><title>Day 24: Gift box</title><link>https://neu-iot.fkainka.de/en/day-24-gift-box/</link><pubDate>Sat, 24 Dec 2016 00:01:53 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-24-gift-box/</guid><description>&lt;p&gt;With the last test in this Advent, we get really Christmasy. We&amp;rsquo;re building a reusable gift box with which you can delight your relatives. Every time someone opens the present, the contents are lit up in an individual colour, and a Christmas sound plays.&lt;/p&gt;
&lt;p&gt;Behind today&amp;rsquo;s door is a retro-reflective sensor. This is actually two components, an IR transmitter diode and a phototransistor. It&amp;rsquo;s not very easy to see which way the elements have to be connected in terms of polarity. For this reason, it&amp;rsquo;s best if you connect the photoelectric sensor with the connection cables according to the example shown. Then you won&amp;rsquo;t be able to switch the polarity as easily.&lt;/p&gt;</description></item><item><title>Day 23: MQTT Climate</title><link>https://neu-iot.fkainka.de/en/day23-2016/</link><pubDate>Fri, 23 Dec 2016 00:01:49 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day23-2016/</guid><description>&lt;p&gt;Behind the door for today is a battery clip for a 9 V block, with which you can make the entire system moveable. An alternative to a battery is a power bank (a rechargeable battery pack, normally for mobile phones). You can see in today&amp;rsquo;s layout picture how to connect a 9 V battery correctly.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2016/09/Day23_Climate_Steckplatine.jpg"&gt;&lt;img class="wp-image-1410 size-large" src="https://neu-iot.fkainka.de/images/2016/09/Day23_Climate_Steckplatine.jpg" alt="So können Sie eine 9V-Batterie am heutigen Aufbau anschließen" width="616" height="337" /&gt;&lt;/a&gt;&lt;figcaption&gt;This is how you can connect a 9 V battery to today&amp;#x27;s layout&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Climate data should be captured again today. But this time they are published through the MQTT broker and are thus accessible worldwide. The data could thus be called up via a plug-in and stored in a database.&lt;/p&gt;</description></item><item><title>Day 22: MQTT Cheerlights</title><link>https://neu-iot.fkainka.de/en/day22-2016/</link><pubDate>Thu, 22 Dec 2016 00:01:31 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day22-2016/</guid><description>&lt;p&gt;Today&amp;rsquo;s trial is about MQTT and a global project that was presented last year: the Cheerlights Project by Hans Schaaler. For everyone who doesn&amp;rsquo;t know the project: It&amp;rsquo;s about globally networked coloured lights that can be simultaneously controlled through Twitter commands. Another version of this project was part of last year&amp;rsquo;s Advent calendar. This year we have the version with MQTT and expanded functions.&lt;/p&gt;
&lt;p&gt;Behind today&amp;rsquo;s door is a 1-kohm resistor. The layout consists of the RGB LED with series resistors and a button.&lt;/p&gt;</description></item><item><title>Day 21: House automation</title><link>https://neu-iot.fkainka.de/en/day21-2016/</link><pubDate>Wed, 21 Dec 2016 00:01:34 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day21-2016/</guid><description>&lt;p&gt;In today&amp;rsquo;s test, we&amp;rsquo;ll illuminate the characteristics and possibilities of MQTT in more detail by creating a practical scenario. In the example, there is a building with two rooms, each of which has a light switch, a light and an alarm sensor. The light switch switches the light of the respective room on or off. The alarm sensors activate a building-wide alarm.&lt;/p&gt;
&lt;p&gt;Normally, seven different devices would be used here, which are all connected to each other through an MQTT broker. But since we probably have only one NanoESP, this will simulate all devices. For this reason, today&amp;rsquo;s layout looks somewhat complicated. The LED D3 is used today as the second light. Therefore, today it won&amp;rsquo;t show you whether you&amp;rsquo;re connected to the WLAN. The tilt sensors are used on the extension cables as alarm sensors. A person could, for example, attach them to doors or windows so that they trigger an alarm if the entry opens. Behind today&amp;rsquo;s door is the second sensor.&lt;/p&gt;</description></item><item><title>Day 20: MQTT (Message Queue Telemetry Transport)</title><link>https://neu-iot.fkainka.de/en/day-20-mqtt-message-queue-telemetry-transport/</link><pubDate>Tue, 20 Dec 2016 00:01:05 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-20-mqtt-message-queue-telemetry-transport/</guid><description>&lt;p&gt;For the last days of this Advent, you&amp;rsquo;ll now become familiar with a subject that plays a large role in the realm of the IoT. We&amp;rsquo;re dealing with the messaging protocol MQTT, which was specially developed for the communication from machine to machine (M2M). The protocol is thus so brilliant because e.g. control data, measurement data or texts can be exchanged very easily and compactly. The overhead (data that&amp;rsquo;s transferred alongside the actual user data) is much lower than with HTTP and can be processed readily even by embedded devices, meaning microcontrollers like our NanoESP. At the same time, the controller doesn&amp;rsquo;t constantly have to establish a connection and query whether there&amp;rsquo;s been a change; instead, the connection is continually maintained and the client automatically gives information about changes.&lt;/p&gt;</description></item></channel></rss>