<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IoT-Tutorials on Bald Engineer</title><link>https://www.baldengineer.com/category/tutorials/iot-tutorials</link><description>Recent content in IoT-Tutorials on Bald Engineer</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 10 Apr 2018 04:28:39 +0000</lastBuildDate><atom:link href="https://www.baldengineer.com/category/tutorials/iot-tutorials/index.xml" rel="self" type="application/rss+xml"/><item><title>Hologram.io connects Adafruit FONA</title><link>https://www.baldengineer.com/hologram-io-connects-fona-mqtt.html</link><pubDate>Thu, 08 Feb 2018 03:00:18 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6899</guid><description>&lt;p&gt;While the buzzword &amp;ldquo;IoT &amp;ldquo;is relatively new, there has been a long time &amp;ldquo;internet of things&amp;rdquo; in operation. Those devices are called the far less sexy term &amp;ldquo;M2M&amp;rdquo; or machine-to-machine. These devices, around since the 90s, contain a microprocessor, some sensors, sometimes electromechanical hardware, and a &lt;em&gt;cellular radio&lt;/em&gt;. These M2M devices were (and still are!) the early &amp;ldquo;Internet of Things.&amp;rdquo; Thanks to Hologram.io, you can join this new/old trend for free.&lt;/p&gt;</description></item><item><title>Multiple MQTT Topics with Arduino PubSubClient</title><link>https://www.baldengineer.com/multiple-mqtt-topics-pubsubclient.html</link><pubDate>Wed, 01 Feb 2017 13:00:22 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6348</guid><description>&lt;p&gt;In my &lt;a href="https://www.baldengineer.com/mqtt-tutorial.html"&gt;Arduino MQTT Examples&lt;/a&gt;, I kept things simple by only subscribing to a single topic. One of the strengths of &lt;a href="https://www.baldengineer.com/mqtt-introduction.html"&gt;MQTT&lt;/a&gt; is that a device can subscribe (or publish) to multiple topics. The broker will sort things out. Even though my first example only showed one, it is straight forward to get the &lt;a href="https://github.com/knolleary/pubsubclient"&gt;Arduino PubSubClient library&lt;/a&gt; to subscribe to Multiple MQTT topics.&lt;/p&gt;&#10;&lt;p&gt;The quick answer is that you need to look at the MQTT response to find out which topic sent the payload.&lt;/p&gt;</description></item><item><title>MQTT Tutorial for Raspberry Pi, Arduino, and ESP8266</title><link>https://www.baldengineer.com/mqtt-tutorial.html</link><pubDate>Wed, 24 Feb 2016 16:00:45 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5799</guid><description>&lt;p&gt;This week&amp;rsquo;s MQTT Tutorial connects a Raspberry Pi, ESP8266 (or Arduino), and a PC together. Remember last week&amp;rsquo;s post provided an &lt;a href="https://www.baldengineer.com/mqtt-introduction.html"&gt;overview of message brokers and MQTT&lt;/a&gt;. We learned that MQTT is a hub and spoke protocol for sending messages between IoT devices. Clients can subscribe or publish messages to a central server, called a broker.&lt;/p&gt;&#10;&lt;p&gt;Now it&amp;rsquo;s time to connect our IoT devices together!&lt;/p&gt;&#10;&lt;p&gt;For this MQTT tutorial, I have three main elements:&lt;br&gt;&#10;•    My Computer, which will act as the broker.&lt;br&gt;&#10;•    Raspberry Pi running Python&lt;br&gt;&#10;•    ESP8266 controlling an LED&lt;/p&gt;</description></item><item><title>MQTT Introduction and Tutorial Part One</title><link>https://www.baldengineer.com/mqtt-introduction.html</link><pubDate>Wed, 17 Feb 2016 16:00:25 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5778</guid><description>&lt;p&gt;MQTT is an easy way for Internet of Things (IoT) devices to communicate with each other. This light-weight protocol can be used with a simple 8-bit Arduino to a Raspberry Pi to a multi-core PC to Amazon Web Services. It is that versatile.&lt;/p&gt;&#10;&lt;p&gt;This MQTT Tutorial is broken into two parts. Part one is an MQTT Introduction. You&amp;rsquo;ll understand how publish/subscribe message brokering works. Next week, Part two will be a tutorial on using MQTT to communicate between a PC, Raspberry Pi, and ESP8266.&lt;/p&gt;</description></item></channel></rss>