Azure Tips and Tricks Part 96 - Getting up and started with Azure IoT MXChip

2 minute read


Most folks aren’t aware of how powerful the Azure platform really is. As I’ve been presenting topics on Azure, I’ve had many people say, “How did you do that?” So I’ll be documenting my tips and tricks for Azure in these posts.

The Complete List of Azure Tips and Tricks

Available Now!

Getting up and running with Azure IoT MXChip

I recently was given an Azure IoT DevKit that included the new MXChip. The chip is very impressive and while it supports a lot of amazing features, the following caught my eyes:

  • OLED,128×64
  • 2 user button
  • Motion sensor
  • Magnetometer sensor
  • Atmospheric pressure sensor
  • Temperature and humidity sensor

On first boot, it wanted me to configure my Wifi. Since it automatically creates an AP, I was able to use my iPhone to connect to the MXChip’s AP and enter my home network for it to connect to.

Great! It now reboots and I’m on my home WiFi.

Note It can only store one WiFi profile, so if you take it into your office and bring it back home then you’ll be configuring it a lot.

Next up was noticing that my firmware needed to be upgraded. Thankfully this is as simply as navigating to this page and placing the files on the root of the MXChip once you plug it into your USB port.

Now you probably want to test your device by pressing the B button. This cycles through various features of the device as shown below.

Now all that is left to do is to download a script that installs all necessary files along with VS Code. If you already have some of them installed, the script will can and skip them.

Get it here for Windows or Mac

It contains the following:

  • Node.js and Yarn: Runtime for the setup script and automated tasks.
  • Azure CLI 2.0 MSI - Cross-platform command-line experience for managing Azure resources. The MSI contains dependent Python and pip.
  • Visual Studio Code (VS Code): Lightweight code editor for DevKit development.
  • Visual Studio Code extension for Arduino: Extension that enables Arduino development in Visual Studio Code.
  • Arduino IDE: The extension for Arduino relies on this tool.
  • DevKit Board Package: Tool chains, libraries, and projects for the DevKit
  • ST-Link Utility: Essential tools and drivers.

That’s it. Now you can begin working with a project here.

Happy Coding!

Want more Azure Tips and Tricks?

If you’d like to learn more Azure Tips and Tricks, then follow me on twitter or stay tuned to this blog! I’d also love to hear your tips and tricks for working in Azure, just leave a comment below.

Leave a Comment