Giter VIP home page Giter VIP logo

devkit-sdk's Introduction

⚠️ ARCHIVED

This repository is no longer maintained and devices can no longer connect to IoT Hub.

Please refer to the following sources for further MXCHIP needs:

  1. Connect an MXCHIP AZ3166 to Azure IoT - A guide to connecting the MXCHIP using Azure RTOS
  2. Azure SDK for Embedded C for Arduino - A purpose build SDK for connecting Arduino devices to IoT Hub
  3. New CA certificate support - Workaround to add missing certificates to existing codebase

IoT DevKit SDK

This SDK is used to develop and prototype Internet of Things (IoT) solutions leveraging Microsoft Azure services and the MXChip IoT DevKit (a.k.a DevKit) which is an Arduino compatible board with rich peripherals and sensors.

With this SDK, you can use Visual Studio Code with Arduino Extension to rapidly build a full-fledged IoT application that integrates multiple services like Azure IoT Hub, Logic Apps and Cognitive Services.

Contribution

There are a couple of ways you can contribute to this repo:

  • Ideas, feature requests and bugs: We are open to all ideas and we want to get rid of bugs! Use the Issues section to either report a new issue, provide your ideas or contribute to existing threads.
  • Documentation: Found a typo or strangely worded sentences? Submit a PR!
  • Code: Contribute bug fixes, features or design changes.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Documentation

MXChip IoT DevKit

The DevKit board features ARM Cortex-M processors. At its core, it comes with a SoC module that combines the power of the ST Microelectronics STM32F412 processor and Cypress BCM43362 for WiFi. For on-board peripherals, it has an OLED screen, headphone and speaker output, stereo microphone and abundant sensors such as humidity & temperature, pressure, motion (accelerometer & gyroscope) and magnetometer.

Get a kit

You can purchase the DevKit from: https://aka.ms/iot-devkit-purchase. We have opened purchase channel on DFRobot, SeeedStudio and Plugable

Data / Telemetry

This project collects usage data and sends it to Microsoft to help improve our products and services. Read Microsoft's privacy statement to learn more.
If you choose to participate, you can stop at any time by following this document.

devkit-sdk's People

Contributors

andxu avatar arthma avatar capfish avatar chentanyi avatar dilin-ms avatar dooriya avatar douglas-johnston avatar erich-wang avatar formulahendry avatar furqanmm avatar helenlivsc avatar hellyzh avatar huhuqql avatar ihere1 avatar jerryyangkai avatar jmservera avatar leetcode-testlogin avatar likidu avatar lirenhe avatar liydu avatar lovettchris avatar microsoftopensource avatar msftgits avatar obastemur avatar ryanwinter avatar seank-com avatar shishirpatil avatar sneezry avatar zhengszh avatar zunhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devkit-sdk's Issues

console trigger in VS code

When pressing shift+ctrl+P, ">" keeps appearing. To provision/deploy/build, we have to manually remove '>' then type 'task provision'... Can we mention this in our documentation?

Install failed at the 'checking Arduino install' step

I did unstall the Arduino IDE and delete the folder 'C:\Users\arthma\AppData\Local\Arduino15'

Then the installation failed at the 'checking Arduino install' step:

  • checking Arduino install
    × Arduino install: Cannot find package path at C:\Users\arthma\AppData\Local\Arduino15
    (node:10364) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Cannot find package path at C:\Users\arthma\AppData\Local\Arduino15

Issues with function_app.py

Per Sheng, it needs to convert into Node.js because:

  1. .py requires 2.7.9 version of python installation
  2. UTF-8/bom issue

Board detection shall be improved

Currently VS Code only check the deviceId and vendorId, but they are ST DAPLink, and all Nucleo board has the same.
So we shall have another id / name to detect the devkit, like the disk name?

Yarn installation output huge progress bar

I know this is Yarn's problem, but it seems overwhelming and not much useful to show this kind of progress with several screens. Will be great we can find a configuration from Yarn to disable such verbose mode:

message-yarn-huge-progress

Configure WiFi needs to open a specific solution

Now it needs to open a specific solution in order to run task config_wifi to configure WiFi connection, which is not intuitive. As such configuration is independent to any solutions.

Suggest to enable do such configuration via VS Code command like DevKit: Configure WiFi and triggered outside of the solution.

