Is the DevKit Microsoft hardware?
No. The hardware manufacturer is MXChip, an established player for IoT hardware. Through a partnership between MXChip and Microsoft, we rapidly iterated on the design and engineering of an Arduino compatible board with rich pre-installed sensors. Microsoft’s goal is to boost productivity for developers creating and prototyping IoT applications with awesome Visual Studio Code tooling that leverages the power of Microsoft Azure.
Why Arduino compatible?
Based on industry data and customer research, we believe Arduino has a powerful and active community among professional makers. We want to be part of this strong community rather than building something from scratch.
Are you going to open-source the product?
Yes, we open source the firmware, toolchains, and all samples. Also, the board itself will be open-source hardware. That means we will release all original hardware design files.
Our plan is to do that as soon as we reach a stage where the entire framework is stable.
Where can I buy it?
You can purchase the kit from our hardware partner’s product page: https://aka.ms/iot-devkit-purchase
Command window seems stuck and there is no progress update for a while.
This could be due to putting the Windows command window in “Selection” mode. To verify, check the command window title:
If you see select on the title, this means you are in Selection mode. It prevents refresh of the output, that is why you cannot see any progress.
To resolve, press any key within the command window area and you see select disappear in the title.
Homebrew permission error on macOS.
When you run
install.sh to install development environment on macOS. You may get a Homebrew permission error:
To resolve, follow the instruction of Homebrew by running:
Windows Defender SmartScreen prevented an unrecognized app error.
Sometimes SmartScreen prevents applications you know are not bad – for example, it’s a CMD or VBS script.
To resolve, click on the ‘More info’ link and then click the ‘Run anyway’ button. You can check this knowledge base article for more details.
Cannot connect to a Wi-Fi hotspot.
This may be because the Wi-Fi network needs extra certification (other than WPA/WPA2) or open Wi-Fi requires a captive portal to log in such as Starbucks Wi-Fi.
To resolve, try to use Wi-Fi with normal WPA/WPA2 authentication.
Cannot connect to 5 GHz Wi-Fi.
Currently, DevKit only can connect to 2.4 GHz Wi-Fi, 5 GHz is not supported due to hardware restrictions.
Cannot log in Azure as access token expired.
Due to a previous Azure login, your access token may have expired.
To fix, delete the web browser history that includes login data and run the provisioning task again. Alternatively, you can try to log in to Azure manually by launching Command Prompt and running
Page hangs when log in Azure.
This issue can occur if you have logged in multiple Azure subscriptions in the browser.
To resolve the issue, please clear the browser’s cache and cookies.
For more details please check I can’t sign in to manage my Azure subscription.
Creating new Azure IoT Hub fails.
You may encounter the error message as the screen below:
This is because Azure IoT Hub only allows one free hub per Azure subscription. In this case, you may select the existing IoT Hub instead of trying to create a new one.
Visual Studio Code cannot find Arduino IDE.
Occasionally, when you launch Visual Studio Code, you are prompted with an error message that it cannot find the Arduino IDE or related board package.
To resolve, close Visual Studio Code, then launches the actual Arduino IDE once. Subsequently, when you open Visual Studio Code it should correctly locate the Arduino IDE path.
Get “Error: AZ3166: Unknown package” when using
This is a known issue caused by the platform index of the board AZ3166 is not refreshed.
To resolve, we need to refresh the platform index:
Open Arduino IDE, find Tools > Board: ‘local board name’ > Boards Manager….
Wait until all platforms index is refreshed and then close Arduino IDE.
Re-open VS Code to run
Additional warnings during compilation.
In certain environment, lots of warnings message pops up in the VS Code OUTPUT windows when you invoke
Arduino Upload or
task device-upload to compile the project.
It is caused by the incorrect warning handling between Visual Studio Code Arduino extension and Arduino IDE. To solve this problem, the work around is to uninstall Arduino IDE from your local system and install the latest version of Arduino IDE.
Compilation error for Azure Function.
When the mini solution of Shake-Shake and DevKit Translator do not work, in Azure portal, you got the following error for the Azure Function you deployed:
2017-11-15T03:24:23.426 Function compilation error
2017-11-15T03:24:23.426 run.csx(11,23): error CS0234: The type or namespace name 'Devices' does not exist in the namespace 'Microsoft.Azure' (are you missing an assembly reference?)
2017-11-15T03:24:23.426 run.csx(95,15): error CS0246: The type or namespace name 'ServiceClient' could not be found (are you missing a using directive or an assembly reference?)
2017-11-15T03:24:23.426 run.csx(95,45): error CS0103: The name 'ServiceClient' does not exist in the current context
And you could not find porject.lock.json in files of the Azure Function. This is caused by a new Azure Function issue.
Here is the workaround:
Platform featurestab of the deployed Function App, click
- Add a new Application setting named
WEBSITE_USE_PLACEHOLDERwith value 0.
- Save and Restart the Function App.
Get “serialport.node” error when using
If the Node.js installed on your machine is not a LTS one, you might get below error when using the
To resolve, please uninstall the existing Node.js and then re-install the package.
Get “Error Presented: #include errors detected” when opening a project
The error message is Error Presented: #include errors detected. Please update your includePath.
This is an issue coming from the Microsoft C/C++ extension. Switch the IntelliSense engine to “Tag Parser” can fix this issue:
- Press F1 and key in ‘settings’ and select the
Preference: Open User Settings
- Set the IntelliSense engine to “Tag Parser”
- Press F1 and key in ‘cpp’ and select the
C/Cpp: Edit Configurations
- Open the c_cpp_properties.json file, add the path of Arduino package into the include path
You can get more detail from C/C++ for VS Code.