empowering creative people

Videos / Raspberry Pi Workshop - Chapter 5 - Introduction to IOT Services

In Chapter 5 we are going to discuss what the Internet of Things (IoT) is, and what you can do with it. We'll explore some easy-to-use IoT services that will help you get off the ground with minimal fuss.

Search Videos

Related Content



Let's have a look at some incentive things services that we can make use of. Over on the browser, I've opened the web page for a website called ifttt which stands for "if this then that", I'm just going to refer to it as ifttt for now. Ifttt links services together, so if an event is detected on one service IFFT will create an action on another. Let's take a closer.

Look if we scroll down we can, go to their discover section and I'll just open up this applets we love, example here so this is a collection of pre-med examples that we can use and we can see the very first applet is tweet your Instagram’s as Native photos on Twitter and down the bottom if you do a hover over you can see that this works with Twitter. So that's kind of like what this integrates with the services these integrate with and because it was created by Instagram of course it's integrated with Instagram. So, it sounds like what that applet is going to do is, whenever a new Instagram post is detected, that raw photo is picked and then posted as a tweet on Twitter. so, you can see we're linking Instagram and Twitter to services with IFFT. Perhaps another quick example we have always be prepared for the weather by Weather Underground and we can see that that integrates with email, calendar and notifications. So that sounds like it's going to be some kind of rain alert and if we open it up we can see, you'll get a mobile notification and a bunch of other stuff like email and calendar events whenever rain is forecast so that's pretty cool, you know a nice umbrella reminder as you're leaving in the morning perhaps you know you could open this up and customize it so you don't get quite as much information maybe you want to ditch the email and the calendar event, you just want the notification. But that's IFFT and that's a useful tool for thinking services continuing, we have particle now particle is an ion company that produce web connected hardware. If you've heard of Arduino as particle create essentially web connected Arduino and that's neat because they've also very recently rolled in support for raspberry pi. so now in this io service called the particle cloud we can interact with our own raspberry pi. what this means is we can program it wirelessly and have it interact with other devices on the particle cloud like the hardware particle create. so, while we're here create an account with IFFT and create an account with particle, because we're going to be using them later in the chapter. if you don't already have one create a Gmail account if you've already got a Gmail account and you want to keep your Internet of Things experiments and projects separate from your personal account just feel free to make a new account just for this purpose now and then briefly we also have a few services offered by spark fund and Adafruit. spark fund run a free data server called data.sparkfun.com and this is where you can push data to be stored and then displayed. so, if you have say a temperature and humidity sensor on your Raspberry Pi you can push that telemetry data on that weather station data to this and have it stored for you and something is similar is true with Adafruit as well Adafruit have a data server called Adafruit oi and this works off a publish and subscribe game called MQTT. so MQTT is a useful protocol for machines to communicate with each other and you'll probably find that MQTT is behind a lot of the services that we've talked about already. MQTT works by publishers and subscriptions. so, a publisher will publish data to some topic and that data gets stored on a web server and that web server looks at the data and whoever is subscribed to that topic and will push the data to the subscribers. so, publishers publish to a topic and any subscribers to that topic get delivered the data.

So those are that's just a quick rundown of a few services that we're going to look at. remember to create those accounts with IFFT, particle and Gmail and we'll get using them in the next video.