ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT

by Jhon_Control in Circuits > Arduino

10467 Views, 20 Favorites, 0 Comments

ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT

esp8266 mqtt servo test mini.jpg

This time the integration of ESP8266 and the Node-RED platform has been made integrating an actuator in this case a servo controlled by PWM with rotation from 0 to 180 degrees.

From an HMI or SCADA Web creator on Node-Red-Dashboard using as base the MQTT Protocol and pubsubclient library converting the ESP8266 into MQTT Client.

Tutorial Complete:

Tutorial ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT #2

Install Node-RED

Simple installation Node-RED IoT Platform connections: PDAControl

Install Node-RED

Materials

20161101_214154.jpg
20161101_213241.jpg

Video Test ESP8266 Control Servo MQTT Node-Red IoT #3

Test ESP8266 Control Servo  MQTT Node-Red  IoT #3  : PDAControl

Images

servo_angulos_PDAControl.JPG
dashboard pc.JPG
Screenshot_2016-11-01-21-57-58.png
20161101_213230.jpg
node pc.JPG

According to the tests performed, the MQTT protocol is very fast,

allowing communication between Node-RED and ESP8266 to be almost in real time.

From certain protocols we have tested, we consider and recommend implementing the MQTT for your IoT projects

Video Tutorial ESP8266 Control Servo MQTT Node-Red IoT #4

Tutorial ESP8266 Control Servo  MQTT Node-Red  IoT #4 : PDAControl
ESP8266 SERVO.jpg

Video Tutorial ESP8266 Control Servo MQTT Node-Red IoT #4

More information and Downloads code on this project :

Tutorial ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT #2

PDAControl English

PDAControl EspaƱol

Youtube Channel PDAControl