GithubHelp home page GithubHelp logo

toke2000 / esptemplogger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guibom/esptemplogger

0.0 1.0 0.0 598 KB

ESP8266 + Attiny85 + DHT22 Temperature/Humidity Logger

License: MIT License

Arduino 100.00%

esptemplogger's Introduction

ESPTempLogger

alt text

Basic ESP8266 + Attiny85 + DHT22 Temperature and Humidity logger. I've made this to experiment a bit with the ESP8266 wifi module, and hopefully make a remote sensor that posts the data to my server.

I wrote the code to work with both an atmega328 and a attiny85. The mcu sleeps in between readings, consuming about 35uA while powered down (the ESP module, even when chip-disabled, is responsable for about 80% of that).

The UDP messages are very specific to my use case; I have a node-red UDP listener that receives JSON strings from the logger and forward them as MQTT messages. But it should be very easy to change it to send whatever you might need.

Make sure your ESP8266 is using firmware version 0.922, and it's set to use 9600 baud.

It's way easier to tweak the code using a full arduino, then later compiling it for the tiny85 (note that there isn't a lot of space left).

To see the debug messages, make sure to uncomment the line //#define DEBUG

I've used this simple schematic:

alt text

Another similar project that posts temperature to ThingSpeak can be found at http://www.instructables.com/id/ESP8266-Wifi-Temperature-Logger/. I've used this project as a reference for mine.

esptemplogger's People

Contributors

guibom avatar

Watchers

 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.