DMX mit dem ESP32

Hallo,
Ich versuche meinen ESP 32 mit DMX zu steuern...
Es ist ist dieser:

Ich habe die Beispiele dieser Bibliotheken benutzt:
ESP_DMX

Und die SparkFun DMX

Leider stürzt mein Modul immer ab, oder es lässt sich gar nicht kompilieren.

Wenn ich mir die Fehlermeldungen anschaue, gibt es Invalidität speicheraufrufe.

Kann es sein, dass ich ein anderes Modul mit mehr Speicher brauche, wie das:

Kann das jemand verifizieren, oder liegt der Fehler woanders?

Zur Analyse werden alle Details der Fehlermeldungen gebraucht.

Bitte mal in den Einstellungen
die Ausgabe maximieren durch Häkchen an der eingerahmten Stelle und
Compiler-Warnungen "ALLE" einstellen

Dann compilieren starten und wenn die Fehlermeldung kommt
den Button Fehlermeldungen kopieren klicken
Dann im Forum den </>-Button klicken und mit Strg-V den Inhalt der Zwischenablage einfügen.

vgs

ok, hier die Daten:
image

Kompilierfehler esp_dmx Beispiel DMXRead:

In file included from C:\Program Files (x86)\Arduino\libraries\esp_dmx\src/esp_dmx.h:8:0,

                 from C:\Program Files (x86)\Arduino\libraries\esp_dmx\examples\DMXRead\DMXRead.ino:16:

C:\Program Files (x86)\Arduino\libraries\esp_dmx\src/dmx_types.h:19:3: error: 'uart_sclk_t' does not name a type

   uart_sclk_t source_clk;           // DMX source clock selection.

   ^

Mehrere Bibliotheken wurden für "esp_dmx.h" gefunden
 Benutzt: C:\Program
exit status 1
Fehler beim Kompilieren für das Board ESP32 Wrover Module.

Kompilierprotokoll SparkFunDMX Beispiel Example2-DMXInbut:

In file included from D:\Dropbox\Dropbox (Privat)\elektronik\Arduino\Sketche\libraries\SparkFun_DMX_Shield_Library\examples\Example2-DMXInput\Example2-DMXInput.ino:17:0:

C:\Program Files (x86)\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.003

 #    pragma message "FastLED version 3.003.003"

                     ^

In file included from C:\Program Files (x86)\Arduino\libraries\FastLED/FastLED.h:65:0,

                 from D:\Dropbox\Dropbox (Privat)\elektronik\Arduino\Sketche\libraries\SparkFun_DMX_Shield_Library\examples\Example2-DMXInput\Example2-DMXInput.ino:17:

C:\Program Files (x86)\Arduino\libraries\FastLED/fastspi.h:130:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^

Der Sketch verwendet 281174 Bytes (21%) des Programmspeicherplatzes. Das Maximum sind 1310720 Bytes.
Globale Variablen verwenden 14988 Bytes (4%) des dynamischen Speichers, 312692 Bytes für lokale Variablen verbleiben. Das Maximum sind 327680 Bytes.
esptool.py v3.0-dev
Serial port COM6
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 7c:9e:bd:62:4a:68
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 2978.9 kbit/s)...
Hash of data verified.
Compressed 18656 bytes to 12053...
Writing at 0x00001000... (100 %)
Wrote 18656 bytes (12053 compressed) at 0x00001000 in 0.1 seconds (effective 1015.3 kbit/s)...
Hash of data verified.
Compressed 281296 bytes to 133699...
Writing at 0x00010000... (11 %)
Writing at 0x00014000... (22 %)
Writing at 0x00018000... (33 %)
Writing at 0x0001c000... (44 %)
Writing at 0x00020000... (55 %)
Writing at 0x00024000... (66 %)
Writing at 0x00028000... (77 %)
Writing at 0x0002c000... (88 %)
Writing at 0x00030000... (100 %)
Wrote 281296 bytes (133699 compressed) at 0x00010000 in 2.4 seconds (effective 928.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1638.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

RS232 Output von der SparkFunDMX Bibliothek

entry 0x400806b4
E (131) psram: PSRAM ID read error: 0xffffffff
initialized...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.