Platform IoT Cayenne Mydevices & ESP8266 12E NodeMCU

by Jhon_Control in Circuits > Arduino

17282 Views, 28 Favorites, 0 Comments

Platform IoT Cayenne Mydevices & ESP8266 12E NodeMCU

ESP8266 Cayenne.jpg

This time the test is performed on the well-known Cayenne platform.

What is Cayenne? It is a solution for building IoT applications based on platforms known as Arduino, Raspberry pi, ESP8266 and Serial devices, Wi-Fi, Lora devices, also includes a Mqtt API to connect any MQTT client which to use in this case, in This tutorial will explain the following: This tutorial will take a tour of the Cayenne platform.

Official website : cayenne mydevices

This tutorial will show the Connection of an ESP8266 12E NodeMCU and Cayenne.

Tutorial completo: PDAControl Español

Introduccion Plataforma IoT Cayenne mydevices & ESP8266

Full Tutorial: PDAControl English

Introduction Platform IoT Cayenne mydevices & ESP8266

Tutorial Platform IoT Cayenne My Devices and ESP8266 Part 1/2

Tutorial Platform IoT Cayenne my devices and ESP8266  Part 1/2 : PDAControl

Tutorial Platform IoT Cayenne my devices and ESP8266 Part 1/2

1- Create a Starter account in cayenne

2-Download libraries and examples

3- Modifying Arduino IDE Examples

Signal Conditioning & Arduino IDE - Components and Materials Required for Testing

serial ports-cayene.JPG
arduino ide.JPG

ADC(0) Signal Conditioning

You must be very careful when using ADC (0) pin ESP8266 12E, TOUT, ADC (0) or pin 6 are some names by which this input will be identified, its resolution is 10 bits from 0 to 1.0V maximum, We have created a circuit based on a voltage divider and a diode to limit the input voltage in parallel to our light sensor, photoresist or 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.

Components and materials required for testing

ESP8266 01

ESP8266 03

ESP8266 12F

Diode led

Resistors

Converter TTL -USB

Protoboard

Wires


Tutorial Platform IoT Cayenne My Devices and ESP8266 Part 2/2

Tutorial Platform IoT Cayenne my devices and ESP8266  Part 2/2 : PDAControl

Tutorial Read LDR and Turn on a led from Cayenne

In this case you use a module ESP8266 NodeMCU:

1-Download Arduino IDE
2-Configuration and creation of Widgets

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

-We will read the ADC0 (LDR).

Complete Info

dashboard cayenne 2.JPG

- Dashboards Cayenne

More Info: Conecctions & Donwloads

Tutorial completo: PDAControl Español

Introduccion Plataforma IoT Cayenne mydevices & ESP8266

Full Tutorial: PDAControl English

Introduction Platform IoT Cayenne mydevices & ESP8266

More info: cayenne.mydevices.com