azure / iot device virtual bootcamp-dec 12-14 faq’swikiazurerep.azureedge.net/wp-content/...files...

39
Abstract: This document is a compilation of the most frequently asked attendee questions. In addition I have included input and or requests from attendee’s looking for further detailed assistance or information from Microsoft in building IoT solutions. The general feedback, from the event was very positive! Author: Tim Graves ([email protected]) Version: 1.2 Date: 23 January 2018 Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’s

Upload: others

Post on 15-Jul-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

Abstract: This document is a compilation of the most frequently asked attendee questions. In

addition I have included input and or requests from attendee’s looking for further detailed

assistance or information from Microsoft in building IoT solutions. The general feedback, from

the event was very positive!

Author: Tim Graves ([email protected])

Version: 1.2

Date: 23 January 2018

Azure / IoT Device Virtual Bootcamp-Dec 12-14

FAQ’s

Page 2: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

VERSION HISTORY VERSION DATE AUTHOR CHANGE DESCRIPTION

1.0 01/05/2018 Tim Graves Initial Draft

1.1 01/8/2018 Tim Graves Adding to Q and A – reformatting-cleanup

1.2 1/10/2018 Tim Graves Adding notes for offline video download

Page 3: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

i | P a g e

© 2017 Microsoft

CONTENTS

1 Where are the Documents / Replays hosted ............................................................................................... 1

1.1.1 Certificate and Quiz’s- offline replays of the audio/video presentations ...................... 2

2 Laptop/Desktop Recommendations ............................................................................................................... 2

2.1 Hardware Recommendation for Labs ................................................................................................... 2

2.1.1 “I cannot install Windows 10 to my laptop at this time.” ..................................................... 2

2.2 IoT Hardware Required for the Labs ..................................................................................................... 3

2.2.1 Components required for the Microsoft Virtual IoT labs: .................................................... 3

3 Find your IoT device .............................................................................................................................................. 3

4 FAQ .............................................................................................................................................................................. 4

4.1 Most Frequently ask Questions ............................................................................................................... 4

5 Lab Challenges and Q and A .......................................................................................................................... 16

5.1 Lab 1- Huzzah Device Setup .................................................................................................................. 16

5.1.1 Lab1 step 10 ...................................................................................................................................... 16

5.1.2 Lab1 step 13 ...................................................................................................................................... 16

5.2 Lab 2 IoT Hub + Huzzah ........................................................................................................................ 18

5.2.1 Lab 2 step 3 – start of naming .................................................................................................... 18

5.2.2 Lab 2 step 8......................................................................................................................................... 19

5.3 Lab 3 Stream Analytics, Blob Storage and Power BI .................................................................... 19

5.3.1 Lab 3 step 16 ..................................................................................................................................... 19

5.4 Lab 4 Azure Functions .............................................................................................................................. 20

5.4.1 Lab 4 - Follow the lab guide step by step .............................................................................. 20

5.5 Lab 5 INSTALL IoT Core, Hello World, Blinky and BinkyIoT ....................................................... 20

5.5.1 Lab 5 - Follow the lab guide step by step ............................................................................... 20

5.5.2 Q and A for the Lab and SD card issues .................................................................................. 20

5.5.3 Clearing partition table of an SD Card ..................................................................................... 21

5.5.4 NOOBS 2.4.5 ....................................................................................................................................... 23

5.5.5 Another IoT Operating System- Ubuntu on RP3b ............................................................... 25

5.5.6 Add detail to Step 8 in lab guide................................................................................................ 25

Visual Studio 2017 (required) ............................................................................................................................. 25

Page 4: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

ii | P a g e

© 2017 Microsoft

5.5.7 Lab5 step 9......................................................................................................................................... 26

5.5.8 Lab5 step 16 ...................................................................................................................................... 26

5.5.9 Lab5 step 22 ...................................................................................................................................... 27

5.6 Lab 6 Properties, Methods, Tags and Jobs....................................................................................... 27

5.6.1 Lab 6 step 10 ..................................................................................................................................... 27

5.7 Lab 7 Azure Machine Learning ............................................................................................................. 27

5.7.1 Lab 7 - Follow the lab guide step by step .............................................................................. 27

5.8 lab 8 Azure cognitive Services .............................................................................................................. 27

5.8.1 Lab 8 - Follow the lab guide step by step- It has been updated since the Virtual

Bootcamp ............................................................................................................................................................... 27

5.8.2 Lab 8 step 12 ...................................................................................................................................... 27

5.8.3 Lab 8 step 14 ..................................................................................................................................... 28

5.8.4 Lab 8 step 28 ..................................................................................................................................... 28

5.9 lab 9 Azure Bot Services .......................................................................................................................... 28

5.9.1 Lab 9 - Follow the lab guide step by step- It has been updated since the Virtual

Bootcamp ............................................................................................................................................................... 28

6 Appendix –............................................................................................................................................................. 30

6.1 Raspberry Pi 3b board diagram ........................................................................................................... 30

6.2 Huzzah Arduino ESP 8266 board diagram ....................................................................................... 31

6.3 Other IoT Devices - http://www.mxchip.com/az3166 .................................................................. 33

6.4 Offline Video replay downloads ........................................................................................................... 33

Page 5: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

1 | P a g e

© 2017 Microsoft

1 WHERE ARE THE DOCUMENTS / REPLAYS HOSTED

This is the location for the prerequisites, Laptop preparation, are located:

https://academylive.blob.core.windows.net/media/LIVESHOW/IoTVirtualBootcamp/VirtualBootca

mpNov2017_Prerequisites.pdf

Setup Guide:

https://academylive.blob.core.windows.net/media/LIVESHOW/IoTVirtualBootcamp/Fall2017Virtu

alBootCampLaptopSetupGuidev1.pdf

This is the location where the replays and lab contents are hosted:

AV Recorded Replays, Lab Workshop Material and Pre-installation Guides:

http://aka.ms/iotvirtualbootcamp

**See appendix for offline video download instructions

Links:

Day #1 Replay: https://aka.ms/IoTVirtualBootcamp-join1

Day #2 Replay: https://aka.ms/IoTVirtualBootcamp-join2

Day #3 Replay: https://aka.ms/IoTVirtualBootcamp-join3

The Labs are cumulative, each Lab relies on previous Lab results, Day 1 Labs are required

for Day2, Day 1,2 for Day 3 etc.

Day 1 Labs: https://aka.ms/iot-bootcamp-labs-day1

Day 2 Labs: https://aka.ms/iot-bootcamp-labs-day2

Day 3 Labs: https://aka.ms/iot-bootcamp-labs-day3

Day 1 Decks (PDFs): https://aka.ms/iot-bootcamp-decks-day1

Day 2 Decks (PDFs): https://aka.ms/iot-bootcamp-decks-day2

Day 3 Decks (PDFs): https://aka.ms/iot-bootcamp-decks-day3

Page 6: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

2 | P a g e

© 2017 Microsoft

1.1.1 Certificate and Quiz’s- offline replays of the audio/video presentations

Lots of questions about what the requirements for certificate, attendance and what needs to be

completed, to receive a certificate. When will the certificates be sent, etc.

Will each day’s Quiz be available at an alternate time?

Several requests for the material to be made available for download/offline viewing and folks

that want to replay the content while not connected to Networks for Streaming. Ie Traveling, etc

2 LAPTOP/DESKTOP RECOMMENDATIONS

Students are strongly advised to have all the steps in the guide done PRIOR to attending a

workshop. Some of these steps take a long time and students who come unprepared will quickly

fall behind the others and not get as much value.

2.1 HARDWARE RECOMMENDATION FOR LABS

Any laptop/desktop capable of running Windows 10 should be adequate for any workshops.

Naturally, a bigger process, more RAM and disk space will be helpful. Students also benefit from

having access to a second monitor.

While not definitive, the following laptop as a minimal configuration works for learning cloud

and IoT:

• 8 GB RAM

• 120GB HDD

• USB Port(s)

• Second monitor is very useful when coding

2.1.1 “I cannot install Windows 10 to my laptop at this time.”

Ok, here are a few options you might consider.

2.1.1.1 External USB, Dual-Boot

Consider using an external, fast, solid-state disk drive. Install Windows 10 to that drive and then

dual-boot your laptop.

2.1.1.2 Virtual Host Software

You might consider using a virtualization product that supports passthrough USB (used by

Arduino) or consider installing Arduino on the host, which supports MAC and Linux OS and

Windows in the guest OS and just using the NOOB SD Card.

Page 7: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

3 | P a g e

© 2017 Microsoft

2.1.1.3 Invest in a low-end laptop dedicated for learning

An entry level laptop like a Lenovo 100S might be an alternative. Sure, they are not blazing fast

2.2 IOT HARDWARE REQUIRED FOR THE LABS

The Adafruit kit (part number 3605) includes additional items that are not required for the

Microsoft IoT Virtual Bootcamp labs. There are several accessories included that can be used for

personal exploration or in building your own IoT solutions. This is a great opportunity to design

your own entrepreneurial engineering skills beyond the confines of these simple labs…

Adafruit 3605 detailed Kit information:

https://www.adafruit.com/product/3605

2.2.1 Components required for the Microsoft Virtual IoT labs:

1. 1x Assembled Adafruit Feather Huzzah ESP8266 Wifi

2. 2x USB Cable- A/Micro B

3. 1x Full-sized Breadboard

4. 1x Raspberry Pi3b Arm v8 with 1G RAM

5. (optional if using virtualization) 1x 8GB MicroSD Card with NOOBS 2.0

6. 1x 8GB MicroSD Card SDHC( for WinIoTCore)

7. Premium Male/Male Jumper Wires 40 x 12” (300mm)

8. AM2302 (DHT22) temperature-humidity sensor

9. Slim HDMI Cable 450mm /1.5 feet long

10. HDMI 7” 800 x 480 Display Backpack

11. 1x Defused 10mm LED (Red, Green or Blue)

12. (optional) 1x 10k Ohm 5% 1/4W resistor (for AM2302)

13. 1x 560 Ohm 5% 1/4W resistor (for LED)

14. 1x 5V 2.4A minimum Switching power supply w/Micro USB for RP3b

15. Adafruit Raspberry PI B+ Case

16. 1x Ea USB Keyboard /Mouse (provided by student)

17. (optional) RJ45 LAN cable for Direct connect if Wifi not available on RP3b

18. (optional) HDMI capable Monitor or TV for Raspberry pi Video

3 FIND YOUR IOT DEVICE

Find your IoT device- is an interesting catalog from the simplest Adafruit devices to complex

industrial devices, this is a great resource when looking for tested and certified hardware that

works with Azure.

• https://catalog.azureiotsuite.com/

Page 8: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

4 | P a g e

© 2017 Microsoft

4 FAQ

This is a compilation of the most frequently asked Questions with respect to the Presentations

and Lab guide materials.

4.1 MOST FREQUENTLY ASK QUESTIONS

Q- My Huzzah device didn't get detected at USB COM# port... (if Arduino 1.85 is installed prior

to connecting Huzzah to the computers USB port, the driver for the Silicon Labs CP210x USB to

UART Bridge is included) or optionally update using the following driver

A-https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers.zip

Q- Huzzah feather esp8266 if we unplug it, don't we need to re-upload to it again?

A- No. The last written code sketch stays in NV EEPROM memory on the ESP8266, until

overwritten there is a reset button that restarts the code (just above the USB power port) when

verifying /compiling with Arduino 1.8.5, files are written to dynamic memory space on the

ESP8266

Q- Do I need to reset the Huzzah between the labs? That's because I seem to get "Error opening

serial port 'COMx'. (Port busy). How do I reset it?

A-No. There is a small reset button near the micro USB power port. This essentially starts a

reboot of the running code. To overwrite the NV memory, a new Sketch must be compiled and

written to the Huzzah. There is a chance that you have either a second copy of Arduino 1.8.5

running, or the serial monitor is running. Only one application can write to or read from the

device at a given time.

Optionally – you can clear the contents of the EEPROM with this script

https://www.arduino.cc/en/Tutorial/EEPROMClear

Q-Huzzah is not showing up in Device manager – no(new)COMx port is discovered when

plugged into laptop.

A- Try an alternate USB port or cable and make sure you are using a proper USB cable, and not

