Indholdsfortegnelse:

ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT: 6 trin
ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT: 6 trin

Video: ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT: 6 trin

Video: ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT: 6 trin
Video: Test ESP8266 Control Servo MQTT Node-Red IoT #3 : PDAControl 2024, Juli
Anonim
ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT
ESP8266 Control Servo Node-RED MQTT (Mosquitto) IoT

Denne gang er integrationen af ESP8266 og Node-RED platform blevet foretaget ved at integrere en aktuator i dette tilfælde en servo styret af PWM med rotation fra 0 til 180 grader.

Fra en HMI- eller SCADA-webopretter på Node-Red-Dashboard, der som base anvender MQTT-protokollen og pubsubclient-biblioteket, der konverterer ESP8266 til MQTT-klient.

Tutorial fuldført:

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

Trin 1: Installer Node-RED

Image
Image

Installer Node-RED

Trin 2: Materialer

Materialer
Materialer

Materialer

1 ESP8266 01

1 ESP8266 031 ESP8266 12F

1 Regulator LDV33CV 5 a 3.3V

1 Chip FTDI Serial

1 Servo Mystery -kontrol PWM

Bemærk: For at fuldføre denne vejledning skal du udføre følgende selvstudier.

Tidligere vejledninger anbefales

icstation.com

Tutorial 1: Installer Lubuntu (Ubuntu)

Tutorial 2: Installationsknude rød platform

Tutorial 3: Installation Node Red Dashboard

Tutorial 4: Installation Modbus TCP IP i Node Red

Tutorial 5: Installation af Mosquitto Broker MQTT i Lubuntu

Tutorial 6: Program ESP8266 med Arduino IDE

Tutorial 7: ESP8266 og Node-RED MQTT GPIO # 1

Trin 3: Videotest ESP8266 Control Servo MQTT Node-Red IoT #3

Image
Image

Videotest ESP8266 Control Servo MQTT Node-Red IoT #3

Trin 4: Billeder

Billeder
Billeder
Billeder
Billeder

Ifølge de udførte tests er MQTT -protokollen meget hurtig, tillader kommunikation mellem Node-RED og ESP8266 at være næsten i realtid.

Fra visse protokoller, vi har testet, overvejer og anbefaler vi at implementere MQTT til dine IoT -projekter

Trin 5: Videotutorial ESP8266 Control Servo MQTT Node-Red IoT #4

Image
Image

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

Flere oplysninger og overførselskode til dette projekt:

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

PDAControl engelsk

PDAControl Español

Youtube Channel PDAControl

Anbefalede: