# SparkFun DMX Shield Library with SparkFun Thing Plus ESP32-S2 WROOM

**URL:** <https://community.sparkfun.com/t/sparkfun-dmx-shield-library-with-sparkfun-thing-plus-esp32-s2-wroom/42560>\
**Category:** LEDs\
**Created:** [August 8, 2021, 6:32pm UTC](https://community.sparkfun.com/t/sparkfun-dmx-shield-library-with-sparkfun-thing-plus-esp32-s2-wroom/42560 "2021-08-08T18:32:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user820985](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@user820985](https://community.sparkfun.com/u/user820985)\
**Post date:** [August 8, 2021, 6:32pm UTC](https://community.sparkfun.com/t/sparkfun-dmx-shield-library-with-sparkfun-thing-plus-esp32-s2-wroom/42560/1 "2021-08-08T18:32:20Z")

</div>

Hi,

I recently purchased the SparkFun Thing Plus ESP32-S2 WROOM assuming it was compatible with the SparkFun DMX Shield. I’ve noticed that there a different pin assignment on the ESP32-S2 board vs ESP32 Thing Plus.

So attempted to make changes to SparkFunDMX.cpp to the following:

```auto
int enablePin = 3;
int rxPin = 33;
int txPin = 34;

```

As well as… ```  
HardwareSerial DMXSerial(1);

```auto

But no luck sending out DMX.

Using the xtensa32s2 toolchain with PlatformIO & VSCode.

With the ESP32 Arduino Core with ESP32-S2 support.

```

[env:esp32s2thing\_plus]  
platform = espressif32  
platform\_packages =  
toolchain-xtensa32s2  
framework-arduinoespressif32@[GitHub - espressif/arduino-esp32: Arduino core for the ESP32](https://github.com/espressif/arduino-esp32.git#2.0.0-alpha1)  
board = esp32dev  
monitor\_speed = 115200  
board\_build.mcu = esp32s2  
board\_build.variant = esp32s2thing\_plus  
framework = arduino  
lib\_deps =  
rstephan/ArtnetWifi@^1.4.0  
sparkfun/SparkFun DMX Shield Library@^1.0.5

```auto

Wondering if there is an update for the SparkFun DMX library for the SparkFun Thing Plus ESP32-S2?

There seems to be more changes necessary than pin assignment?

Thanks,

Alex
```

---

<div class="post-metadata">

**Author:** ![santaimpersonator](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/santaimpersonator/32/6108_2.png) [@santaimpersonator](https://community.sparkfun.com/u/santaimpersonator)\
**Post date:** [October 1, 2021, 2:06am UTC](https://community.sparkfun.com/t/sparkfun-dmx-shield-library-with-sparkfun-thing-plus-esp32-s2-wroom/42560/2 "2021-10-01T02:06:36Z")

</div>

Unfortunately, I’m not sure if the S2 is compatible with that shield and the engineer who wrote the DMX library has since left SparkFun. I am not sure when someone will get a chance to look at the library. If you file an issue in the library about the S2 support and any tests you have tried, it would help the engineers out with a place to start: [https://github.com/sparkfun/SparkFunDMX/issues](https://github.com/sparkfun/SparkFunDMX/issues)

Without digging into the datasheets and board definitions… maybe you could also try to match the correct pins from the ESP32-S2 board to the slots on the shield with jumper wires (instead of reassigning pins that might not have the required functionality). I remember there only being like 8-10 pin connections that were actually used.
