Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hongvin/azure-iot-central-with-esp
A simple code to run in NodeMCU in order to work with Azure IoT Central
https://github.com/hongvin/azure-iot-central-with-esp
Last synced: 6 days ago
JSON representation
A simple code to run in NodeMCU in order to work with Azure IoT Central
- Host: GitHub
- URL: https://github.com/hongvin/azure-iot-central-with-esp
- Owner: hongvin
- Created: 2019-05-06T17:34:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-11T08:59:01.000Z (over 3 years ago)
- Last Synced: 2024-11-09T03:38:29.820Z (2 months ago)
- Language: C
- Homepage:
- Size: 144 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure-IoT-Central-with-ESP
## Prerequisite
#### Install DHT Library for ESP boardGo to `Sketch` > `Include Library` > `Manage Libraries...` > `DHT sensor library for ESPx by beegee_tokyo` > `Install`
## Hardware Connection
#### NodeMCU v3 (Lolin)The DHT11 sensor is connected as follows:
| DHT11 | NodeMCU |
| --- | --- |
| VCC | 3.3V |
| DAT | D1 |
| GND | GND |Schematics:
![Schematics](https://i.imgur.com/YXDC1eY.png "Schematics")
## Instruction
1. Download these respiratory as ZIP file and extract.
2. Open `esp_8266.ino` file.
3. Change the following codes.
1. `WIFI_SSID` to your WiFi SSID
2. `WIFI_PASSWORD` to your WiFi Password
3. `SCOPE_ID` to your Scope ID generated in Azure IoT Central
4. `DEVICE_ID` to your Device ID generated in Azure IoT Central
5. `DEVICE_KEY` to Primary/Secondary Key generated in Azure IoT Central
4. Upload and run.*PS: It takes 12 seconds to update once in IoT Central.