Yottabits / EspMqttRgbControl

A program for the ESP8266 module that allows to connct to a MQTT Broker and control RGB-LED strips.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EspMqttRgbControl

EspMqttRgbControl is a program for the ESP8266. It allows you to control a single RGB LED or a LED Strip if you connect a few MOSFETs to your ESP. The HSV color model is used to set the color and a fading effect is implemented.

To get startet you need to

Now you should replace the following parts in the Code:

  • WIFISSID to you WiFis SSID
  • WIFIPWD to you WiFis password
  • to your MQTT Brokers address
  • USER to the user name of your MQTT Broker. Leave blank if anonymous login is allowed
  • PASSWORD to the password of your MQTT Broker. Leave blank if anonymous login is allowed
  • /YOUR/TOPIC/PATH to topic path you want to use
  • YOURDEVICENAME to the device name you want to use

If you need to change the output pins, feel free to do so.

About

A program for the ESP8266 module that allows to connct to a MQTT Broker and control RGB-LED strips.


Languages

Language:Arduino 100.0%