<div dir="ltr">On Thu, Mar 31, 2016 at 5:07 PM, robb <span dir="ltr"><<a href="mailto:sf99er@gmail.com" target="_blank">sf99er@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">whaat!<br><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Mar 31, 2016 at 3:40 PM, Phillip Pearson <span dir="ltr"><<a href="mailto:pp@myelin.nz" target="_blank">pp@myelin.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks!  The boards are my own design -- an ISO3088 chip plus isolated DC-DC converter</div></div></blockquote><div> </div></span><div>that's an <br><h1>Isolated 5-V Half-Duplex RS-485 Transceiver !!!!!!!!!!!!!!!!!!!!!!!!!!!
</h1> </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>, and Neutrik connectors. <br></div></div></blockquote></span></div></div></div></div></blockquote><div><br></div><div><br></div><div>Haha yes -- I got them as samples from TI.  I really wanted to be able to isolate my circuit from the DMX ground.  Turns out that as I'm using an ungrounded power brick, I probably don't need all of this, but I had all the parts so I made them anyway :)</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I can confirm that the DMX code out there for Arduino and friends is a bit flaky :)  As Mitch says, though, DMX code written for the Duemilanove should work fine on an Uno, because it uses either GPIO or HardwareSerial; the FTDI chip isn't required.<br></div></div></blockquote></span><div><br>i can't seem to find "ISR(<span>USARTn</span>_RX_vect)" in HardwareSerial.cpp which is where i seem to need to start commenting out to allow the proper interupts<br></div></div></div></div></blockquote><div><br></div><div><br></div><div>Take a look in HardwareSerial0.cpp; it looks like you'll want to search for USART_RX_vect and USART0_RX_vect.  This probably changed when the Arduino folks started making boards with more than one serial port.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I haven't tried receiving DMX on an Arduino, but I've implemented DMX reception on a Freescale KE04 ARM chip, and it's not super hard. </div></div></blockquote><div> </div></span><div>maybe it's time to set down the avr chips & just use my rpi<br> <br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> The only tricky part is that the DMX packet starts with a 'break', where the data line is held low for ~50 us (12.5 bit times).  This will show up as a framing error, and is probably what you need to edit hardwareserial.cpp for.<br></div></div></blockquote><div><br></div></span><div>agreed<br> <br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>  I won't have time for a few days, but when I get these boards up and running I'll see about hooking one to an Arduino and testing out some receive code there. </div></div></blockquote><div><br></div></span><div> enjoy & that's music to my ears!<br><br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> I've been using a Teensy and a USB-DMX adapter (Chinese uDMX clone) on the sending side so far.</div><div><br></div></div></blockquote></span><div>what are your inputs? pots, hardcoded modes, mic, multi-band eq, software...? <br></div><div><br></div></div></div></div></blockquote><div><br></div><div><br></div><div>Nothing so far -- I'm making lighting stuff for my wedding in a couple of months, and I want a friend who does a lot of DMX lighting to be able to control my hardware with his controllers!</div><div><br></div><div>Cheers,</div><div>Phil</div></div><br></div></div>