<div dir="ltr"><div><div><div>wow<br></div>nice timing<br></div>i just sat down from running an audio snake & dmx line from the omni stage to the rear mezzanine along the rafters.<br></div><div>got all our working pars hung too<br></div><div>nothin left to do but make lights<br>:))<br></div><div><br></div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 8:07 PM, Robert "Finny" Merrill <span dir="ltr"><<a href="mailto:rfmerrill@berkeley.edu" target="_blank">rfmerrill@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to receive DMX it's pretty easy--it's just 250 kbps<br>
serial, 8 data bits, 1 stop bit, no parity.<br>
<br>
You detect the beginning of a DMX frame by looking for a break<br>
condition (on an AVR this shows up as the "frame error" bit being set<br>
in the UART status), then you just read bytes and throw them out until<br>
you get to the one corresponding to an address you're listening to.<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, May 23, 2016 at 8:04 PM, Robert "Finny" Merrill<br>
<<a href="mailto:rfmerrill@berkeley.edu">rfmerrill@berkeley.edu</a>> wrote:<br>
> If you want one written in raw C (not arduino) I rolled my own a while<br>
> ago: <a href="https://github.com/rfmerrill/venusdmx/blob/master/venusdmx.c" rel="noreferrer" target="_blank">https://github.com/rfmerrill/venusdmx/blob/master/venusdmx.c</a><br>
><br>
> It requires you to wire the DMX to the hardware UART (which on an<br>
> arduino is usually not exposed and is dedicated to the USB-serial<br>
> interface)<br>
><br>
> On Thu, Apr 7, 2016 at 2:07 AM, robb <<a href="mailto:sf99er@gmail.com">sf99er@gmail.com</a>> wrote:<br>
>> as it turns out, mathertels DmxSerialRecv example works out of the box<br>
>> w/Arduino 1.6.8 but my connection from DE to RE was loose. jerkey looked at<br>
>> it and squeezed it and it started working!<br>
>> w/DMXSerialRecv:<br>
>> DE & RE are connected together & to pin 2.<br>
>> RO is connected to Rx.<br>
>><br>
>> cheers<br>
>><br>
>><br>
>><br>
>> On Fri, Apr 1, 2016 at 5:19 PM, robb <<a href="mailto:sf99er@gmail.com">sf99er@gmail.com</a>> wrote:<br>
>>><br>
>>><br>
>>> //       Turns out that as I'm using an ungrounded power brick, I probably<br>
>>> don't need all of this, but I had all the parts so I made them anyway :)<br>
>>><br>
>>> easier to switch power supply, than to add isolation<br>
>>><br>
>>> //       Take a look in HardwareSerial0.cpp; it looks like you'll want to<br>
>>> search for USART_RX_vect and USART0_RX_vect.<br>
>>><br>
>>> thx, found it. after editing file, still couldn't receive tho.<br>
>>><br>
>>> //        This probably changed when the Arduino folks started making<br>
>>> boards with more than one serial port.<br>
>>><br>
>>> i think your right<br>
>>><br>
>>> //        Nothing so far -- I'm making lighting stuff for my wedding in a<br>
>>> couple of months, and I want a friend who does a lot of DMX lighting to be<br>
>>> able to control my hardware with his controllers!<br>
>>><br>
>>> congrats & i look forward to seeing your implementations!<br>
>>> i'm hoping to eventually add 7segment leds displays for setting the dmx<br>
>>> channel w/up & down buttons, if i get it working.<br>
>>> different modes would be nice, too<br>
>>><br>
>>> cheers,<br>
>>> ~r<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Noisebridge-discuss mailing list<br>
>> <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" rel="noreferrer" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>