GithubHelp home page GithubHelp logo

tomj / esp8266wifitmpsensor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jessedc/esp8266wifitmpsensor

0.0 2.0 0.0 45 KB

Using the ESP8266 and Adafruit MCP9808 to log the temperature to thingsspeak

License: MIT License

C 7.19% C++ 92.81%

esp8266wifitmpsensor's Introduction

Esp8266 WiFi Temperature Sensor

A basic sketch showing how to use the ESP8266 with the Adafruit MCP9808 to log the ambient temerature to thingspeak.com

Goals

The goal of this sketch is to report the ambient temperature to a remote/IOT server. As a bonus is it easy to also send the WiFi signal strength.

This sketch simply demonstrates basic WiFi and HTTP usage of the ESP8266 as well as a simple I2C sensor. The MCP9808 library is build for Arduino but works fine running on ESP8266.

Outcomes

The microcontroller and sensor will report the ambient temperature of a small solar storage project. The live data generated from this sketch can be seen here.

This is a rudimentary first pass of installing the sensor with blu-tack.

Hardware

Prerequisites

Setup

Unfortunately this is not a tutorial, if you've already got your ESP8266 running from the Arduino IDE there's nothing much else you need to do to run this sketch.

  • Get your IDE setup and running
  • Install the Adafruit library, then install this library into your Arduino library directory
  • Copy the included Settings.example.h to Settings.h and set your appropriate WiFi and Thingspeak settings.

References

esp8266wifitmpsensor's People

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.