PDA

View Full Version : REN48LSD Starting address



michaelc
12-21-2010, 07:51 PM
Can someone confirm my understanding on programmable starting address. I have a network with FIVE 16 Channel LOR Controllers followed by a REN48LSD. I want the 1st channel of the REN48LSD to be DMX channel 81. Using the A=(C-1)/8 formula, I come up with Address 10.

Is this the correct number to program the PIC with? Anything after this controller would be REN compatible so I can leave all the other PIC's downstream set to the default

chelmuth
12-21-2010, 07:53 PM
According to what I read yesterday about it that seems correct to me...

budude
12-21-2010, 08:41 PM
The DMX address should be set to... '81'

;; The DMX start address should be between 1 and 505 inclusive === for Ren48LSD it would be 1 and 465...
#define DMX_START_ADDRESS 1

all the math is done for you in the code:

;; data stored in the eeprom. First byte is MSB of our address (0/1), second
;; byte is the LSB of our address (0-255).
ORG 0x2100
de (DMX_START_ADDRESS / 256)
de (DMX_START_ADDRESS & 255)

so - just put the starting address in as a normal decimal address... This is NOT the Renard addressable code - it's the DMX code. You only need this for PIC #1 - PICs 2-6 should be left at a starting address of '1'.

michaelc
12-21-2010, 08:52 PM
Thanks Brian, That simplifies it a bunch. I can now fully populate my board. I got a shipment of about 20 PIC's today. Enough to populate my 2 add'l boards and some spares.

chelmuth
12-21-2010, 09:05 PM
Well Duh! when you say it like that and I re-read that he was using LOR and LOR is only compatible via DMX? Then I would have realized he was using DMX code and I would have kept my mouth shut. LOL.

michaelc
01-02-2011, 07:43 PM
Budude.

I was thinking (always a bad outcome!), If I split my DMX signal to the LOR boards and the REN boards. My lor will always be channels 1-80. I have my first REN48 set to channel 81. If I daisy chain multiple REN boards AFTER my first ren48, and have the bit set to default "1" for those subsequent boards. Will the 2nd renard board be channel 129 or will it use channels 1-48 (since the signal is split and the 1st ren only used 81-128?

budude
01-02-2011, 07:54 PM
Budude.

I was thinking (always a bad outcome!), If I split my DMX signal to the LOR boards and the REN boards. My lor will always be channels 1-80. I have my first REN48 set to channel 81. If I daisy chain multiple REN boards AFTER my first ren48, and have the bit set to default "1" for those subsequent boards. Will the 2nd renard board be channel 129 or will it use channels 1-48 (since the signal is split and the 1st ren only used 81-128?

The 2nd board should/can be left as '1' and it will automatically start at '129' as you surmised. Keep in mind that there is no difference between a Renard board with multiple PICs and multiple Renard boards with one or more PICS when daisy-chained. Logically it's just one big chain. So really what you end up with is a Ren96LSD (or whatever combination of Renards). The PICs at the front always consume the data for the first address set so the first Ren48LSD would 'eat' up 81-128 and the data for channels 129-512 would go on the OUT connector.

michaelc
01-02-2011, 08:02 PM
so channels 1-80 just get ignored. Sounds good to me. I'm working on a permanent outdoor setup and wanted to be sure. I have one config with channels 1 to 128 for Christmas but the 1st 80 are LOR boards. Those will only come out during the holidays. The channels above (ch 81 to tbd) will all be Renard and be permanent installs of various combinations of Rainbow floods and Superstrips.

I"ve already decided that I will be populating superstrips (when I can get them) with the RGB and the UV LED. The only thing I'm hoping (once I get my hands on the pcb's) is that I can change out some components and run the SS at 12V instead of 5v.

Now to figure a good looking permanent soffit install that will survive the weather

michaelc
01-02-2011, 08:58 PM
sorry - dup