Expose progress during az deploy

Currently az deploy does not expose enough progress information and this step normally takes minutes to complete. We need to expose more context.

If we run the Python command within command line, it actually shows such information:

snip_20170419135328

Check az version of pre-existing

Given it is less than 2.0, we should notify user -

  1. We need azure CLI v2.0
  2. It may have breaking changes and ask them to check the related docs.
  3. Customer can uninstall CLI then our script can help install it in complete way.

should delete old version AZ3166 before copy when install

When we install packages to "C:\Users{UserName}\AppData\Local\Arduino15\packages\AZ3166" during azure-install.cmd running, we should delete old content before paste new content. Because old content in this folder may cause the "Microsoft Azure IoT Developer Kit" page can not open normally when board connected.

Install failed at the python step

× install Azure CLI 2.0: Command failed: pip install --user azure-cli
Command "python setup.py egg_info" failed with error code 1 in c:\users\arthma\appdata\local\temp\pip-build-c0ibf8\cffi
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Install failed at the 'checking Arduino install' step - Libraries

I did unstall the Arduino IDE, re-install it after I got #97 issue, then got below error.
× Arduino install: Cannot find lib path at C:\Users\arthma\Documents\Arduino\libraries
(node:1912) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Cannot find lib path at C:\Users\arthma\Documents\Arduino\libraries

Workaround: manually create the folder,

Open WIFI not supported

At some circumstances, WIFI AP indeed does not have any password. Currently setting a blank password gets failing. Is it possible or necessary to support users under Open WIFI?

Retire st-flash

Since we are going to switch to OpenOCD as #93 , we need to retire st-flash within installation package.

pip checking failure

looks like the installation script is trying to check if pip has been installed using "pip --version", which failed if pip hasn't been installed.

Better name of mini solution and its folder

We currently use AzureIoTHub as folder name for mini solutions and AzureIotHubExample for shake shake scenario folder. Suggest to use a more relevant name:

  • Folder name: Mini Solutions
  • Solution name: Shake for a tweet, Send tweet by voice

The installation script reinstall my Node.js

I already have Node v6.7.0 installed, but when I run the installation script, it uninstalls it and then install the v6.10.2. Do we really need the Node v6.10.2 than v6.7.0? If Node v6.x is enough, we do not need uninstall the existing Node v6.x and install the latest v6.10.2. It would take more time for the installation .

image

No option to choose VS Code Insiders

Instead of VS Code stable version, a lot of people are using VS Code Insiders in their daily work. One fact is that all the members of VS Code team are using VS Code Insiders. Most the settings, extensions, themes are properly configured in VS Code Insiders. So those people would be willing to work with DevKit in VS Code Insiders.

There would be better to have an option to install the CPP and Arduino extension in VS Code Insiders.

Failed when checking set custom board manager url

Package http://10.172.15.140:8080/job/AzureIoTDeveloperKit/lastSuccessfulBuild/artifact/usb_install_102.zip.

Issue
Step: checking set custom board manager url
Throw the error: Command failed: "arduino_debug.exe" --pref boardsmanager.additionl.urls=https://raw.githubusercontent.com/VSChina/azureiotdevkit_tools/master/package_azureboard_index.json --save-prefs
"arduino_debug.exe" is not recognized as an internal or external command, operable program or batch file.

Expectation
Block the installation, shall be fixed.

Intermittent crash when use the #127 pacakge

  1. Set the wifi to MSFTLAB, the board can't start up properly, it was blocked on IoT initialziationi.
  2. Change another Wifi, the board can start properly, but several mins later it's dead

Search for installation path of python and vscode

Currently we are trying to get the information from system variables but some users may not add the installation paths into system PATH variables. Let's find a reliable way to get the info, like registry.

Wi-Fi connection setup experience improvement

currently we're asking the user to input the SSID, should we give a list of available SSIDs and let user select? I got this feedback from Joe "if it is asking me for the SSID without giving a list to select from, it is not helpful".

instead of saying "Fault", use a friendly message

If the Dev Kit failed to connect to Wi-Fi, there will be a "Fault" displayed at the bottom of the little screen.
This is misleading (e.g. if your iPad cannot connect to Wi-Fi, it will not give you a "Fault"), would be better to have a clear message (e.g. No Wi-Fi or Not Connected - depending on how we organize the display space).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.