Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Need to program start address for Ren48LSD - Renard Protocol

  1. #1
    Join Date
    Dec 2011
    Location
    Xenia, Ohio
    Posts
    661

    Default Need to program start address for Ren48LSD - Renard Protocol

    I want to program a start address for use with an Xbee for my Ren48LSD to use with DIYC Floods using Renard protocol. I have checked the wiki, Library, and did a forum search. Based on all of this can I start with the Renard-20090915.asm,

    Make the following changes:

    #define PWM_build 1 – change from '0'
    #define DC_build 1 – change from '0'
    #define CTR_LOCKOUT 1 – change from '15';
    #define OUTPUT_NEGATIVE_TRUE – comment this out

    Set my start address (In my case the first flood is channel 57 so my start address (57-1)/8 = 7)

    Then compile the asm code into a hex file. Will this work correctly or am I missing something.

    As always thanks for the help!
    Last edited by Xenia; 04-14-2012 at 01:53 PM.
    First year up and running! Over 35,000 lights and 410 Total Channels of Blinky Flashy - 275 Channels Renard and 135 Channels of E1.31. All wireless. Show is just over 30 minute with 11 songs so far. Whew - What a first year!!
    www.xenialights.com


  2. #2
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    8,024

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Nope, not missing anything. Looks good.
    dirknerkle

    The DIGWDF Store is the place to go for wireless stuff for Renard... controllers, adapters... or other junk that
    nobody else would probably ever make. It's all in stock right now at http://diychristmas.org/store

  3. #3
    Join Date
    Nov 2008
    Location
    Kernersville, NC
    Posts
    1,995

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Just make sure the rest of the PICs on the board have the "normal" firmware that doesn't have a start address set. It's just the first PIC that needs this.
    Mark
    Kernersville, NC
    www.christmasinapplegate.com

  4. #4
    Join Date
    Dec 2011
    Location
    Xenia, Ohio
    Posts
    661

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Dave, thanks!

    Mark, I already programmed the other five pics with the Ren48LSD hex file in the library but I appreciate the reminder.
    First year up and running! Over 35,000 lights and 410 Total Channels of Blinky Flashy - 275 Channels Renard and 135 Channels of E1.31. All wireless. Show is just over 30 minute with 11 songs so far. Whew - What a first year!!
    www.xenialights.com


  5. #5
    Join Date
    Nov 2008
    Location
    Delphos OH
    Posts
    1,171

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    well maybe that is what i did wrong, i programmed all pics with the start code. so i just program the first one with the start address and then the rest are the normal code?
    2012 - The year of the pixels
    21ft tall 12x38ct WS2811 Pixel Megatree - DONE
    5 36ct GECE Pixel Archs - Maybe
    Pixelated roofline with windows - DONE
    Bigger matrix and pixel star - DONE
    Added 1200 pixels, a few strobes, and fast tubes
    Now it just all has to play nicely lol.

    http://www.facebook.com/FiedlerFamilyChristmas

  6. #6
    Join Date
    Sep 2009
    Location
    Omaha, Ne
    Posts
    1,128

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Quote Originally Posted by fathead45 View Post
    well maybe that is what i did wrong, i programmed all pics with the start code. so i just program the first one with the start address and then the rest are the normal code?
    Yeah, only put the start address on the first PIC in the line.
    www.diyledexpress.com

    Backup your sequences and sync them to multiple computers with Dropbox.

  7. #7
    Join Date
    Jun 2007
    Location
    Ft. Walton Beach, FL
    Posts
    1,501

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Quote Originally Posted by fathead45 View Post
    well maybe that is what i did wrong, i programmed all pics with the start code. so i just program the first one with the start address and then the rest are the normal code?
    As long as all the rest had a START_ADDR of 0, I don't think you would have any issues.
    Last edited by RavingLunatic; 04-14-2012 at 10:51 PM.
    RavingLunatic
    Not just a username but a state of mind

  8. #8
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    8,024

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    I use start address in every PIC with address zero, changing the address only for the first PIC. I like the consistency of using the same code.
    dirknerkle

    The DIGWDF Store is the place to go for wireless stuff for Renard... controllers, adapters... or other junk that
    nobody else would probably ever make. It's all in stock right now at http://diychristmas.org/store

  9. #9
    Join Date
    Nov 2009
    Location
    California
    Posts
    812

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Quote Originally Posted by dirknerkle View Post
    I use start address in every PIC with address zero, changing the address only for the first PIC. I like the consistency of using the same code.
    Same here and while I'm at it I set aside compiled versions for all start addresses my channel count covers so later I just need to reflash vs compile and reflash.

    -joni-
    2013 Plans: Convert to pixels!
    http://amistosolights.com

  10. #10
    Join Date
    Jan 2011
    Location
    Port Richey, FL
    Posts
    437

    Default Re: Need to program start address for Ren48LSD - Renard Protocol

    Quote Originally Posted by dirknerkle View Post
    I use start address in every PIC with address zero, changing the address only for the first PIC. I like the consistency of using the same code.
    I use the start address for all of mine, just changing the address for the first. I use the same firmware for all and just edit the address in the eeprom using the pickit software. That way I dont have to recompile every time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •