Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

Microsoft Azure IoT DevKit

Microsoft joins the IoT trend with the Microsoft Azure IoT DevKit. This package includes hardware with a board fully loaded with sensors and display; software with Arduino libraries and the Visual Studio Code IDE; and services with Azure.

The board is built around the MXChip EMW3166 SoC, a Cortex-M4 MCU with WiFi radio. A peripheral STM32F103CBT6 acts as a programmer-debugger compatible with ST-Link and OpenOCD.

The package is minimal but includes a USB cable and 4 protective rubbers. The form-factor is similar to the BBC micro:bit, and offer the same 25-pin connector. 
Picture

Hardware

The board is really nice, with a large selection of sensors and actuators, most of them from STMicroelectronics:
  • A LSM6DSL accelerometer and gyroscope, 
  • A LIS2MDL magnetometer,
  • A HTS221 humidity and temperature sensor,
  • A LPS22HB pressure sensor,
  • A STSAFE-A100 secure chip, 
  • An audio codec Nuvoton NAU88C10 for the microphone and jack plug for headphones,
  • An OLED 128x64 screen,
  • A RGB LED, three LEDs for Wifi, Azure and User,
  • Two users keys A and B.
Picture
As modern boards now do, this one comes with a ST-Link debugger-programmer.
​
On this part:
  • ​The MXChip EMW3166 SoC, a Cortex-M4 MCU with WiFi radio,
  • The microphone and jack plug for headphones,
  • The emitting IR LED,
  • The micro-USB port,
  • A Reset button.
Picture
Configuration was easy thanks to the step-by-step tutorial. 

The out-of-the-box demo displays all the measures from the sensors on the orange-and-blue OLED display.

Libraries

Microsoft provides all the libraries for the board, although with a heavy multi-layered structure.

​Even though the top-most layer is Arduino-compatible, intermediate layers rely on mbed and Mico.

Some libraries, like the MQTT library, are duplicate of existing Arduino libraries and raise conflicts.

Microsoft also provides an API for OTA Programming.
Picture
Picture

Software

There are many options for the IDE. The standard Arduino IDE and Visual Studio Code with Arduino extension are the official options.
Picture
Picture
Picture
The first option is the Arduino IDE with the boards package.

The second and recommended IDE is Visual Studio Code with the Arduino extension. I'm a big fan of the Visual Studio Code IDE for its rich features and minimal design.

Unfortunately, the Arduino extension acts as a mere front-end and calls the Arduino IDE for every command. As a consequence, each time the Arduino IDE is called, and it can be called three times in a row, the splash-screen pops-up and hides the code.

[Update] Nothing has changed in February 2019 with Visual Studio Code 1.31.0 with Arduino Extension 0.2.25 and Arduino IDE 1.8.8.

This makes the Visual Studio Code IDE impossible to use. 
​
Picture
So I switched to embedXcode and faced no issue, except a conflicting macro definition coming from the header file ip_addr.h.

After commenting a couple of lines, I was able to build, link, upload, run and debug successfully with embedXcode. I reported the issue: it was considered as a bug and swiftly fixed.

External debugging with embedXcode works great.
Picture

Services

The core feature of the DevKit is to test the Azure services.
Picture
Although the trial is said to be free, a credit card is required. In order to confirm the card belongs to a real person, the card is charged then refunded. As Microsoft is based the U.S., bank may levy fees abroad.

This overtly complicated sign-up process for trial period acted as a show-stopper for me.

As possible solutions, Microsoft could launch a simplified Azure Light portal for makers, hobbyists and academia with selected features, or include a voucher inside the DevKit box to redeem for a 3-month-long trial of Azure full edition.
​
Picture
Now, in a very Microsoft way, the APIs include telemetry with a nice warning. [Update] Microsoft has posted two pages: general information at Microsoft Privacy Statement, and a procedure to Disable data collection. 
​
Both the credit card required and the telemetry implementation by default may suggest Microsoft doesn't fully understand the hobbyist and maker community, or the academia. Both are potential strong show-stoppers for would-be users.
Picture

Conclusion

The main goal of this board seems to promote the Azure platform, with enough sensors to populate a database quickly.

If the hardware is impressive and aggressively priced, the firmware and software are heavy. The OOTB demo could take up to 40 seconds to compile, because of the underlying hardware abstraction layers mbed and Mico.

​The credit card required for just testing Azure, the active telemetry implementation, act as strong show-stoppers for many would-be users from the hobbyist and maker community, as well as the academia. 

​Let's hope Microsoft improves the software and service offering.
Picture

Pros

  • Great board with a large selection of sensors and actuators
  • Libraries and documentation available

Cons

  • Arduino extension for Visual Studio Code impossible to use
  • Azure overtly complicated sign-up process for trial period 
  • Built-in telemetry activated by default!

Wrap-Up

  • Great value
  • Great hardware, good documentation
  • Poor software, unaccessible service 
  • Not hobbyist and maker friendly 

Links

  • Website
  • Wiki
  • Forum 
  • Hardware
  • Software
  • mbed website
  • Mico website
  • Azure services
Picture
Picture

Posted: 18 November 2017
Updated: 10 April 2018, 04 February 2019, 
08 February 2019
Powered by Create your own unique website with customizable templates.