wilsonfonseca / dht11-ttn-rfm95

Send DHT11 sensor data using the Arduino Uno, HopeRF RFM95 LoRa transceiver and The Things Network to IOTA Tangle using Masked Authenticated Messaging (MAM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send DHT11 sensor data using the Arduino Uno, HopeRF RFM95 LoRa transceiver and The Things Network to IOTA Tangle using Masked Authenticated Messaging (MAM)

This is a tutorial how to send DHT11 sensor data using the Arduino Uno, HopeRF RFM95 LoRa transceiver and The Things Network to IOTA Tangle using Masked Authenticated Messaging (MAM).

Requirements

All hardware requirements and how to wire the DHT11 sensor module to the Arduino Uno and HopeRF RFM95 LoRa transceiver is explained in:
https://www.mobilefish.com/developer/iota/iota_quickguide_arduino_rfm95_mam.html

alt text

Documents

More information about The Things Network and The Things Gateway:
https://www.thethingsnetwork.org
https://www.thethingsnetwork.org/docs/gateways/gateway

Features

The project consists of one Arduino sketch and 2 NodeJS files.

  • ttn-otaa-dht11.ino: This sketch is uploaded to the Arduino Uno which reads the DHT11 sensor data and sends it to a LoRa Gateway (e.g. The Things Gateway). If the Gateway is connected to The Things Network server, this data can be seen in The Things Network console.

  • dht_ttn_mam.js: This NodeJS file reads the DHT11 sensor data from The Things Network server. 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_arduino_rfm95_mam.html

About

Send DHT11 sensor data using the Arduino Uno, HopeRF RFM95 LoRa transceiver and The Things Network to IOTA Tangle using Masked Authenticated Messaging (MAM)

License:MIT License


Languages

Language:JavaScript 99.5%Language:C++ 0.5%