Download presentation
Presentation is loading. Please wait.
1
IoT 101 with Raspberry Pi and Azure
Antonio Abalos Castillo @antonioabalos IoT 101 with Raspberry Pi and Azure
2
Our awesome sponsors! Please visit the sponsor area in the break and interact with them. They are the reason we can hold this conference free of charge!
3
Agenda
4
Raspberry overview Pi 1 launched in 2012 Pi 2 launched in 2014
Pi 3 launched in 2016 (quad core, HDMI, Wi-Fi and Bluetooth)
5
Raspberry models More info:
6
Raspberry 3 Model B IO Bus Screen (embedded) Micro SD card (storage)
USB x4 Ethernet Power (Micro USB) HDMI Camera Sound
7
What else do I need? Power supply (2.5A)
Class 10 micro SD card, 8GB or more USB keyboard USB mouse HDMI cable HDMI screen
8
Setup New out-of-the-box software (NOOBS) DHT22 sensor
4GB downloadable image (8GB or bigger micro SD card recommended) Based on Raspbian (Linux Debian) Includes Python, Java, some demos and office tools DHT22 sensor Connects directly to the GPIO
9
Wiring setup Raspberry Pi with DHT22
10
Setup
11
Demo 1
12
Demo 1 – From Raspberry to Power BI
13
Demo 1 – From Raspberry to Power BI
Configure Power BI streaming datasets Prepare the development environment Download and customize scripts Switch on Create Power BI dashboard
14
Demo 1 – Power BI new streaming dataset
Go to “Streaming datasets” and create a new one Choose “API” connection model Name the dataset and define the fields that will be sent over to Power BI Timestamp: DateTime Temperature: Number Humidity: Number Activate “historic data analysis” (provides more flexibility at no cost)
15
Demo 1 – Power BI new streaming dataset
Get the “Push URL”
16
Demo 1 – Download libraries
Download libraries for Python and the DHT22 BASH command prompt > sudo apt-get update > sudo apt-get install build-essential python-dev > git clone > cd Adafruit_Python_DHT > sudo python setup.py install
17
Demo 1 – Download and run the script
Download from: Update code with: sensor type Pin REST_API_URL
18
Demo 1 – Run the script!!
19
Demo 2
20
Demo 2 – Key ideas to run in this way
Real-time data does not always “look nice” Visualization is not enough, enable Analytics Detailed data is not always the best, but if we choose to aggregate it, we need to know what we are doing: When in doubt, save all data A SQL database can be up to 250GB at a low cost, a good deal!! It does not cost too much to run real-time data flows in Azure, unless there is a lot of data (gigabytes per day)
21
Demo 2 – From Raspberry to Azure
22
Demo 2 – Sample Power BI output
23
Demo 3?
24
Demo 3 - Plan
25
References Have no money? Online Raspberry simulator
SD card format utility for Windows DHT22 Power BI + DHT22 demo
26
Our awesome sponsors! Please visit the sponsor area in the break and interact with them. They are the reason we can hold this conference free of charge!
27
Thank you! Enjoy the conference!
Please complete the evaluation form handed out at the door, after the session. Your feedback will help us to improve future conferences and speakers will appreciate your feedback! Enjoy the conference!
28
The end
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.