Giter VIP home page Giter VIP logo

luizcarlosleao / dht11-esp01s Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robertlie/dht11-esp01s

0.0 0.0 0.0 450 KB

Send DHT11 sensor data using ESP-01S ESP8266, MQTT and Raspberry Pi 3 to IOTA Tangle using Masked Authenticated Messaging (MAM)

Home Page: https://www.mobilefish.com/developer/iota/iota_quickguide_esp01s_mam.html

License: MIT License

JavaScript 98.60% C++ 1.40%

dht11-esp01s's Introduction

Send DHT11 sensor data using ESP-01S ESP8266 and MQTT to IOTA Tangle using Masked Authenticated Messaging (MAM)

This is a tutorial how to send DHT11 sensor data using ESP-01S ESP8266, MQTT and Raspberry Pi 3 to IOTA Tangle using Masked Authenticated Messaging (MAM).

Requirements

All hardware requirements and how to wire the ESP-01S (ESP8266) is explained at:
https://www.mobilefish.com/developer/iota/iota_quickguide_esp01s_mam.html

alt text

Documents

More information about the ESP-01S can be found at:
https://www.esp8266.com/wiki/doku.php
https://www.esp8266.com/wiki/doku.php?id=esp8266-module-family
http://wiki.ai-thinker.com/_media/esp8266/esp8266_module_list.png
http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf
https://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf

ESP8266 firmware

The ESP8266 firmware can be found at this location: http://wiki.aprbrother.com/en/Firmware_For_ESP8266.html

Note: A copy of this firmware ai-thinker-0.9.5.2.bin (115000 baud) is also stored in this project.

Features

The project consists of multiple Arduino sketches and NodeJS files.
The most important files are:

  • DHT_mqtt2.ino: This sketch is uploaded to the ESP-01s module which reads the DHT11 sensor data and publishes it to the MQTT broker running on a Raspberry Pi 3.

  • dht_mqtt_mam.js: This NodeJS file subscribes to a MQTT topic and reads the published DHT11 sensor data. This data is processed and published to the Tangle using MAM.

  • mam_receive.js: Extract the stored data from the Tangle using MAM and display the data.

Installation

npm install

Usage

How to use the scripts see:
https://www.mobilefish.com/developer/iota/iota_quickguide_esp01s_mam.html

or watch this YouTube video: https://youtu.be/qZg-3OTrMKE

dht11-esp01s's People

Contributors

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