Giter Club home page Giter Club logo

datastreamerconnect's Introduction

Note: This repo is now archived. It is still available READ ONLY for forking or historical interest.

Description

Data Streamer Connect is an Open Source Project and Sample that demonstrates the following:

  1. Wrapping Microsoft MakeCode in a Windows UWP application
  2. Adding Blocks and JavaScript for the Arudino UNO using the Windows Provider Model and RemoteArduino built on the Firmata Protocol
  3. Adding a Windows AppService to a MakeCode UWP App to communicate with the Microsoft Hacking STEM Data Streamer Excel Plugin
  4. Adding example Blocks and JavaScript to communicate with Windows 10 platform API
  5. Upgrade Arudino Uno firmware programmatically with a pre-defined hex program

Setting up the development environment

To setup your development machine you will need to install:

  1. Visual Studio Community 2017 or better
    • Install the Universal Windows Platform development workload
    • Ensure that the following optional components are selected
      • C++ Universal Windows Platform tools
      • Windows 10 SDK (10.0.15063.0)

Updating the embedded Microsoft MakeCode instance

Data Streamer Connect is built using Microsoft MakeCode. To update the instance you will need to:

  1. Clone this repository
    • You should create your own branch to contain any changes
  2. Open DataStreamerConnect.sln and build the project (either x86 or x64)
  3. Install Node.js
    • Ensure that Node.js is added to the path
  4. Install Visual Studio Code
  5. Download the Sample PXT target
    • Data Streamer Connect uses the sample PXT implementation as the base for its instance
  6. Open the ZIP file and copy the files from the pxt-sample-master folder to the PXT folder in the Data Streamer Connect repository
    • NOTE: There are existing files in this folder that should not be overwritten:
      • package.json
      • pxtarget.json
      • targetconfig.json
      • docs/static/hero.png
      • libs/core/ns.ts
      • sim/api.ts
      • sim/apiwinrt.ts
      • sim/simulator.ts
  7. Open the PXT folder in Visual Studio Code and then open a CMD Terminal for that folder location
  8. In the terminal window run the following commands:
    • npm install -g pxt
    • npm install
  9. Build the static package that Data Streamer Connect uses by running "pxt staticpkg" in the terminal window
    • The first pass will generate a number of "Skipped data-uri" warning. These can be ignored
  10. Copy the files from PXT\built\packaged except for index.html into the DataStreamerConnect\DataStreamerConnect (this is the root folder of the UWP JavaScript application)
  11. Build the DataStreamerConnect solution or create a Microsoft Store package
    • Only x86 and x64 packages are supported
    • To install the created packages run "Add-AppDevPackage.ps1" with PowerShell and follow the prompts

Streaming data to Microsoft Excel

To use Microsoft Data Streamer you will need to have Microsoft Office installed as well.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

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.

datastreamerconnect's People

Contributors

iotdan avatar microsoftopensource avatar msftgits avatar stammen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

datastreamerconnect's Issues

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.