daawesomep / dmxusb Goto Github PK
View Code? Open in Web Editor NEWDMXUSB emulates an ENTTEC-compatible DMXKing USB to DMX serial device with one, two, or n universes.
License: Apache License 2.0
DMXUSB emulates an ENTTEC-compatible DMXKing USB to DMX serial device with one, two, or n universes.
License: Apache License 2.0
I'm trying to set up some generic addressable LEDs for use, ultimately, with Lumia Stream via a Teensy. This firmware seems like a good starting point, as it allows the Teensy to emulate a USB DMX controller, and Lumia can talk to that, I guess via QLC+ and a LoopMIDI port (as suggested in this video).
So far, I have validated the basic serial connectivity just using ultraDMX Configuration, however this just seems to be a test utility, not at an actual passthru. I'm also trying QLC+, but it doesn't seem able to see the serial device (in my case COM4) in order to do anything with it:
I haven't made it to OLA yet as I'm hoping to avoid having to run a whole VM just for this one piece of the puzzle. Is there something obvious I'm missing here as far as an easy way to bridge the gap from USB serial device to MIDI in Windows? Maybe it's as easy as giving the Teensy a VID/PID that QLC will recognize as ones of its supported devices?
Hi, I am trying to make a dmx Usb converter, I loaded the example sketches on my arduino uno r3, but my mac seems not to recognize any usb-dmx peripheral, am I doing something wrong?
Freestyler or Qlc+ not detect my interface. I based my circuit from #this sketch and DMXUSB_DMXSimple.
I connect RX and TX ports to MAX485 A and B channels, but I don't understand why code specify channel 3 for DMX.
Hi,
I'm building a DMX remote with an arduino. I found that a good part of labels were supported by the library. So it would be interesting to add the support of a DMX input to the existing code instead of starting from scratch.
Do you already have an idea of how to implement this feature?
The ENTTEC protocol omits sending all channels after the last non-zero channel. However, the library currently does not set these channels to 0. The library also doesn't respond properly if all of the channels are 0 (no data bytes sent).
https://github.com/DaAwesomeP/dmxusb/blob/master/src/DMXUSB.cpp#L77-L99
Hi,
I tried to make dmxusb running on a Seeed Xiao ESP32C3 but didn't succeed...
Compilation is ok, but can't receive any data.
Tried with Chataigne Software - dmx type Enttec DMX Pro.
And DMX Control V3: no Enttec DMX Pro device detected.
It's quite difficult to debug as long as you loose access to the serial monitor.
Any reason which could explain why it doesn't work on this board?
I am working with the Teensy 4.0 and getting some weird results with an OP-Z driving the DMX. The output seems to be opposite of the control being sent. If the sent color is purple then it comes out green, if the sent color is blue then it comes out orange and the whole strip is on and white when it should be off or black. I can only imaging that it has something different the way the Teensy is interpreting it because if I put a Arduino Nano on it will work fine. I moved to the Teensy because it can handle a lot more interrupts.
Right now, the library always uses serial number 0xFFFFFFFF
. On the Teensy, a unique serial number can be generated with the TeensyMAC library. On Arduino, a unique identifier will need to be configured at class initialization. To allow for multiple classes on one device (multiple serial ports), the serial number should increment for each added class initialization.
I'm trying to run the simple and fastled example with a wemos D1 mini without any succes.
I changed the pinout to be able to drive the LED_INBUILT or pin D2 for the fastled but no response at all from dmx. I tried both Enttec and DMXKing emulation.
I'm trying with both Freestyler DMX:
and Chamsys in Enttec mode
any idea where to start looking? anyone tried with the wemos d1 before?
thanks
Lorenzo
In the process of converting my initial program into a class, a major bug arose. The class now only responds to label 77 or responds to all labels with 77. I don't know why.
Hello,
im using OLA on a RPI3 and your programm on an arduino mega. Everything works fine when the baudrate is set to 115200. Any other value will not work. Do you know what causes the problem?
Niclas
I may just be extremely stupid, but I can't seem to get it working with maizedmx. I set the com port to the arduino uno and enabled serial, but nothing. On QLC it's not detected and I can't figure out how to use it.
The chip and port definitely work as I have tested it with just a simple dmxsimple program.
Help would be appreciated.
I'm trying to use this lib on an Arduino nano. But the FastLED example throws the following error: C:\Users\XXXXXX\Documents\Arduino\libraries\DMXUSB\src/DMXUSB.h:26:29: fatal error: elapsedMillis.h: No such file or directory
What am I doing wrong?
In DMXUSB.cpp line 93, you are writing to your buffer out of range. When _index
is zero, your writing to _buffer
at index (unsigned int) 0 - (unsigned int) 1
which equals to a max value of unsigned int 65535
(depends on target). If you want to omit the first bit, build a check for it to skip it.
The device currently responds that it can process DMX data as fast as possible, but this hasn't been tested. The intial data rate and FPS should be user configurable or calculated with the baud rate. The library currently does not respond to settings from the PC to override the data rate (label 4).
https://dol2kh495zr52.cloudfront.net/pdf/misc/dmx_usb_pro_api_spec.pdf
Hello,
What's the difference between the "DMXUSB_Simple" and the "DMXUSB_DmxSimple" examples?
Thank you in advance :)
PS: I'm looking for an emulator USB to DMX to be used with freestyler
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.