Skip to content
Send DHT11 sensor data to the IOTA Tangle using MAM and Raspberry Pi 3
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib For the library mam.client.js the license from https://github.com/iot… Jul 10, 2018
.gitignore Initial version Jul 9, 2018
LICENSE.md Create LICENSE.md Jul 9, 2018
README.md Update title Jul 16, 2018
mam_publish.js Replace tab to spaces Jul 16, 2018
mam_receive.js
mam_sensor.js
package-lock.json Add moment dependency Jul 16, 2018
package.json
sensor.js Replace tabs with spaces Jul 16, 2018

README.md

Send DHT11 sensor data to the IOTA Tangle using MAM and Raspberry Pi 3

This is a tutorial how to send DHT11 sensor data using Raspberry Pi 3 to IOTA Tangle using Masked Authenticated Messaging (MAM).

Requirements

All hardware requirements and how the Raspberry Pi is prepared is explained at:
https://www.mobilefish.com/developer/iota/iota_quickguide_raspi_mam.html

alt text

Features

The project consists of 4 main files and should be executed on the Raspberry Pi.

  • mam_publish.js: Publishes randomly generated numbers to the Tangle using MAM.
  • mam_receive.js: Extract the stored data from the Tangle using MAM and display the data.
  • sensor.js: The DHT11 sensor data (temperature and humidity) is read and displayed.
  • mam_sensor.js: The DHT11 sensor data is read and published to the Tangle using MAM.

Installation

npm install

Usage

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

or watch this YouTube video: https://youtu.be/atJ-ZT7aKoA

You can’t perform that action at this time.