Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Skipped Channel?

  1. #1
    Join Date
    Mar 2011
    Posts
    9
    Post Thanks / Like

    Angry Skipped Channel?

    Setup:
    I have a setup of 56 RGB leds hooked up to 21 Shift Registers which are hooked up to an Arduino. I am using the Renard Add-in with the attached code. The code is using the ShiftPWM library to control the LEDs. I know the setup is correct because it works on a standalone demo. I made a profile for the LEDs and made a basic test program (both attached).

    Problem:
    A peculiar thing happens. The LED that should be channel 99 (RGB LED #33 blue) stays on and the channel numbering skips it. Vixen is acting like it doesnt exist. So The channels go like this: RGB RG RGB whent it should be: RGB RGB RGB. I have enough power and I'm electronically literate. I have tried pretty much everything.


    Any help is appreciated,
    ematson5897
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    9,181
    Post Thanks / Like

    Default Re: Skipped Channel?

    I believe the Renard plug-in tosses out a pad character every 100th byte to allow for receiver re-syncing. There's a post around somewhere describing it.

    Here is one discussion about it - http://doityourselfchristmas.com/for...y-coder-issues-)
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2014 Halloween Show - Homemade tombstones, Video Projection - not much new this year...
    2014 Christmas Show - 5x E681-12, 1x6804, 4x Ren48LSD, 30x42 TLS3001 pixel MT/Star, 4x Rainbow Floods, 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline

    Ignorance is Temporary - Stupidity is Forever...

  3. #3
    Join Date
    Mar 2011
    Posts
    9
    Post Thanks / Like

    Default Re: Skipped Channel?

    Quote Originally Posted by budude View Post
    I believe the Renard plug-in tosses out a pad character every 100th byte to allow for receiver re-syncing. There's a post around somewhere describing it.

    Here is one discussion about it - http://doityourselfchristmas.com/for...y-coder-issues-)


    So how would I go about setting vixen up to get around this?

  4. #4
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    9,181
    Post Thanks / Like

    Default Re: Skipped Channel?

    There is no way to do this in Vixen short of rewriting the Renard Plug-in since there are no settings for this. You would probably have an easier chance of changing the code on your side and looking for the pad characters and dealing with them.
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2014 Halloween Show - Homemade tombstones, Video Projection - not much new this year...
    2014 Christmas Show - 5x E681-12, 1x6804, 4x Ren48LSD, 30x42 TLS3001 pixel MT/Star, 4x Rainbow Floods, 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline

    Ignorance is Temporary - Stupidity is Forever...

  5. #5
    Join Date
    Mar 2011
    Posts
    9
    Post Thanks / Like

    Default Re: Skipped Channel?

    Or would it be easier to just switch to generic serial?

  6. #6
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    9,181
    Post Thanks / Like

    Default Re: Skipped Channel?

    Quote Originally Posted by ematson5897 View Post
    Or would it be easier to just switch to generic serial?
    Does it support dimming? I've never used it personally so not 100% sure... It doesn't seem too difficult to filter out the pad characters from the Renard stream though - I'd suggest you go that route if you have access to the serial stream in your code.

    btw - missed it was your first post - - Welcome to DIYC!
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2014 Halloween Show - Homemade tombstones, Video Projection - not much new this year...
    2014 Christmas Show - 5x E681-12, 1x6804, 4x Ren48LSD, 30x42 TLS3001 pixel MT/Star, 4x Rainbow Floods, 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline

    Ignorance is Temporary - Stupidity is Forever...

  7. #7
    Join Date
    Mar 2011
    Posts
    9
    Post Thanks / Like

    Default Re: Skipped Channel?

    Quote Originally Posted by budude View Post
    Does it support dimming? I've never used it personally so not 100% sure... It doesn't seem too difficult to filter out the pad characters from the Renard stream though - I'd suggest you go that route if you have access to the serial stream in your code.

    btw - missed it was your first post - - Welcome to DIYC!
    Thanks. So If I just ignore the 100th one what else needs to happen?

  8. #8
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    8,219
    Post Thanks / Like

    Default Re: Skipped Channel?

    Quote Originally Posted by ematson5897 View Post
    So how would I go about setting vixen up to get around this?
    You can't. You set up the receiving firmware to allow for it.
    www.diychristmas.org

  9. #9
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    9,181
    Post Thanks / Like

    Default Re: Skipped Channel?

    Quote Originally Posted by ematson5897 View Post
    Thanks. So If I just ignore the 100th one what else needs to happen?
    Well - more correctly you need to look for the padding character pattern as outlined in one of the links in the thread. Simply counting to a hundred my get off at some point and your code will get lost on where it is.
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2014 Halloween Show - Homemade tombstones, Video Projection - not much new this year...
    2014 Christmas Show - 5x E681-12, 1x6804, 4x Ren48LSD, 30x42 TLS3001 pixel MT/Star, 4x Rainbow Floods, 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline

    Ignorance is Temporary - Stupidity is Forever...

  10. #10
    Join Date
    Dec 2010
    Location
    Oceanside, CA
    Posts
    2,350
    Post Thanks / Like

    Default Re: Skipped Channel?

    I have some arduino code to read vixen's renard data here:
    https://gist.github.com/24df7703e06846567635

    It reads the escape characters properly and I used it for the entire 2011 Christmas show without problem.
    [url]http://christmasonquiethills.com/[/url]
    [url]http://diychristmas.org/vb1/index.php[/url]

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •