Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

PENDING


Arduino Library (AT): https://github.com/OpenDevice/ESP8266AT


Introduction

This guide will show you how to connect (WiFi) devices in the OpenDevice server and send data to save in storage and further visualization in dashboards, all in real time. 

We will use the DHT22 sensor connected to the WiFi ESP8266 module to collect temperature and humidity, and send the server using the MQTT protocol.

Prerequisites

  • OpenDevice server up and running (guide)
  • Arduino IDE
  • ESP8266 module (like NodeMCU)
  • DHT22 sensor

DHT22

NodeMCU DEVKIT 1.0.jpg

NodeMCU

Wiring

dht22_esp8266_wiring.png


Examples:
https://github.com/OpenDevice/opendevice-lib-arduino/tree/master/examples/ESP8266WiFi
https://github.com/OpenDevice/opendevice-lib-arduino/tree/master/examples/ESP8266WiFi_AT


Device Code (Firmware)

The application that is running on ESP8266 is written using Arduino SDK which is quite simple and easy to understand.



Features:

  • AT Firmware and Stand-alone mode
  • Auto-Discovery
  • Remote wifi config
  • Remote Update


Recommended Resources:


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.