Comments (2)
Thanks for bringing this to my attention! I've loaded up my ESP32C3 on Arduino and I am seeing this same error. I am not seeing this error on ESP-IDF, however, so that indicates to me that something funky is going on with Arduino for the ESP32-C3.
I will investigate and keep you updated!
from esp_dmx.
Thanks for your patience on this. I have found the issue and it is two-fold.
First there was an issue with the DMX driver attempting to use one of the ESP32C3's hardware timers that was reserved for the Watchdog. Because the watchdog timer was getting clobbered by the DMX driver, this was causing the ESP32C3 to hang upon calling dmx_driver_install()
.
Second, there appears to be an issue with the pins that you are assigning for use with the DMX driver. Pins 20 and 21 are indeed labelled TX and RX on the ESP32C3 dev board, but these are for UART 0, which is used for communication to and from the Serial Monitor. When giving these pins to the DMX driver by calling dmx_set_pin()
, you are clobbering the Serial Monitor pins. I believe that this should be fine if you don't need to read or write to the Serial Monitor. If you are using the Serial Monitor for logging messages, you will need to use different pins.
I've submitted PR #69 to fix this issue. I will be merging it shortly. When I do, you are able to clone the head of the release/v3.0
and you will be able to use this library. Let me know if you have any questions!
from esp_dmx.
Related Issues (20)
- dmx timing HOT 1
- dmx_receive blocking HOT 6
- Sending broken - single frame only HOT 4
- [question] Not Receiving data, wrong pinout, or incompatible module? HOT 10
- DMX512 HOT 9
- Cant receive DMX : timer is not running (esp-idf v5.0.2) HOT 4
- Adding WiFi and ArtNet capability HOT 12
- Wont Work HOT 1
- compile example DMXwrite.ino failed HOT 2
- Compiling Error missing Files HOT 2
- agent.h - error: C99 designator 'software_version_label' outside aggregate initializer HOT 2
- Can't get the Read Example to work on ESP32 Arduino in PlatformIO HOT 3
- ESP_DMX on ESP32-S2 HOT 6
- esp_dmx on ESP-IDF 5.1 not work? HOT 3
- Threadsafe-ness of this library HOT 2
- General Question About Wireless Audio Transmitting HOT 3
- Commit f148f7b (fix idf v5 timer error) breaks dmx_receive and rdm HOT 8
- Calling dmx_receive with wait_ticks=0 does never return data HOT 4
- ESP32-C6 incompatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp_dmx.