Giter Club home page Giter Club logo

az-iot's Introduction

az-iot

Azure IoT Projects

Quantified Desk

Uses arduino mkr1000 and supersonic sensor to measure standing desk height, sending information to Azure IoT Hub and visualizing it in a real-time Dashboard (Python application backend and Pusher/Javascript frontend).

It also detects state changes (sitting -> standing and standing -> sitting) and logs them in a table.

Sample visualization

Arduino project setup is available in this link:

https://www.hackster.io/vmehmeri/quantified-desk-iot-6647bf

Requirements

As a pre-requisite, an Azure IoT Hub must be setup and configured to route device messages to an Azure Service Bus queue. Your Arduino device will also require SSL certificates for connecting to the IoT Hub endpoint.

Configure your IoT Hub message routing under Messaging > Messaging routing > Add (then select your queue)

Backend:

  • azure-servicebus
  • pusher

Frontend:

  • pusher
  • flask

All can be installed with pip

Arduino Libraries:

  • Ultrasonic
  • WiFi101
  • RTCZero
  • WiFiUdp

All those libraries are already available in Arduino Web Editor. The latest code can also be accessed as a Web Editor sketch through the link below:

Arduino Web Sketch

Usage

First configure your connection details in

Start frontend

    python frontend/app.py

On a separate terminal, start backend

    python device_handler.py

Both frontend and backend can run in any computer with access to the Azure URLs.

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.