Mundarija:

ESP8266 nazorati Servo tugunli-RED MQTT (Mosquitto) IoT: 6 qadam
ESP8266 nazorati Servo tugunli-RED MQTT (Mosquitto) IoT: 6 qadam

Video: ESP8266 nazorati Servo tugunli-RED MQTT (Mosquitto) IoT: 6 qadam

Video: ESP8266 nazorati Servo tugunli-RED MQTT (Mosquitto) IoT: 6 qadam
Video: Home Automation: Using 4 Push button push-ON and push-OFF 4 relays with Arduino 2024, Noyabr
Anonim
ESP8266 boshqaruv tugunlari-RED MQTT (Mosquitto) IoT
ESP8266 boshqaruv tugunlari-RED MQTT (Mosquitto) IoT

Bu safar ESP8266 va Node-RED platformasining integratsiyasi aktuatorni birlashtirdi, bu holda PWM tomonidan boshqariladigan servo 0 dan 180 gradusgacha.

HMI yoki SCADA veb-yaratuvchisidan MQTT protokoli va ESP8266-ni MQTT mijoziga aylantiradigan ommaviy kutubxonani ishlatgan.

Qo'llanma tugallandi:

Qo'llanma ESP8266 Boshqarish Servo Node-RED MQTT (Mosquitto) IoT #2

1-qadam: Node-RED-ni o'rnating

Image
Image

Node-RED-ni o'rnating

2 -qadam: materiallar

Materiallar
Materiallar

Materiallar

1 ESP8266 01

1 ESP8266 031 ESP8266 12F

1 LDV33CV 5 va 3,3V kuchlanishli regulyator

1 chip FTDI seriyali

1 Servo sirini boshqarish PWM

Eslatma: Ushbu o'quv qo'llanmasini muvaffaqiyatli bajarish uchun siz quyidagi darsliklarni bajarishingiz kerak.

Oldingi darsliklar tavsiya etiladi

icstation.com

1 -dars: Lubuntu (Ubuntu) ni o'rnating

2 -dars: O'rnatish tugunining qizil platformasi

3 -dars: Qizil boshqaruv paneli tugunini o'rnatish

4 -dars: Qizil tugunli Modbus TCP IP -ni o'rnatish

5 -dars: Lubuntu -da Mosquitto Broker MQTT -ni o'rnatish

6 -dars: Arduino IDE bilan ESP8266 dasturi

7-dars: ESP8266 va Node-RED MQTT GPIO # 1

3-qadam: ESP8266 video-testi Servo MQTT tugun-qizil IOT #3

Image
Image

Video test ESP8266 Control Servo MQTT tugun-qizil IoT #3

4 -qadam: Rasmlar

Rasmlar
Rasmlar
Rasmlar
Rasmlar

Amalga oshirilgan testlarga ko'ra, MQTT protokoli juda tez, Node-RED va ESP8266 o'rtasidagi aloqa deyarli real vaqtda bo'lishiga imkon beradi.

Biz sinab ko'rgan ba'zi protokollardan biz sizning IoT loyihalaringiz uchun MQTTni amalga oshirishni ko'rib chiqamiz va tavsiya qilamiz

5-qadam: ESP8266 video-qo'llanmasi MQTT tugunli qizil IoT-4 boshqaruv servo-si

Image
Image

Video darsligi ESP8266 nazorat qilish servo MQTT tugun-qizil IoT #4

Loyiha haqida qo'shimcha ma'lumot va yuklamalar kodi:

Qo'llanma ESP8266 nazorat qilish tugunli-RED MQTT (Mosquitto) IoT #2

PDAControl ingliz tili

PDAControl Espanol

Youtube kanal PDAControl

Tavsiya: