DMX MQTT CONTROLLER: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 18: Zeile 18:


Order of Operation:
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 [https://docs.wemos.cc/en/latest/ch340_driver.html driver]. - because the chip is not directly connected to your computer it communicates to another chip and for this chip you need a driver.
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 [https://docs.wemos.cc/en/latest/ch340_driver.html 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
2. install your micropython as mentioned on the website


3. copy the scripts from the git on to the chip
3. copy the scripts from the git on your computer
 
4.


4. disconnected and restart the chip
4. disconnected and restart the chip

Version vom 26. März 2020, 20:45 Uhr

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  

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.

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