Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: E1.31 and Artnet Reception Sketch for Pixel Control

  1. #1
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default E1.31 and Artnet Reception Sketch for Pixel Control

    I wanted to share my finalized sketch for controlling pixels via E1.31 or Artnet. This sketch uses the FastLED library to drive the pixels and also includes Matterdaddy's Glow with the Show library for controlling GWTS ears. It can receive multiple E1.31 universes and includes a power on self test function as well as a standby function for when no data is being received.

    The sketch can be found here

  2. Thanks gunther thanked for this post
  3. #2
    Join Date
    Dec 2007
    Location
    Pacifica, Calif (30mins from downtown San Francisco)
    Posts
    2,192
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Jared:

    Nice work.

    You apparently developed this on an M2560; have you tried it on an UNO?

    Also: have you tried it under IDE 1.6.0?

    Congrats.

    \dmc
    ________________________
    The only thing more dangerous than a software engineer with a soldering iron
    or a hardware engineer with a compiler is a liberal-arts major with either.
    [b]Christmas lights:[/b] [url]http://www.PacificaLights.info/[/url]
    [b]uC/LED hacking:[/b] [url]http://www.dmcole.net/[/url]

  4. #3
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Quote Originally Posted by dmcole View Post
    Jared:

    Nice work.

    You apparently developed this on an M2560; have you tried it on an UNO?

    Also: have you tried it under IDE 1.6.0?

    Congrats.

    \dmc
    I did develop this on the Mega 2560 R3 but I did test it on the Uno and it does work. The Uno won't be able to handle as many pixels as the Mega since there is less RAM. I developed this on IDE 1.0.6 but I just upgraded to 1.6.0 and it does still work except for the GWTS library. It compiles with no errors but I'm not getting any output to the ears. Still working on that.

  5. #4
    Join Date
    Dec 2007
    Location
    Pacifica, Calif (30mins from downtown San Francisco)
    Posts
    2,192
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Quote Originally Posted by djred2000 View Post
    The Uno won't be able to handle as many pixels as the Mega since there is less RAM.
    Do you have a handle on how many pixels an UNO will handle? Or a Mega?

    Also, there will be much midnight oil being burned over the next few weeks as developers tweak their code to work with 1.6.0.

    \dmc
    ________________________
    The only thing more dangerous than a software engineer with a soldering iron
    or a hardware engineer with a compiler is a liberal-arts major with either.
    [b]Christmas lights:[/b] [url]http://www.PacificaLights.info/[/url]
    [b]uC/LED hacking:[/b] [url]http://www.dmcole.net/[/url]

  6. #5
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Quote Originally Posted by dmcole View Post
    Do you have a handle on how many pixels an UNO will handle? Or a Mega?

    Also, there will be much midnight oil being burned over the next few weeks as developers tweak their code to work with 1.6.0.

    \dmc
    I don't know exactly, but there are other threads that have talked about it. The Uno should handle at least one full universe which is about 170 pixels. The Mega should be able to handle 2-3 universes, possibly more. I only have three 50-pixel WS2811 strings and the Uno can drive all three together with no problems.

  7. #6
    Join Date
    Jul 2014
    Location
    Missouri
    Posts
    134
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    This worked great on the Mega. I finally got an ether shield in and set up last night. I ran 300 WS2811 pixels with Vixen 3.

  8. #7
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Quote Originally Posted by jwamsley07 View Post
    This worked great on the Mega. I finally got an ether shield in and set up last night. I ran 300 WS2811 pixels with Vixen 3.
    Great! I'm glad it's working for you.

  9. #8
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    I wrote another sketch for controlling relays using E1.31 or ArtNet via ethernet or WiFi. I am using a Mega 2560 R3 with the Sainsmart 8-channel relay board (not solid state). The sketch can be found here

  10. Thanks jwamsley07 thanked for this post
  11. #9
    Join Date
    Jul 2014
    Location
    Missouri
    Posts
    134
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Can this be modified to work with 16 relays or is there a limit of 8?

  12. #10
    Join Date
    Jul 2013
    Posts
    116
    Post Thanks / Like

    Default Re: E1.31 and Artnet Reception Sketch for Pixel Control

    Quote Originally Posted by jwamsley07 View Post
    Can this be modified to work with 16 relays or is there a limit of 8?
    Yes, it will. Just modify the NUM_RELAYS define and the relay pins array.

Page 1 of 3 123 LastLast

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
  •