C/FreeRTOS ESP8266 code to read sensor's data and send it to IOTA-Tangle over Streams Gateway
ESP8266 is one of the microcontrollers for IoT applications par excellence. Created and manufactured by Espressif, it was the first microcontroller of this company to become popular, it is widely used for both educational and industrial development due to its great versatility, reliability and very low cost. At I2T we wanted to add it due to its extensive use in the development community.
In this repository you will find explanations and step by step for the development of a system that every certain time interval (which you will set) will collect data from 5 sensors (including internal sensor), this data package will be sent to a special gateway designed by IOT2TANGLE that you will have on the local network. This gateway will be in charge of adding these packages to Tangle Network of IOTA, through Streams.
IOT2TANGLE provides with code to integrate the ESP8266 and a give set of generic sensors (I2T sensor’s stack). These are just suggested sensors and you can always add some other peripherals required by your project, however the sensors listed here are fully compatible and will be automatically detected when you connect them.
It is not necessary to have all the sensors listed here, the code is able to detect which sensors were connected. In the case of not connecting any sensor, the only real data that will be displayed on the Tangle will be the Internal Voltage of ESP8266.
This is the list of Sensors/Modules that you can connect and it will be recognized immediately: