IoT 101 with Raspberry Pi and Azure

Slides:



Advertisements
Similar presentations
Andrew Stratton Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python.
Advertisements

Presented by W1BAW Bruce Wattendorf. What is a Raspberry PI A $35 computer with out a monitor, keyboard, mouse but they all can be added.
BEYOND SMARTPHONES WITH RASPBERRY PI BY - ASHISH KSHIRSAGAR.
Residential Surveillance with IR Sensor & Raspberry Pi Maxine Major April 22, 2014.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
Building an APRS Weather Station for Under $300 APRS Wx station presentation by Chris, W8CWG, Mound Amateur Radio Association 3 Dec 2014.
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
RaspberryPi Ira Goldstein Siena College. What is a Raspberry Pi? University of Cambridge’s Computer Laboratory – Decline in skill level – Designed for.
SINGLE BOARD COMPUTERS -KEVIN JOSE. WHY DO WE USE THEM? Good performance at low price GPIO capability to interact with the outside world Small form factor,
OM. Brad Gall Senior Consultant
CCHRC Seminar Alan Mitchell Analysis North May 6, 2014.
By Naveed Ahmad! How to setup a. First of all, what are the parts of a Raspberry Pi? Source:
Intro to Datazen.
SINGLE BOARD COMPUTERS ARE YOU ON THE RIGHT AIRPLANE?
Senior Design Weekly Update GROUP MAY1633 9/28/2015.
Introduction :  In the beginning, the calculator is the basic idea of computers out, then that arrived at the large computers.  in1980 or late seventies.
IoT: Windows 10 & Raspberry Pi By: Mitchel Sellers.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Rasberry pi 2 model B. Selve computeren i rasberry pi’en.
Raspberry Pi Project Control Your Home Lights with a Raspberry Pi.
Scripting Just Enough SSIS to be Dangerous. 6/13/2015 Visit the Sponsor tables to enter their end of day raffles. Turn in your completed Event Evaluation.
Raspberry PI 2 Installation & Demo App By Wayne Keadle.
An introduction to the Raspberry Pi. What is a Raspberry Pi?  University of Cambridge’s Computer Laboratory  Decline in skill level  Designed for education.
PlaatEnergy (Energy Data Logger) Open Source Project W.B.J. van der Plaat (Principal IT Architect)
Developers Introduction to the Power BI Platform.
RaspberryPi.
Mile Hi Power BI User Group
SCRATCH Weather Dashboard
Engineering Innovation Center
Another slice of pi Hands-ON with the raspberry pi computer
Building Raspberry Pi Controllers with Python
Introduction to Raspberry Pi & Kano
Workshop on Raspberry Pi 3
Computer System Laboratory
Raspberry Pi 2 Model B V1.1 Home Media System
Mandava Institute of Engineering and Technology
Ira Goldstein Siena College
Implementation of Embedded OS
Internet of Things (internet of everything?)
Computer System Laboratory
Embedded Software Development with Python and the Raspberry Pi
D-STAR InfoCon 2015 at Big Spring TX Part 3 – Doing More With D-STAR
Prepared by: Raghad J Foqha Supervisor: Dr. Saed Tarapiah
From Things to the Internet: Teaching Kids to Code Java on the Raspberry Pi Ian Utting & Fabio Hedayioglu.
The Raspberry Pi Initiative
Azure IoT / RPI / Windows Core 10
A microcontroller Raspberry Pi 2 Model B V1.1 RPi
PlaatSign (Raspberry Pi Digital Content Viewer) Open Source Project
Welcome to the Windows IoT World
Programming with Arduinos and Rapsberry Pi
Andrew Pruski SQL Server & Containers
Making your Data Lake smarter with Cognitive Services
Victoria Power BI User Group Meeting
Lighting LEDs with a RASPBERRY PI
Engineering Innovation Center
Raspberry Pi.
Raspberry Pi Pi 2 Model B.
An introduction to the Raspberry Pi
Presenter: Nicholas Exner
Introduction to EV3Dev: Setup with Python
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Embedded Software Development with Python and the Raspberry Pi
Building an Internet of Things Device
Ecosystem for Smart Glass Technologies: Proposal Presentation
Azure SQL DWH: Tips and Tricks for developers
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Beginning Raspberry Pi
Emphasis: Get it working and do stuff!
IoT System Development with Raspberry Pi and Django
Edge TPU Coral Dev Board: A tutorial
Presentation transcript:

IoT 101 with Raspberry Pi and Azure Antonio Abalos Castillo @antonioabalos IoT 101 with Raspberry Pi and Azure

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!

Agenda

Raspberry overview Pi 1 launched in 2012 Pi 2 launched in 2014 Pi 3 launched in 2016 (quad core, HDMI, Wi-Fi and Bluetooth)

Raspberry models More info: http://socialcompare.com/en/comparison/raspberrypi-models-comparison

Raspberry 3 Model B IO Bus Screen (embedded) Micro SD card (storage) USB x4 Ethernet Power (Micro USB) HDMI Camera Sound

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

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

Wiring setup Raspberry Pi with DHT22

Setup

Demo 1

Demo 1 – From Raspberry to Power BI

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

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)

Demo 1 – Power BI new streaming dataset Get the “Push URL”

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 https://github.com/adafruit/Adafruit_Python_DHT.git > cd Adafruit_Python_DHT > sudo python setup.py install

Demo 1 – Download and run the script Download from: https://github.com/Azure-Samples/powerbi-python-iot-client/ Update code with: sensor type Pin REST_API_URL

Demo 1 – Run the script!!

Demo 2

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)

Demo 2 – From Raspberry to Azure

Demo 2 – Sample Power BI output

Demo 3?

Demo 3 - Plan

References Have no money? Online Raspberry simulator https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-raspberry-pi-web-simulator-get-started SD card format utility for Windows https://www.sdcard.org/downloads/formatter_4/eula_windows/ DHT22 https://www.adafruit.com/product/385 http://www.dx.com/no/p/dht22-2302-digital-temperature-and-humidity-sensor-module-184847 Power BI + DHT22 demo https://powerbi.microsoft.com/en-us/blog/using-power-bi-real-time-dashboards-to-display-iot-sensor-data-a-step-by-step-tutorial/

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!

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!

The end