Skip to content

onebytegone/iot_esp8266_dht11_adafruitio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 Temperature/Humidity IOT Device

This is a IOT device that transmits temperature and humidity data to Adafruit's IOT data service, Adafruit IO.

Hardware

  • ESP8266 Board
  • DHT11 (or DHT22 with config.h adjustments)

Compile/Upload

git clone git@github.com:onebytegone/iot_esp8266_dht11_adafruitio.git
cd iot_esp8266_dht11_adafruitio

Open iot_esp8266_dht11_adafruitio.ino in the Ardunio IDE.

Most likely you will want to edit the following fields in config.h.

  • IO_USERNAME: This is your username on io.adafruit.com
  • IO_KEY: The AOI key for your account (See this for more info)
  • IO_HUMIDITY_FEED: The key for the humidity sensor on io.adafruit.com
  • IO_TEMPERATURE_FEED: The key for the temperature sensor on io.adafruit.com
  • NETWORK_SSID: The name for your WiFi network
  • NETWORK_PSK: The password for your WiFi network

Board Definitions

The board definition for the ESP8266 is available via the Boards Manager in the Arduino IDE (Tools > Board > "Boards Manager...")

Libraries Needed

The following libraries need to be installed to build the source code. These are available via the Library Manager in the Arduino IDE (Sketch > Include Library > "Manage Libraries...")

Build Configuration

These settings will vary based on your board. The photo below contains the configuration I used, mainly for posterity sake.

License

This is released under the MIT license. See LICENSE.md for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published