mathertel / DMXSerial

An Arduino library for sending and receiving DMX packets.
BSD 3-Clause "New" or "Revised" License
328 stars 78 forks source link

Support for shield CTC-DRA-10-R2 #38

Closed davidmu23 closed 3 years ago

davidmu23 commented 4 years ago

I tried this on the CTC-DRA-10-R2 DMX Shield but it doesnt work correctly. Any idea on how to get this working on this shield? I'm also using the Arduino uno wifi.

mathertel commented 4 years ago

I don't have this shield s I cannot check it. Maybe someone can link the schema or has solved this. I leave this issue open for a while...

davidmu23 commented 4 years ago

These are the only two links I can find regarding this shield:http://image.dfrobot.com/image/data/DFR0260/DMX%20Shield%20User%20manual.pdf http://dmxshield.blogspot.com/ I don't know if this can help you

andrewga commented 4 years ago

heres some info I found, don't know if this can help DMX SHIELD CTC-DRA-10-R2
jumpers config: EN(run) <== EN¯ (updt fw) ! Please For update firmware disconect battery 7-12v only usb 3.5v or arduino can dead ! Slave ==> DE (master) TX-io <== TX-uart RX-io <== RX-uart Pins 2,3,4 are used to transmit DMX signals xlr output to xlr input rgb

mathertel commented 4 years ago

The DMXSerial library uses the lines TX, RX and pin 2 for direction. You have to set the jumpers right. pin 2 is used to control the direction using HIGH for sending and LOW for receiving. I haven't found a schema and I don't have a shield but I assume from some research that the Conceptinetics sources use the same levels. looks like being compatible.

andrewga commented 4 years ago

I have the jumpers set to EN DE TX-io RX-io

here is how I have my setup: void setup() { Serial.begin(9600); pinMode(2, OUTPUT); digitalWrite(2, HIGH); DMXSerial.init(DMXController,2); DMXSerial.maxChannel (8); }

still randomly flashes or leds never turn on