a simple USB charging cable (with power leads only). You can also try to reinstall “C:\Program

Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-

x86.exe, which will reinstall the driver.

Q-Can you turn off the huzzah or is pulling the plug the only option?

A-There is no logical shutdown or power off, simply remove the power source

Page 9: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

5 | P a g e

© 2017 Microsoft

Q- Is there a technical reference document for the Huzzah Feather esp8266

A- https://cdn-learn.adafruit.com/downloads/pdf/adafruit-feather-huzzah-esp8266.pdf

Q- If the DHT22 sensor was not shipped in your kit, you may have the AM2302 wired sensor.

DHT22 has 4 leads,(3 active) AM2302 has 3 wires, yellow maps to Data pin 2 additional

connection info here:

https://learn.adafruit.com/dht/connecting-to-a-dhtxx-sensor

Q- What is the difference between temperature and heat index?

A- "Temperature is an absolute value while Heat index includes humidity to relay how it 'feels' to

us. "

A-See lab 1 step 13 below (with pictures)

Q-What wireless protocols does The Adafruit Huzzah ESP8266 board support?

A-Per Adafruit the Huzzah ESP8266 board supports 2.4Ghz Wi-Fi 802.11 b/g/n along with WEP,

WPA/WPA2, make sure and disable TKIP on router, as that seems to be a common issue with

WPA2 connections.

Q-Where do I find the Arduino IDE plugin for Visual Studio

A-In VS go to Tools/Extension and Updates and select on the left side Visual Studio

Marketplace. Now search for Arduino IDE. It is by Visual Micro

Q-How do I get Line numbers to show up in the Ardunio IDE 1.8.5 Compile/Sketch window ?

A-Select - File, Preferences, check the box to “Display line numbers” , ok in lower right.

Page 10: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

6 | P a g e

© 2017 Microsoft

Q-Where is the free Trial of Azure, however you will need to validate and sign up for the free

account with a credit card.

A-https://azure.microsoft.com/en-us/free/

Q-Where can I check the status of Azure Services Globally

A-https://azure.microsoft.com/en-us/status

Q-How do I make sure to minimize cost associated with Azure trial after the labs?

A-Delete the “Resource groups” that were created for the labs, or review each of the resource

services and pause or shut them down. See graphic below

Q- What licensing is involved if you decide to use Raspberry Pi in commercial application? Are

there any royalties?

A-You cannot use the words Raspberry Pi to promote your product without permission.

Raspberry Pi is trademarked. If you’re making a product which requires a Raspberry Pi to run,

we don’t ask you to buy special permission or licenses from us to use it. All we ask is that you

include the words “Powered by Raspberry Pi” somewhere on your packaging. If your business is

successful, we’d be very grateful if you could consider donating a small portion of your profits to

the Raspberry Pi Foundation – but that’s all, and if you choose not to do that, that’s fine too.

However, you will have to ensure you follow the terms of the software licenses for any software

you embed in your product.

The Compute Module1 might be a better solution for industrial application-

https://www.raspberrypi.org/products/compute-module-1/

Q-Can you discuss when a device needs to be FCC certified ?

A-Raspberry Pi is listed as Raspberry Pi Trading Ltd - https://fccid.io/2ABCB-RPI32 The FCC

Declaration of Conformity or the FCC label or the FCC mark is a certification mark employed on

electronic products manufactured or sold in the United States which certifies that the

Page 11: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

7 | P a g e

© 2017 Microsoft

electromagnetic interference from the device is under limits approved by the Federal

Communications Commission.

Q-Is it possible to have a list of links, For example resources of the Fona chip, where to buy,

tutorials, etc

A-https://www.adafruit.com/product/2542

https://learn.adafruit.com/adafruit-fona-3g-cellular-gps-breakout/overview

https://learn.adafruit.com/adafruit-fona-3g-cellular-gps-breakout/downloads

Q-I connected the LCD (provided in the kit) to the Pi. it works well with the noobs but once I

installed the Win 10 IoT core, the LCD monitor does not work. (look like it does not support the

initial screen resolution for the Windows Image) I connected my HDMI Desktop monitor and it

works well. Is there a way to configure windows to support the LCD provided in the kit?

A-There were a number of different Touch Screen displays sent out from Adafruit. The work-

around for display resolution is this:

Edits to the config.txt files, both Win10 IoT and Raspbian OS. The displays worked properly with

both OS’s after this change.

(+AR1100 Touch Controller - 7” 800 x 480 HDMI Backpack)

-Win10IoT

add /edit 4 lines into the config.txt of the following folder on the SD Card

H:\EFIESP\config.txt

Under “# Video”

hdmi_group=2 # Use VESA Display Mode Timing over CEA

hdmi_mode=87

hdmi_drive=1

hdmi_cvt 800 480 60 6 0 0 0 # Add custom 800x480 resolution (group 2 mode 87)

-Raspbian

On the \boot folder of SD Card

add / edit 4 lines into the config.txt of the following folder on the SD Card

H:\boot\config.txt

Page 12: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

8 | P a g e

© 2017 Microsoft

# uncomment to force a specific HDMI mode (this will force VGA)

#hdmi_mode=1

hdmi_group=2

hdmi_mode=87

hdmi_cvt 800 480 60 6 0 0 0

hdmi_drive=1

Additional references:

https://www.hackster.io/jtlns/adafruit-5-lcd-on-windows-10-iot-core-c291b7

Q- Please elaborate on the differences between Azure IoT Edge and Azure IoT Stack And their

respective cost models

A- Azure Stack is really running Azure on multiple servers / racks on your hardware. Imagine a

customer who has a regulatory need to keep data in country and there is no Azure in that

country. Azure IoT Edge is much smaller, imagine a Pi, where we get data from sensors in the

"factory" and do edge summarization then send to the cloud.

Q- I need to get budget approved on a yearly basis even if i get billed based on usage. Do you

have recommendations on how to use the iot calculator to estimate costs? Which exact

functionality and which tier to select.

A-To calculate Azure IoT Hub, it is pretty simple. # messages, frequency, size of messages etc.

Instead, I suggest looking at the IOT Suite, which includes other components, functions, web,

stream, etc.

Q- Is there another communication method with a longer range than wifi but maybe up to 1/4

