DMX OUT on EPS32
Moderators: grovkillen, Stuntteam, TD-er
DMX OUT on EPS32
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~
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~
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)
Re: DMX OUT on EPS32
thank you so much Ath ! i will dowload and test report to you here .Ath wrote: ↑29 Sep 2024, 21:28 @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?
Re: DMX OUT on EPS32
I download the Bin-ESP32-collection_A_ESP32_4M316k_ETH-20240929_PR_5126_11095308579 flash in the esp32 have errorAth wrote: ↑29 Sep 2024, 21:28 @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?
[23:58:15]rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
[23:58:15]configsip: 0, SPIWP:0xee
[23:58:15]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[23:58:15]mode:DIO, clock div:2
[23:58:15]load:0x3fff0030,len:1184
[23:58:15]load:0x40078000,len:13132
[23:58:15]load:0x40080400,len:3036
[23:58:15]entry 0x400805e4
Re: DMX OUT on EPS32
What exact board do you have?
Can you read the inscription on the ESP32 chip?
Which file did you flash and how?
For example file with "factory" in the name to be used when flashing via serial and the one without "factory" in the name for flashing via WiFi.
Can you read the inscription on the ESP32 chip?
Which file did you flash and how?
For example file with "factory" in the name to be used when flashing via serial and the one without "factory" in the name for flashing via WiFi.
Re: DMX OUT on EPS32
i can flash the Bin-ESP32-normal_ESP32_4M316k_ETH-20240929_PR_5126_11095308579 but its not incloud the P054
cant flash this Bin-ESP32-collection_A_ESP32_4M316k_ETH-20240929_PR_5126_11095308579 from your link .
i used
Chip Info:
- Chip Family: ESP32
- Chip Model: ESP32-D0WDQ5-V3 (revision 3)
- Number of Cores: 2
- Max CPU Frequency: 240MHz
- Has Bluetooth: YES
- Has Embedded Flash: NO
- Has Factory-Calibrated ADC: YES
- MAC Address: 24:DC:C3:44:29:04
Re: DMX OUT on EPS32
OH ! it works ,i use a new flash tools . the firmware is work ! do you have this soure code? i want custom itAth wrote: ↑29 Sep 2024, 21:28 @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?
thank you so much ! im so happy for your help !
Re: DMX OUT on EPS32
It is this pull request.
https://github.com/letscontrolit/ESPEasy/pull/5126
If you want to make changes to it, maybe best to also discuss it with Ath, as he could maybe help including it in the same PR as he is also working on it.
Re: DMX OUT on EPS32
The process of building a Custom ESPEasy is documented here.
If you want to avoid all those steps, you can obtain an ESP32 model (Classic, S3, C6) with 16MB or (a little bit rare) 8MB of Flash memory, so you can install a MAX build that has all plugins and features included.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 2 guests