Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Update documentation #20

Merged
merged 2 commits into from
Apr 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,31 @@ You should have the following ready before beginning with any board:
- [Arduino IDE 1.6.8](https://www.arduino.cc/en/Main/Software)
- Install the `AzureIoTHub` library via the Arduino IDE Library Manager

# Simple Sample Instructions

## MKR1000 or Zero + Wifi101
1. Open the AzureIoTHub SAMD sample from the Arduino IDE File->Examples menu.
2. Update Wifi SSID/Password in simplesample_http.ino
1. Open the `simplesample_http` example from the Arduino IDE File->Examples->AzureIoTHub menu.
2. Install the `WiFi101` library from the Arduino IDE Library Manager.
3. Install the `NTPClient` library from the Arduino IDE Library Manager.
4. Install the `RTCZero` library from the Arduino IDE Library Manager.
5. Update Wifi SSID/Password in simplesample_http.ino
* Ensure you are using a wifi network that does not require additional manual steps after connection, such as opening a web browser.
3. Update IoT Hub Connection string in simplesample_http.c
6. Update IoT Hub Connection string in simplesample_http.c

## 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esp8266 platform 2.1.0

Not sure if we need 2.2.0. I need aa163f4 to get #13 building.

I remember needing to change fprintf when testing because of esp8266/Arduino@4c587e2.

* 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.1.0 or later
* 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 AzureIoTHub ESP8266 sample from the Arduino IDE File->Examples menu.
3. Update Wifi SSID/Password in simplesample_http.ino
2. Open the `simplesample_http` example from the Arduino IDE File->Examples->AzureIoTHub menu.
3. Update the sketch as directed by comments in the sample to support the ESP8266 board.
4. Update Wifi SSID/Password in simplesample_http.ino
* Ensure you are using a wifi network that does not require additional manual steps after connection, such as opening a web browser.
4. Update IoT Hub Connection string in simplesample_http.c
5. Update IoT Hub Connection string in simplesample_http.c


## Adafruit Feather M0
Expand All @@ -50,10 +56,12 @@ You should have the following ready before beginning with any board:
* Select your Adafruit Feather M0 from Tools > Board menu after installation
2. Install the [Adafruit WINC1500 wifi library](https://learn.adafruit.com/adafruit-feather-m0-wifi-atwinc1500/using-the-wifi-module)
3. Install the `RTCZero` library from the Arduino IDE Library Manager.
2. Open the AzureIoTHub SAMD sample from the Arduino IDE File->Examples menu.
3. Update Wifi SSID/Password in simplesample_http.ino
4. Install the `NTPClient` library from the Arduino IDE Library Manager.
5. Open the `simplesample_http` example from the Arduino IDE File->Examples->AzureIoTHub menu.
6. Update the sketch as directed by comments in the sample to support the ESP8266 board.
7. Update Wifi SSID/Password in simplesample_http.ino
* Ensure you are using a wifi network that does not require additional manual steps after connection, such as opening a web browser.
4. Update IoT Hub Connection string in simplesample_http.c
8. Update IoT Hub Connection string in simplesample_http.c

## License

Expand Down