Introduction Platform IoT Cayenne mydevices & ESP8266

What is Cayenne? It is a solution for building IoT applications based on platforms known as Arduino, Raspberry pi, ESP8266and Serial devices, Wi-Fi, Loradevices, also includes a Mqtt API to connect any MQTTclient which to use in this case, in This tutorial will explain the following:

Tutorial Read LDR and Turn on a led from Cayenne

1-We will control GPIO 04 (Led) in this case should make changes to the default example.

2-We will read the ADC 0 (LDR).

Arduino IDE

During tests it is denoted that cayenne allows to send values and the dashboard allows to preview the value and it facilitates when adding the associated widgets to that value.

For the control of the Led in Arduino IDE, the function log of cayenne by default is configured, which technically listens to the parameters of any channel that sends data from Cayenne to the ESP, in this case the widget button.

It takes the value of the channel assigned to the button and that value goes from String to int to activate the GPIO 04.

Full Downloads Bottom …

Dashboard Cayenne Mydevices

Note: The ESP8266 module must be connected to cayenne in order to create and display the dashboards.

Contenido

Translate:

Subscribe

Recommended

Industrial Integrations

a Coffee …

PDAControl started as a hobby and grew to a more complete testing space and better documentation,
Without considering these useful contributions or simply want to contribute to keep growing - here a link.