<div dir="ltr"><div>Thanks!  The boards are my own design -- an ISO3088 chip plus isolated DC-DC converter, and Neutrik connectors.</div><div><br></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.<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.  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.  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.  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>Cheers,</div><div>Phil</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 1:56 PM, robb <span dir="ltr"><<a href="mailto:sf99er@gmail.com" target="_blank">sf99er@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>thx for the responses<br><br></div>@PhilIP nice boards! (your pic rendered) are those mathertels? <br>my usb>rs-485(dmx) adapter/converter has 3 connectors (grd, D+ & D-) which connect to a neutrik xlr panel connector (see attached). <br></div>​<br><div><div><div><div class="gmail_extra">@Mitch although there are lots of posts/pages describing how to code dmx on arduinos, most of the work has been done related to transmitting dmx (mostly on pre-uno versions, which are very hard to find) and not receiving it. the few libraries for receiving dmx are quite old & don't seem to be very straight forward, i.e. require editing hardwareserial.cpp at a keyword that does not actually exist in the file (ArDMX). <br>thanks for the invite to hhn. food not bombs just brought me a wheelchair, so i might be able to take you up on it soon.<br><br></div><div class="gmail_extra">cheers<br></div><div class="gmail_extra">~r<br><br></div><div class="gmail_extra">lulzlux - ASK (Activist Support Krewe)<br><br></div><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 31, 2016 at 1:32 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I sent the following response but it may have gotten rejected by the list software because of the embedded image:<div><br></div><div><span><span style="font-size:13px">I've been working on DMX stuff for a little bit... have been soldering up DMX interface boards at NB tonight, in fact!</span><div style="font-size:13px"><br></div></span><div style="font-size:13px">[picture of DMX boards removed]</div><span><div style="font-size:13px"><br></div><div style="font-size:13px">Is your FTDI to RS485 adapter designed for DMX output -- i.e. on one end it has a female XLR connector that would plug into one of the boards above?</div><div style="font-size:13px"><br></div></span><div style="font-size:13px">Can you email me a photo of your setup so I can get a better idea of how the RS485 modules are wired up?<br></div><div style="font-size:13px"><br></div><div style="font-size:13px">Cheers,</div><div style="font-size:13px">Phil</div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 1:18 AM, Mitch Altman <span dir="ltr"><<a href="mailto:maltman23@hotmail.com" target="_blank">maltman23@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi Robb, <br><br>If you don't get an answer here, try searching for "Arduino DMX" you'll find plenty that people have worked out.  Also, please come to Circuit Hacking Monday, every Monday at 7:30pm, where people help each other with everything hardware. <br><br>Cheers, <br>Mitch. <br><br><hr>From: <a href="mailto:sf99er@gmail.com" target="_blank">sf99er@gmail.com</a><br>Date: Wed, 30 Mar 2016 21:35:49 -0700<br>To: <a href="mailto:noisebridge-discuss@lists.noisebridge.net" target="_blank">noisebridge-discuss@lists.noisebridge.net</a><br>Subject: [Noisebridge-discuss] arduino dmx receiver<div><div><br><br><div dir="ltr"><div><div><div><div><div>hey gang,<br></div>anyone know how to code an arduino to receive dmx and output pwm to leds? i think i've tried everything on the arduino site's dmx page but nothing seems to work.<br><br></div>my setup is qlcplus > ftdi to rs-485 adapter > ttl to rs-485 module > arduino<br><br></div>i will come sweep, mop & dust noisebridge, when my broken foot heals, if someone can point me in the right direction.<br><br></div>thx for being there<br></div> ~r<br></div>
<br></div></div><span>_______________________________________________
Noisebridge-discuss mailing list
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net" target="_blank">Noisebridge-discuss@lists.noisebridge.net</a>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a>                                           </span></div></div>
<br>_______________________________________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net" target="_blank">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></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>
</blockquote></div><br></div>