From the course: Azure Serverless Computing

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Demo: Adding a Raspberry Pi simulator

Demo: Adding a Raspberry Pi simulator - Azure Tutorial

From the course: Azure Serverless Computing

Start my 1-month free trial

Demo: Adding a Raspberry Pi simulator

- [Instructor] We have the option of adding real devices and for that we'd have to go out and build 'em, get everything put together, but it's gonna be a little bit quicker if we use an online simulator. There is a Raspberry Pi simulator that designed to work with IoT hubs. And we can go out to this and use that for our example. So I'm gonna go out to the link. Which then takes me to where you can see a page that has some code, and it has a model, a visual of what it looks like. And what you will see is that on line 15 of the code, if you scroll way in, it says, "(mumbles) "Your IoT Hub device connection string." Where you get that from is by going out to your device explorer and creating it. So I'm gonna create one. We're gonna call this myweatherdevice01. We're going to leave the symmetric key auto-generate. We're gonna connect it up to the IoT hub and save. Now what this does is it provisions inside of the IoT hub a device that has the twin and all of that other information about…

Contents