Coder Social home page Coder Social logo

azure-iot-arduino-protocol-http's Introduction

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.

AzureIoTProtocol_HTTP - Azure IoT HTTP protocol library for Arduino

This library is a port of the compact implementation of the HTTP protocol from Microsoft Azure IoT device SDK for C to Arduino. Together with the AzureIoTHub, it allows you to use several Arduino compatible boards with Azure IoT HTTP protocol.

Contributors

Pull request caution!

All of the files in these Arduino library directories are auto-generated by the Azure IoT C SDK release process, so pull requests cannot be accepted in this repo. Your Arduino-specific contributions will be welcomed with open arms in these locations:

Contributions for code that is not Arduino-specific can be made to the Azuure IoT C SDK

Currently supported hardware

Prerequisites

You should have the following ready before beginning with any board:

Simple Sample Instructions

ESP8266

Sparkfun Thing, Adafruit Feather Huzzah, or generic ESP8266 board
  1. Install esp8266 board support into your Arduino IDE.

    • Start Arduino and open Preferences window.
    • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
    • Open Boards Manager from Tools > Board menu and install esp8266 platform 2.2.0 or later
    • Select your ESP8266 board from Tools > Board menu after installation
  2. Open the simplesample_http example from the Arduino IDE File->AzureIoTHub->ESP8266->Examples menu.

  3. Update Wifi SSID/Password and IoT Hub Connection string in iot_configs.h

    • Ensure you are using a wifi network that does not require additional manual steps after connection, such as opening a web browser.
  4. Access the SparkFun Get Started tutorial to learn more about Microsoft Sparkfun Dev Kit.

  5. Access the Huzzah Get Started tutorial to learn more about Microsoft Huzzah Dev Kit.

Adafruit Feather M0

  1. Install Feather M0 board support into your Arduino IDE.
    • Start Arduino and open Preferences window.
    • Enter https://adafruit.github.io/arduino-board-index/package_adafruit_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
    • Open Boards Manager from Tools > Board menu and install Arduino SAMD Boards and Adafruit SAMD Boards 1.0.7 or later.
    • Select your Adafruit Feather M0 from Tools > Board menu after installation
  2. Install the WiFi101 library from the Arduino IDE Library Manager.
  3. Install the RTCZero library from the Arduino IDE Library Manager.
  4. Open the simplesample_http example from the Arduino IDE File->AzureIoTHub->M0->Examples menu.
  5. Update Wifi SSID/Password and IoT Hub Connection string in iot_configs.h
    • Ensure you are using a wifi network that does not require additional manual steps after connection, such as opening a web browser.
  6. Access the Feather M0 WiFi Get Started tutorial to learn more about Microsoft Feather M0 WiFi Dev Kit.

License

See LICENSE file.

azure-iot-arduino-protocol-http's People

Contributors

az-iot-builder-01 avatar mamokarz avatar

Watchers

 avatar  avatar

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.