hello ,
im new begin in espeasy. its good . but i have trobule in dmx plugin. i didnt much info about this .
Anyone know how to dmx out on eps32 ? why its not working on my board . i tried diffent boards. but same result . if i use Wled firmware , it can worked . do you have sample for me know how to do ?
thank you~
DMX OUT on EPS32
Moderators: grovkillen, Stuntteam, TD-er
Re: DMX OUT on EPS32
Hm, documentation for the DMX plugin (P054) is non-existent, unfortunately.
But there is some documentation in the source, for how to wire the module, and what GPIO to use, over here: https://github.com/letscontrolit/ESPEas ... DMX512.ino
Commands can be sent from the Tools page, via http commands from a browser or url-capable tool like curl/wget or from Rules.
Again unfortunately, the GPIO pin on ESP side is hardcoded in the source to GPIO 2 when the plugin is initialized, that's something to fix for ESP32, as most likely, that's a requirement on ESP8266 only, because of the modulation technique used.
I have not used this plugin myself, so have no clue if it will work on ESP32, but the used code doesn't seem to be very complicated, so I expect it will work as intended, when DMX is connected to Serial 1 (don't have the GPIO pins for that available where I am now).
But there is some documentation in the source, for how to wire the module, and what GPIO to use, over here: https://github.com/letscontrolit/ESPEas ... DMX512.ino
Commands can be sent from the Tools page, via http commands from a browser or url-capable tool like curl/wget or from Rules.
Again unfortunately, the GPIO pin on ESP side is hardcoded in the source to GPIO 2 when the plugin is initialized, that's something to fix for ESP32, as most likely, that's a requirement on ESP8266 only, because of the modulation technique used.
I have not used this plugin myself, so have no clue if it will work on ESP32, but the used code doesn't seem to be very complicated, so I expect it will work as intended, when DMX is connected to Serial 1 (don't have the GPIO pins for that available where I am now).
/Ton (PayPal.me)
Re: DMX OUT on EPS32
thank you for your relpy , Ath !Ath wrote: ↑18 Sep 2024, 13:16 Hm, documentation for the DMX plugin (P054) is non-existent, unfortunately.
But there is some documentation in the source, for how to wire the module, and what GPIO to use, over here: https://github.com/letscontrolit/ESPEas ... DMX512.ino
Commands can be sent from the Tools page, via http commands from a browser or url-capable tool like curl/wget or from Rules.
Again unfortunately, the GPIO pin on ESP side is hardcoded in the source to GPIO 2 when the plugin is initialized, that's something to fix for ESP32, as most likely, that's a requirement on ESP8266 only, because of the modulation technique used.
I have not used this plugin myself, so have no clue if it will work on ESP32, but the used code doesn't seem to be very complicated, so I expect it will work as intended, when DMX is connected to Serial 1 (don't have the GPIO pins for that available where I am now).
i tried followed the P054_DMX512.ino before,its not working .
Re: DMX OUT on EPS32
I've created PR #5126 to restrict the fixed GPIO configuration for ESP8266 only, and allow any GPIO on ESP32
You can download a test-build form this GH Actions run but you'll need a (free) Github Account and be logged in to be able to download from there.
You can report your findings here or in the GH Pull request.
The used Serial-1 GPIO pins on ESP32 are GPIO 22 for TX1 and GPIO 26 for RX1 on an ESP32. For other ESP32 models this may be different, but not all ESP32 models have Serial1 defined, so that might need more changes.
You can download a test-build form this GH Actions run but you'll need a (free) Github Account and be logged in to be able to download from there.
You can report your findings here or in the GH Pull request.
The used Serial-1 GPIO pins on ESP32 are GPIO 22 for TX1 and GPIO 26 for RX1 on an ESP32. For other ESP32 models this may be different, but not all ESP32 models have Serial1 defined, so that might need more changes.
/Ton (PayPal.me)
Re: DMX OUT on EPS32
I've done some improvements (that's how I look at it ), and fixed an observation by TD-er.
The improvements are about the ability to select any Serial port and GPIO configuration for ESP32, with the limitation that the Serial port must be a serial port on the ESP, not I2C or CDC, as we can't poke the GPIO pins there.
The build is available from this GH Actions run (GH Account needed to download, as before). Please inform us about your findings.
The improvements are about the ability to select any Serial port and GPIO configuration for ESP32, with the limitation that the Serial port must be a serial port on the ESP, not I2C or CDC, as we can't poke the GPIO pins there.
The build is available from this GH Actions run (GH Account needed to download, as before). Please inform us about your findings.
/Ton (PayPal.me)
Re: DMX OUT on EPS32
@keehee I've done some more fixes and improvements, and added documentation for the DMX512 plugin. A build is planned in this GH Actions run (some more builds started at nearly the same time, so will be somewhat delayed).
Can you please test and report your findings?
Can you please test and report your findings?
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 1 guest