ESP32 Thing Plus and DMX Shield not communicating

Hello. First SparkFun project, help needed.

Obtained a DMX to LED Shield, and ESP32 Thing Plus, attached stacking headers and installed/updated the libraries. Now I wish to start with Example2-DMXInput.ino and mod it to trigger a relay. The controller is not responding to DMX data over XLR cable. The compile-time messages are these.

In file included from C:\Users\Owner\Documents\Arduino\libraries\FastLED\src/FastLED.h:67,
                 from C:\Users\Owner\Documents\Arduino\Sketchbook\ESP32thing\DMXsolenoid\DMX_TriggerTest_01\DMX_TriggerTest_01.ino:17:
C:\Users\Owner\Documents\Arduino\libraries\FastLED\src/fastspi.h:145: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"
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sketch uses 263717 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 17736 bytes (5%) of dynamic memory, leaving 309944 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port COM6
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:dd:57:67:39:e0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00050fff...
Flash params set to 0x022f
Compressed 17440 bytes to 12090...
Writing at 0x00001000... (100 %)
Wrote 17440 bytes (12090 compressed) at 0x00001000 in 0.4 seconds (effective 335.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 392.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 654.9 kbit/s)...
Hash of data verified.
Compressed 264112 bytes to 147151...
Writing at 0x00010000... (11 %)
Writing at 0x0001c5e5... (22 %)
Writing at 0x00024d80... (33 %)
Writing at 0x0002a471... (44 %)
Writing at 0x0002f875... (55 %)
Writing at 0x00034d61... (66 %)
Writing at 0x0003e1e6... (77 %)
Writing at 0x0004594b... (88 %)
Writing at 0x0004ae82... (100 %)
Wrote 264112 bytes (147151 compressed) at 0x00010000 in 2.4 seconds (effective 885.5 kbit/s)...
Hash of data verified.

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

To the example code I added some serial prints and instructions to blink LED-13 in response to incoming data. The serial output shows this.

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13160
load:0x40080400,len:3036
entry 0x400805e4
E (10) timer_group: timer_init(273): HW TIMER divider outside of [2, 65536] range error
E (10) timer_group: timer_set_counter_value(86): HW TIMER NEVER INIT ERROR
E (14) timer_group: timer_start(97): HW TIMER NEVER INIT ERROR
E (19) timer_group: timer_isr_callback_add(227): HW TIMER NEVER INIT ERROR
E (26) timer_group: timer_set_alarm_value(155): HW TIMER NEVER INIT ERROR
E (32) timer_group: timer_set_auto_reload(132): HW TIMER NEVER INIT ERROR
E (39) timer_group: timer_set_alarm(179): HW TIMER NEVER INIT ERROR
initialized...
0

The controller detects only an unchanging zero value on all DMX channels involved.

My small voltmeter shows that 5V of USB power is present on the shield’s push terminals.

DMX data does correctly pass through the shield to other lights wired in the chain.

I suspect that the compile-time warning about undefined hardware SPI pins may be part of the issue. This message appears even when compiling the unmodified example code. How should I define these pins? Is that relevant to the problem? I haven’t seen this warning mentioned in other forum topics. Thanks for reading.

Hallelujah!

Disciple

(What? No edit link?)

On further consideration, maybe the hardware SPI message isn’t related to the problem, since it seems connected to the FastLED code… and I’m not even using FastLED.

What about all those “HW TIMER NEVER INIT ERROR” at startup? This is my first encounter with an ESP32. I don’t know what those are telling me. Is that why no DMX data is detected?

The startup guide says to declare the board as an Adafruit ESP32 Feather in Arduino. Is that still the correct designation?

{edit=1] I just tried changing the Arduino identity to “SparkFun ESP32 Thing Plus”. The messages that return appear pretty much the same.

In file included from C:\Users\Owner\Documents\Arduino\libraries\FastLED\src/FastLED.h:67,
                 from C:\Users\Owner\Documents\Arduino\libraries\SparkFunDMX-master\examples\Example2-DMXInput\Example2-DMXInput.ino:17:
C:\Users\Owner\Documents\Arduino\libraries\FastLED\src/fastspi.h:145: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"
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sketch uses 263485 bytes (4%) of program storage space. Maximum is 6553600 bytes.
Global variables use 17720 bytes (5%) of dynamic memory, leaving 309960 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port COM6
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:dd:57:67:39:e0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00050fff...
Flash params set to 0x024f
Compressed 17440 bytes to 12090...
Writing at 0x00001000... (100 %)
Wrote 17440 bytes (12090 compressed) at 0x00001000 in 0.4 seconds (effective 347.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 651.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 653.6 kbit/s)...
Hash of data verified.
Compressed 263872 bytes to 146973...
Writing at 0x00010000... (11 %)
Writing at 0x0001c67c... (22 %)
Writing at 0x00024da4... (33 %)
Writing at 0x0002a48f... (44 %)
Writing at 0x0002f878... (55 %)
Writing at 0x00034d73... (66 %)
Writing at 0x0003e352... (77 %)
Writing at 0x0004597a... (88 %)
Writing at 0x0004ae8e... (100 %)
Wrote 263872 bytes (146973 compressed) at 0x00010000 in 2.4 seconds (effective 878.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13160
load:0x40080400,len:3036
entry 0x400805e4
E (10) timer_group: timer_init(273): HW TIMER divider outside of [2, 65536] range error
E (10) timer_group: timer_set_counter_value(86): HW TIMER NEVER INIT ERROR
E (14) timer_group: timer_start(97): HW TIMER NEVER INIT ERROR
E (19) timer_group: timer_isr_callback_add(227): HW TIMER NEVER INIT ERROR
E (26) timer_group: timer_set_alarm_value(155): HW TIMER NEVER INIT ERROR
E (32) timer_group: timer_set_auto_reload(132): HW TIMER NEVER INIT ERROR
E (39) timer_group: timer_set_alarm(179): HW TIMER NEVER INIT ERROR
initialized...

[/edit]

Please help. Thanks.

Hallelujah!

Disciple

Here is the board.

That’s all I got. Please help. Thanks.

Hallelujah!

Disciple