mile at most?

A-yes, see this temp,humidity sensor from NCD.IO https://store.ncd.io/product/industrial-long-

range-wireless-temperature-humidity-sensor/

Q- How do you keep up on the cutting edge of sensor tech? What are good resources?

A-NCD.IO - https://store.ncd.io/nexus/?cat=sensors

Adafruit- https://www.adafruit.com/?q=sensor%20kit

Seeedstudio.com- https://www.seeedstudio.com/Sensors-c-25/?ref=side

Page 13: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

9 | P a g e

© 2017 Microsoft

Digikey-

https://www.digikey.com/en/resources/sensors/index?utm_adgroup=General&utm_source=bing

&utm_term=sensors&utm_campaign=NB_Sensors_MBR&utm_medium=cpc&utm_content=Tq9

FXx2C_pcrid_81776198502024_pkw_sensors_pmt_bp_pdv_c_slid__pgrid_1308418932311884_ptai

d_kwd-81776222682875:loc-190_

Intel- https://software.intel.com/en-

us/iot/hardware/sensors?field_component_type_tid=All&field_component_connection_t

ype_tid=All&collapsed_state=null

Sparkfun- https://www.sparkfun.com/

Q-After adding the libraries, there are still compiler errors.

A-You may have accidently added the wrong libraries or versions. To remove libraries from the

installation, they are stored in the following directory:

“C:\Users\username\Documents\Arduino\libraries” You can simply delete the eroneous

directories and add correct libraries from the lab guide, from within the Arduino IDE Application.

Q- initial verify/compile/upload is painfully slow.... (if baud rate set to 9600 in sketch?)

A- The first project can take a while. Just be patient, subsequent ones will be much faster. (set

baud rate to 115200 for best results)

Q-How can I tell what my MAC address is of the ESP8266

A-In Arduino, you can use the command: String myMAC = WiFi.getNetworkInfo.macAddress();

which will return a String of your MAC address. Alternatively you can log on to your

router once connected -look for wifi client attached – default is ESP_XX XX XX (Last three of

MAC Address) example MAC – 5C:CF:7F:3A:19:E8 (Host appears as ESP_3A19E8)

Q- Where are the drivers located for the ESP8266, they are copied here on installation of

Arduino IDE ( mine -with a clean build of Win10, installed drivers just after Arduino)

A- C:\Program Files (x86)\Arduino\drivers

Q-Is there a MAC version of Device Explorer / IoT Explorer?

A-Microsoft provide a Node.JS version here: https://www.npmjs.com/package/iothub-explorer.

Alternatively you can look at: https://connectedstuff.io/2017/03/16/cross-platform-iot-mac-

part2/

Q- how do I run device explorer? I just installed it?

A-on Win10 Start – (folder)Azure IoT Hub\ Device Explorer

Page 14: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

10 | P a g e

© 2017 Microsoft

File location: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Azure IoT Hub\Device

Explorer

Q-IoT Hub F1 Tier has the following capabilities (8000 messages per day)

A- the F1 (free) tier will let us send a message once every 11 seconds to get 7854 messages a

day, message meter size 0.5 KB

Q-is IoT hub offered in differnet capacities and pricing options ?

A-Yes. https://azure.microsoft.com/en-us/pricing/details/iot-hub/

https://azure.microsoft.com/en-us/pricing/calculator/

Q-When the number of messages reach to the limit of IoT hub, is there a way to clear the

message from IoT Hub manually instead of relying on my reader app?

A-No..

Q- "What is the purpose of the unified sensor? How come not just the dht22 sensor?"

A- It is the Adafruit sensor library and provides support for various sensor devices

Q- Is there a way to operate a device in "temporary offline" mode: collect data throughout the

day and then sync up when needed? For example like UPS delivery guys use while delivering

packages, then back at the warehouse in the evening upload all that data to the cloud.

A- Yes, we do expect to have "infrequently connected" devices as part of an Azure solution

topology.

Q- I am getting "Fetching NTP epoch time failed! Waiting 2 seconds to retry."

A-This is indicative of an internet connection issue. Make sure the device is connected and the

connection unimpeded by firewall, etc.

Or the most common causes are:

NTP uses UDP Port 123, is this blocked.

Is your device behind a captive portal and does not have real access to the internet?

Page 15: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

11 | P a g e

© 2017 Microsoft

Can your device resolve the NTP host names via DNS?

Some issue in the SSL library. Please make sure that you are using the latest libraries.

The firmware needs to be updated on the Arduino Huzzah

Q- There's a mention of multiple consumers and things using the same "consumer group". What

is that?

A-A consumer group will give each application their own view of the event stream.

You can have different apps 'consume' the data from IoT Hub. This ensures that a given

consumer group will get a message once and only once. More info here:

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features#consumer-groups

Q- Is there a planned support for FreeRTOS?

A-Already support for many languages under FreeRTOS

https://azure.microsoft.com/en-us/blog/benefits-of-using-the-azure-iot-sdks-in-your-

azure-iot-solution/

Q-Where are the Arduino Azure Libraries that are installed, Are they on github? Where

are they installed when downloaded?

A-https://github.com/Azure/azure-iot-arduino

Q- When creating a power BI account for the LAB that works, however, when I try to

login the browser wants to use my azure account.

A-Try opening in a private browser session and log in to Power BI

Q- What are the implications of deleting your IoTHub for any existing IoT devices?

A- Will you need to change the connection string in the devices if you plan to re-create

the hub again with the same name in the future?

Q-The name of my output blob contains a “-“,how can I change or rename it?

A-You will need to delete the blob and recreate it with only regular characters, letters

and numbers.

Q-where can I find sample data sets for powerbi

A-You can review many sample data sets here: https://docs.microsoft.com/en-

us/power-bi/sample-datasets

Q- Are we supposed to keep our device running against IoT Hub all night, so we have

some good data for tomorrow's labs?

Page 16: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

12 | P a g e

© 2017 Microsoft

A-Yes, we will use the data collected, sent to Azure for future labs.

Q-Can the Windows IoT OS run on the Pi Zero? If so, with the reduced compute capacity from

the Pi 3, how functional is it?

A-Unfortunately Windows IoT Core will not run on the Pi Zero.

