Coder Social home page Coder Social logo

esp8266_temp_sensor's Introduction

esp8266_temp_sensor

Wemos D1 mini based temperature\humidity battery powered sensor. Coded in Eclipse, so .cpp not .ino

Main features:

  • DeepSleep and radio off power consumption optimization
  • Measure every 5 min, send data only than readings exceed from thresholds + every one hour
  • rtc mem used for uptime\wakeup counter
  • OTA mode with internal web server
  • sht30 instead DHT22 (much pricise and more simple communication)

to switch to debug (OTA mode) send "1" to "parnik/cmd" (mosquitto_pub -h 127.0.0.1 -t "parnik/cmd" -r -m 1). Message MUST BE RETAINED to sensor read it after deep sleep wake up. to switch from debug mode to normal mode without update send "2" (mosquitto_pub -h 127.0.0.1 -t "parnik/cmd" -r -m 1) to update over the air go to 192.168.1.141/update files .bin from eclipse project dir/build works well

ToDo looks like battery measurement not too precise, 2 weeks shows 4.2, after 0.01 drop in voltage and after can not wake up. a lot of error checking procedures has to be written. But so boring :)

P.S>
At this moment 444 hours uptime from 1800 mA battery. I.e. 18 days. Voltage still 4.2
P.P.S
I can not believe but up to this moment (22.08.2018) uptime is 39 days. Voltage still 4.2
p.p.p.s
8/09 uptime is 1356 hours or 56 days. Voltage still 4.2
p....p.s Still working.
5/11/2018 uptime is 2744 hours. Voltage 3.91 outdoor, temp -3....

so, it stops at 11.11.2018 with voltage about 3.6 vv

esp8266_temp_sensor's People

Contributors

iho77 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

esp8266_temp_sensor's Issues

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.