DMX MQTT CONTROLLER

Aus hyperdramatik
Zur Navigation springen Zur Suche springen

Im Rahmen von Game on Stage ist dieser Code entstanden der es möglich macht über WiFi durch das MQTT Protocol DMX_Signale zu senden. Mehr Details gibt es in der Readme im Git.

benötigte Hardware:

ESP8266 zum Beispiel Wemos D1 oder NodeMCU 

oder

ESP32 zum Beispiel Lolin Lite ESP32

für das Wifi und fürs DMX eine Connector mit einem

MAX485 Chip plus connector   

Software:

Micropython

und diese Skripte aus dem Git:

https://gitlab.com/anton.k.krause/dmx_wifi_esp32_esp8622_mqtt_controller.git


Order of Operation:

1. connect your ESP - if you use the hardware I mentioned you just need to connect it via a micro-USB cable to your computer. BEWARE: in case of the WEMOS you need to install a driver. - because the chip is not directly connected to your computer it communicates to another chip and for this chip you need a driver.

2. install your micropython as mentioned on the website

3. copy the scripts from the git on your computer

4. open up the dmx.py and change the number of your tx_pin

4. disconnected and restart the chip

5. connect to its wifi "WIFI: DMX_MQTT_CONTROLLER" with password: dmxmqttwifi

6. open any browser on your computer and go to the IP 192.168.4.1 by typing it into the address field.

7. choose the wifi you want to connect to enter its password and your brokers IP and Client_ID(should be unique for every chip in the network)

8. choose how many DMX_Channels you want to control - at least 1 up to max. 512

9. after you submit the chip will reset and your program is running

10. the chip will open up topics according to your channels so to put channel one to 100percent send 255 to the topic DMX_CH_1