Giter VIP home page Giter VIP logo

esp8266-dht11's Introduction

esp8266-dht11

esp8266에서 MQTT 프로토콜을 사용해 온/습도 데이터를 측정 결과를 MQTT 브로커로 전송하고
MQTT 브로커로부터 입력이 들어오면 적절한 콜백 함수를 실행하는 코드입니다.


Compile

해당 소스코드를 컴파일 후 디바이스에 업로드 하시면 됩니다.


Hardware

예제에서 사용된 디바이스

  • Wemos D1 R1
  • DHT11
  • IR Remote Sender

해당 예제에서는 DHT11 센서를 사용한 온습도 데이터 측정과, 서버로부터 입력이 들어올 경우 IR 센서를 통해 특정 값을 보내는 콜백 함수를 사용하고 있습니다. HTTP Client와 같은 추가적인 모듈을 사용할 경우, 추가되는 메모리 사용에 따른 기기(D1 R1) 변경을 고려해야 할 수 있습니다.


FlowChart


esp8266-dht11's People

Contributors

youngmoneee 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.