Q- Why are LED and Blinky App not in sync? "After numerous compiles and reboots it worked!

Its not very consistent/stable. Is that normal.. ?

A- The Two may not be in perfect sync. The monitor and the LED have different refresh rates.

Q- Forgot my deviceportal password.. anyway to reset it ?

A- The easiest way is to reflash. but, there is a possibility that your password is not provisioned.

Please try the default username /password , Administrator/ p@ssw0rd

Q-is there a way in Azure Portal to change the IoT Hub from F1 to S1 Pricing Tier?

A-F1 is kind of an exception. So you can't scale from one of the paid SKU's to the free one, but

also not from (free)F1 to S1. You can always document the name of the hub, the device and the

keys. Then delete the hub as an F1 and create it as an S1 and setup the devices with matching

keys.

Q- The Raspberry is shipped with an USA 110VAC power supply, it doesnt fit here in

Holland !

A-Make sure you have Power Adapter / to convert 120VAC Transformer Power for your

country’s input requirements. Travel Adapter Transformer ? Do you have a Micro USB

power adapter of (2A minimum power output) for a Mobile Phone perhaps?

Q- How to mass produce IoT (ex. Fether) devices with the same code and submit them

to different Azure costumers accounts?

A- Device Provisioning Service (https://docs.microsoft.com/en-us/azure/iot-dps/) allows you to

boot all devices to a single "source" and then from there, it will provision them to the correct IoT

Hub.

As for mass producing Feather devices, you can just upload the code (*.bin) via serial to them.

Q- Can I have the Azure REST API docs reference?

A-initial insights: https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-

framework-rest-connector-api-reference

Q-how can I add a driver to Win IoT Core ?

A- https://docs.microsoft.com/en-us/windows-hardware/manufacture/iot/add-a-driver-

to-an-image

Page 17: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

13 | P a g e

© 2017 Microsoft

Q-Way that "Visual Micro" in the Visual Studio Marketplace that you where showing us

yesterday to compile Arduino code in VS2017?

A-

https://marketplace.visualstudio.com/items?itemName=VisualMicro.ArduinoIDEforVisua

lStudio

Q-Does the "Windows IoT Remote Client" work? I've tried enabling it under "Remote"

on my device, but it's not working.

A-It does not work on RPi3, as there is no GPU support in Win10 Core for the Pi3 (yet).

I believe this works on Pi2 and other devices that support GPUs, and hopefully will

soon on Pi3 as well.

Q- Will these sessions be transcribed or captioned for those of us with hearing

problems?

A- Yes - Skype Broadcast automatically captions within the tool. You can turn it on by

clicking the caption icon in the lower right corner of the video player on-screen.

Q-Does IoT Core support x64?

A- No, the Windows IoT Core does only support ARM and 32-bit. Windows 10 IotT

Enterprise does support x64 architectures.

Q- What about licensing for Windows 10 Iot?

A-If you want to commercialize a project based on Windows IoT Core please have a

look here: https://developer.microsoft.com/en-

us/windows/iot/getstarted/commercialize/commercialterms

Q- How do you set a proxy server on the raspberry pi?

A- netsh winhttp set proxy, see link below:

https://technet.microsoft.com/en-us/library/cc731131.aspx#BKMK_5

Q-Linux vs Win10Iot core for IOT Solution

A- If your goal is building an IoT solution that connects securely to IoT Hub, it might

be a bit easier to do this from Windows 10 IoT Core.

More on Windows 10 IoT Core here: https://developer.microsoft.com/en-us/windows/io

Q- What is a two-class boosted decision?

A-https://msdn.microsoft.com/en-us/library/azure/dn906025.aspx?f=255&MSPPError=-

2147217396

Page 18: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

14 | P a g e

© 2017 Microsoft

Q- Thoughts on power management and using things like small solar panels for

mounted devices?

A- You need a combination of compute and networking hardware that are optimized

for low-power or battery performance. The RPI3 isn't the best example of this, but

MCU-powered devices like the Huzzah along with various narrowband IoT

communications hardware would make a good case -- the combination of super

capacitor / battery / solar is then very viable.

Q-I am having problems logging into my RPi3 what syntax should I use ?

A- http://IPV4_address:8080 computername\administrator and "p@ssw0rd"

Q- How do I flash the IoT Core ISO in the IoT Dashboard without re-downloading? I

downloaded the ISO directly from the link provided in the laptop setup documentation.

A- you have to mount the iso and install the msi inside.

After installation you will find the flash.ffu which is the RPi image here: c:\Program Files

(x86)\Microsoft IoT\FFU\RaspberryPi2\.

in the IoT Dashboard you have to select in Device Type "Custom" and Browse for the

flash.ffu.

Q- how long should it take to boot up the Pi with the Windows IoT Core OS?

A-About 2 minutes based on speed of the Pi and SD Card.

Q- where to get the twin device explorer?

A-https://github.com/Azure/azure-iot-sdk-csharp/tree/master/tools/DeviceExplorer

Q- I see the AllJoyn screen. What are other components defined by OCF or OPC UA are installed

or can be installed on Windows 10 IoT RPi3 device

A-OPC/UA is implemented in .Net. More info here: http://opcfoundation.github.io/UA-.NET/

Q- Device Twins looks great to work with, but what about devices that are connected to external

cloud services like LoraWAN/Sigfox which is then connected to IoT Hub, can Device Twins still

be used ?

A- Yes. Devices need to be connected to Azure IoT Hub to take advantage of this functionality -

- they can connect via a number of different means, including LoRA, Sigfox, etc -- this isn't the

limiting functionality as they are just means of providing different ways of connecting the cloud

Q- Where can I find docs on What objects available to Azure Functions Triggers and queries for

Stream Analytics job?

Page 19: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

15 | P a g e

© 2017 Microsoft

A-Here you'll find documentation, samples and a number of quick starts to try yourself:

https://docs.microsoft.com/en-us/azure/azure-functions/

Q- What is the difference between the etag in the twins properties and the tags that we added

in the lab?

A-a tag is for information purposes only (e.g. where is a device located). a twin property is a

means to communicate with the device (even if it is disconnected). A device can subscribe to

changes of desired properties so it will be notified about them. More info here:

https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins

Q-Can I run Device Explorer and Stream functions simultaneously?

A- Yes. You can run Device Explorer and Stream and Functions at the same time if using

different consumer groups.

Q- Hi Ted, How many languages can be processed by speech & language cognitive

services? What regions of world are covered?

A-https://cognitive.uservoice.com/knowledgebase/articles/954931-current-supported-

languages-for-each-api

Q- Can the facial recognition also work with depth like Windows Hello to make it more

secure and not spoof a person with a picture in front of the camera?

A-Hello is a different technology and FACE can not interact with. It only returns x and y

values no z values. So no depth for FACE, witch makes it a nice to have but not secure

at all for any security application.

Looking at the JSON return on this website (same used by Ted), This particular API

doesn't use 3D data -- but local APIs like Hello do.

https://azure.microsoft.com/nl-nl/services/cognitive-services/face/

Q- Don't see the Local Machine or Remote Machine options when trying to run/debug

in Visual Studio, any thoughts?

A- Click on the standard toolbar Options and Add the Button "Debug Target" to the

Toolbar, Don't choose DEVICE, but choose REMOTE MACHINE.

Page 20: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

16 | P a g e

© 2017 Microsoft

5 LAB CHALLENGES AND Q AND A

Recommendations – Hotspot and a test laptop dedicated to training etc,

5.1 LAB 1- HUZZAH DEVICE SETUP

5.1.1 Lab1 step 10

Q-I am seeing reversed question marks in the Serial Monitor display output

A-The Baud rate was not changed from 9600(the default) (set Baud rate on the Serial Monitor

com port to 115200 baud)

Q-I am seeing connecting, closing and waiting is this normal?

A-Yes, here is what you should experience if you are successfully connecting to your wireless

network and the sketch was edited and uploaded correctly. (Connect, Close, Wait 5 sec, repeat.)

5.1.2 Lab1 step 13

Q-when placing the feather on the board is there a specific location it should be placed on the

breadboard?

A-The breadboard is divided down the middle, best placement is with the USB port pointing out

one end of the breadboard, Huzzah centered over the centerline.

Page 21: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

17 | P a g e

© 2017 Microsoft

Q-What Pin numbers do I use on the Feather Huzzah board (See Appendix)

A-Red wire = 3V3– 3.3vDC regulated power/ 400mA max – Pin 1 on DHT22

-Black wire = GND -DC ground – Pin 4 on DHT22

-Blue wire = Pin11 TXD1 - see appendix – Pin 2 on DHT22

https://www.bing.com/images/search?q=adafruit+huzzah+pinout

DHT22 ,

Page 22: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

18 | P a g e

© 2017 Microsoft

AM2302 , Red=3v3 VCC, Black=GND, Yellow=Pin11 (TXD1) Data

Q-Should we use the resistor that was provided with the DHT22 sensor? What is it for?

A- optional, it could be placed between Pin1 and Pin2 on the DHT22/AM2302 (Power and Data

pins). It is a 10K ohm pull up resistor (Brown, Black, Orange, 5%tolerance(gold))

Q-Are we supposed to keep our device running against IoT Hub all night, so we have some

good data for tomorrow's labs, or should we shut it down?

A-Yes, keep your devices online overnight, sending data to IoTHub

5.2 LAB 2 IOT HUB + HUZZAH

5.2.1 Lab 2 step 3 – start of naming

Your Naming conventions must be unique to your Lab setup.

Resource group, Job names, IoTHub, input alias, source, shared access policy name, outputs,

storage names, containers, output alias, sink, datasets, etc

Page 23: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

19 | P a g e

© 2017 Microsoft

5.2.2 Lab 2 step 8

Pay close attention to the Libraries required (by name), Add the required Libraries

5.3 LAB 3 STREAM ANALYTICS, BLOB STORAGE AND POWER BI

5.3.1 Lab 3 step 16

syntax X.iothub.connectiondeviceid Lines 3 and 14

https://msdn.microsoft.com/en-us/library/azure/mt582049.aspx

Select statement:

https://msdn.microsoft.com/en-us/library/azure/dn835022.aspx

ie X.iothub.connectiondeviceid

sure, X is the alias name, which is what you typed in. in Stream, what shows up under input?

Y is always iothub, it is an object that Azure IoT Hub adds.

Page 24: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

20 | P a g e

© 2017 Microsoft

----------------------copy below, edit with your unique details--- paste into Query window------

SELECT AVG(temperature), Alias name.iothub.connectiondeviceid as deviceName, DATEPART(minute, System.TimeStamp) as minute, DATEPART(hour, System.TimeStamp) as hour, DATENAME(weekday, System.TimeStamp) as day, DATENAME(month, System.TimeStamp) as month, DATENAME(year, System.TimeStamp) as year, INTO powerbi FROM Iothub Group By TumblingWindow (minute, 1), Alias name.iothub.connectiondeviceid SELECT * INTO blob FROM iothub

Link - TumblingWindow

https://msdn.microsoft.com/en-us/library/azure/dn835055.aspx

5.4 LAB 4 AZURE FUNCTIONS

5.4.1 Lab 4 - Follow the lab guide step by step

5.5 LAB 5 INSTALL IOT CORE, HELLO WORLD, BLINKY AND BINKYIOT

5.5.1 Lab 5 - Follow the lab guide step by step

5.5.2 Q and A for the Lab and SD card issues

Q- I tried writing the IoT Core image via the IoT dashboard twice and keep getting a "Failed to

provision..." error of some sort at the end. The SD card looks like it was written to and has

several partitions. Is this still a bad image write?

A-SD card recommendations – 16G Micro SD card class 10 for win10 IoT Core (what ships in the

kit from Adafruit is an 8G Micro SD card)

Page 25: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

21 | P a g e

© 2017 Microsoft

if your config didn't write, but you have a vanilla IoT Core image written to your card, the default

login/password is "Administrator/p@ssw0rd" This will work in the device portal and when

connecting to the device directly via keyboard and mouse

5.5.3 Clearing partition table of an SD Card

In lieu of using your Windows desktop to perform these tasks.

You can also us a tool from https://www.sdcard.org/downloads/formatter_4/index.html

For MAC or Windows OS’s.

Here is how it can be done from your Windows desktop/laptop

Cleaning the partition table from an SD card, in the event of problems with IoT Dashboard.

** approach with caution

It is imperative that you select the correct disk.

Insert the Micro SD card into one of the SD card adapters that shipped with your Adafruit kit

into either an SD card slot on your computer. In the event you do not have an SD card slot on

your computer, use the USB Micro SD card reader that was part of the Adafruit kit.

Press – Windows key, Type “CMD” for (command prompt) (enter)

At the command prompt Type “Diskpart” (enter)

You will be prompted, by User Account Control.

“do you want this app to make changes to your device?”

select (Yes)

Type “list disk” – to display a list of the disks attached to your computer.

– Disk 1 - is my SD Card slot in this example.

(**Caution – you can purge your Primary OS disk if not careful here **)

Page 26: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

22 | P a g e

© 2017 Microsoft

Type “select disk 1” to perform actions on this disk. (note size- MB to identify)

• **Note Disk 1 is now the selected disk.

Type ? (enter) to see available commands.

We are going to “Clean” the selected disk in this instance.

To get help on any of these commands type “help clean” (enter) for example

Page 27: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

23 | P a g e

© 2017 Microsoft

With Disk 1 selected, type “Clean” (enter)

Type “exit” (enter) at the Diskpart command prompt to exit the application command prompt.

From this point you can use either NOOBS or IoT Dashboard to install the Win10IoT core image

back onto the SD card.

5.5.4 NOOBS 2.4.5

One of the Adafruit SD cards comes pre configured with NOOBS 2.4.5 already on it. If you

desire to recreate or restore the SD card. It is straight forward.

Download the .zip file here: https://www.raspberrypi.org/downloads/noobs/

Format your SD Card with a Fat32 partition

Windows key, type “diskmgmt” (enter)

Right click on “disk 1”, or your SD CARD, create a “New Simple Volume”

“Next” at Wizard, accept the defaults *(Size) 7550 MB.

“Next”, Assign a drive letter

Page 28: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

24 | P a g e

© 2017 Microsoft

Format the file system as FAT32

“Next”, “Finish”

At this point you can extract the NOOBS 2.4.5 .zip file to the SD Card \root partition.

Right click on the “NOOBS_v2_4_5.zip”, extract to E:\

Page 29: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

25 | P a g e

© 2017 Microsoft

Once completed, eject the SD Card and remove Micro SD card, insert it into your Raspberry Pi.

On First Boot you will be given choice of OS that you would like to setup the SD Card with.

Raspberian is one of the choices.

With a Wifi or Wired connection on the RP, you can also download and install Windows IoT

Core.

5.5.5 Another IoT Operating System- Ubuntu on RP3b

Q-How to use Ubuntu IoT on Raspberry?

A-https://ubuntu-mate.org/raspberry-pi/

5.5.6 Add detail to Step 8 in lab guide

VISUAL STUDIO 2017 (REQUIRED)

Visual Studio provides many benefits to the developer, cloud operator and IoT device developer.

A fully-featured, extensible, free IDE for creating modern applications for Android,

iOS, Windows, as well as web applications and cloud services.

Page 30: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

26 | P a g e

© 2017 Microsoft

Students need to install Visual Studio Community 2017 (version 15.5.2)

If you already have another 2017 edition installed and licensed, then this step may be

skipped. However, make sure all updates have been applied.

The packages below should cover this and all other Azure IoT workshops and projects you may

encounter as you learn.

1. Visit visualstudio.com to sign up for a free copy and download

2. Start the installation program

3. Select the following Workloads to install during installation:

a. Universal Windows Platform development

b. .NET desktop development

c. Desktop development with C++

d. ASP.NET and web development

e. Azure development

f. Node.js development

g. Data storage and processing

h. Data science and analytical applications

4. The total download for these options is around 24+ GB and installation takes a bit of

time to complete, so please do this prior to start of workshop.

5. After installation, launch Visual Studio to finish configuration of the tool.

a. Check for any updates using Tools > Extensions and Updates

5.5.7 Lab5 step 9

Q- Do we need to run Visual Studio in Administrator mode?

A- No, you don't have to. It can be run in user mode

Q- Running Visual Studio Community w/ Windows Universal installed on Win10 Pro (w/ latest

updates), when I open the 'HelloWorld' MainPage.xaml it gives an error 'VS requires a newer

version of Windows to display this content - Please update to UAP (10.0.16299.0) or later'. Is

there something else I need to install?

A- If you create your UWP, there is a minimum and a default SDK version that you can specify. If

both are on 10.0.16299.x but you are not running the Fall creator's update, it means that the app

cannot run on your development machine. However, if you select ARM, you should be able to

compile and deploy to the RPi.

5.5.8 Lab5 step 16

there is a typo in the Lab Documentation.

Please copy the “Blinky.sln” (HelloBlinky does not contain "BlinkyIOT.sln". )

Page 31: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

27 | P a g e

© 2017 Microsoft

5.5.9 Lab5 step 22

Q- I am getting an error saying "The type of namespace name 'system' could not be

found' thats in line #3

A- Please Follow these steps :

right click on Solution > Restore NuGet packages

right click on Solution > Clean Solution

right click on Solution > Build Solution

Close Visual Studio and re-open.

5.6 LAB 6 PROPERTIES, METHODS, TAGS AND JOBS

5.6.1 Lab 6 step 10

Q- We put in a locate on.. but what happens when IoT core is restarted? does it receive the

location from the cloud or does it store it locally?

A- It is not actually reading location. The backend sets the location for the device, so nothing

really happens with location. The IoT core Configuration data is preserved on the Local SD card

within the Raspberry pi for subsequent restarts.

5.7 LAB 7 AZURE MACHINE LEARNING

5.7.1 Lab 7 - Follow the lab guide step by step

5.8 LAB 8 AZURE COGNITIVE SERVICES

5.8.1 Lab 8 - Follow the lab guide step by step- It has been updated since the Virtual

Bootcamp

5.8.2 Lab 8 step 12

if you get this error: nuget configuration is invalid

go here: C"\Users\(username)\AppData\Roaming and delete the Nuget.config file.

Save your changes in visual studio, close, and restart visual studio.

Page 32: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

28 | P a g e

© 2017 Microsoft

5.8.3 Lab 8 step 14

** Typo Noted

There is a typo in the lab notes, page #14. The 'using' directive is mentioned as

System.Threading.Task. However, VS is selecting "System.Threading.Tasks"

Useful Links: https://www.nuget.org/packages/Microsoft.ProjectOxford.Vision

5.8.4 Lab 8 step 28

Windows.Threading.Tasks - this is the correct namespace

Windows.UI.Xaml.Media.Imaging - this is the correct namespace.

Q- For copies of the code that related to the use of cameras with the pi and iot, see the

following link:

A-https://kevinsaye.wordpress.com/2016/12/30/setting-up-the-iotmachine-learningcognitive-

services-security-system/

5.9 LAB 9 AZURE BOT SERVICES

Other Links of Interest:

• https://dev.botframework.com

• https://www.nuget.org/packages/Microsoft.ProjectOxford.Vision

• https://www.raspberrypi.org/blog/now-added-cucumbers/

• This blog announcement may be helpful to people:

https://blog.botframework.com/2017/12/13/conversational-bots-deep-dive-whats-new-

general-availability-azure-bot-service-language-understanding/

5.9.1 Lab 9 - Follow the lab guide step by step- It has been updated since the Virtual

Bootcamp

Q- Where will we find the code?

A-Text Files for copy and paste are here: https://1drv.ms/f/s!AmHxRmFJqwIzpqZszKIyjSPCcJ6oig

Visual studio file is here: https://github.com/Maarten-Work/VBC-ACS-HOL/releases/tag/v1.1-init

Q- Can you expand upon or provide insights relating to Phases of Innovation?

A- Phase 1: Strategy, investment, resource allocation, project initiations

Phase 2: Concurrent Marketing & Technical Discovery

Page 33: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

29 | P a g e

© 2017 Microsoft

Phase 3: Spiral Development of Business Capability and Architecture for Incubation

Phase 4: Business Capability Transfer & Commitment

Phase 5: Launch

Phase 6: Scale-up

Miller, W. L. (2015). "Innovation Management Theory and Practice: Part 1." Journal of Creating

Value 1(2): 235-255.

Miller, W. L. (2016). "New Fourth Generation of Innovation Management Theory & Practice: Part

2." Journal of Creating Value: 2394964315627259.

Q- What techniques can be used to secure the data when cognitive solution is deployed to the

edge? Provided by default or needs to be designed in?

A-Edge uses Docker. it is up to the developer to implement edge level security such as

encryption.

Q- Please give examples of IoT Edge devices.

A-IoT Edge is our SDK for creating appliances that sit at the edge of a network and provide

hybrid connectivity between the premises and cloud, and that can do things like stream

analytics, run machine learning algorithms, etc. These devices frequently act as gateways --

communicating with numerous sensors and devices on the local network, doing some kind of

pre-processing to the data, and deciding what is sent to the cloud or what needs additional

processing in the cloud. They can also take corrective and notification steps, etc. More info

here: https://azure.microsoft.com/en-us/services/iot-edge/

Devices that can run this SDK are varied -- but some typical devices might look like the

following from Dell and HP:

http://www.dell.com/us/business/p/edge-gateway

https://www.hpe.com/us/en/servers/edgeline-iot-systems.html

Q- Where can I find the BOT Framework Channel Emulator - to download?

A-https://github.com/Microsoft/BotFramework-Emulator

Page 34: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

30 | P a g e

© 2017 Microsoft

6 APPENDIX –

6.1 RASPBERRY PI 3B BOARD DIAGRAM

Page 35: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

31 | P a g e

© 2017 Microsoft

6.2 HUZZAH ARDUINO ESP 8266 BOARD DIAGRAM

Page 36: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

32 | P a g e

© 2017 Microsoft

Page 37: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

33 | P a g e

© 2017 Microsoft

6.3 OTHER IOT DEVICES - HTTP://WWW.MXCHIP.COM/AZ3166

• Developer Site:https://microsoft.github.io/azure-iot-developer-kit

• Learn Azure IoT:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-get-started

• Azure Centified for IoT Devices:https://catalog.azureiotsuite.com/details?title=MXChip-

IoT-DevKit&source=home-page

• Azure IoT Developer Blog:https://blogs.msdn.microsoft.com/iotdev

6.4 OFFLINE VIDEO REPLAY DOWNLOADS

The virtualbootcamp videos can be downloaded for offline viewing.

Click the registration link and navigate to the landing page:

http://aka.ms/iotvirtualbootcamp

1. Please ensure that you are using one of these supported browsers: o Edge, Internet Explorer (version 7 or higher)

o Google Chrome

o Mozilla Firefox

o Safari

Requirements –Adobe Flash Player, must be enabled on your selected browser.

To test your browser:

Page 38: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

34 | P a g e

© 2017 Microsoft

https://infopedia.eventbuilder.com/SystemTest

Once at the landing page you can choose to view the entire unedited recording from each day.

These links are found on the top half of the page in the series description.

If you elect this method, once you click on the recording link and click the Join button a new

browser window should open up and the media file will begin to play.

You will also have control buttons that will allow you to fast forward to whatever content you’d

like to view.

Alternately, you can scroll to the bottom of the landing page to register for and view the

different modules.

Page 39: Azure / IoT Device Virtual Bootcamp-Dec 12-14 FAQ’swikiazurerep.azureedge.net/wp-content/...Files (x86)\Arduino\drivers\dpinst-amd64.exe” or “C:\Program Files (x86)\Arduino\drivers\dpinst-x86.exe,

35 | P a g e

© 2017 Microsoft

Once you click on the Watch Now button, you should be prompted to provide some basic

registration data (first/last name, email, company and a Non-US Residents: communications

checkbox).

After you complete the registration fields, the browser window should pop open and the

playback file will begin to download and cache.

There is one known issue about the ability to save the files: the videos are being served via

HTML5 and if your browser is opening the video in a third party player, you may not be able to

save.

If Flash is enabled in Edge , you will have the option to right click on the video and save-as

(file_name.mp4) to your local host.

Edge –… click the three dots in the top right corner of the browser - Settings, Advanced Settings