Giter Club home page Giter Club logo

rpi-matrix-artnet's Introduction

rpi-matrix-artnet

Controlling of 32x32 or 16x32 RGB LED displays using Raspberry Pi rpi-rgb-led-matrix with Art-Net and sACN E1.31

Art-Net is a protocol for controlling lights over a network. Glediator / Jinx controls LEDs on one or more Art-Net nodes. An Art-Net node drives the LEDs. In this example, Glediator / Jinx runs on a laptop and controls a Pi with a rpi-rgb-led-matrix RGB LED displays using Raspberry Pi. The Pi is the Art-Net node. A RGB LED displays 32x32 / 32x16 / 64x64 is an add-on board connected for a Raspberry Pi+/3

Also Read https://github.com/bbx10/artnet-unicorn-hat for more information.

http://www.solderlab.de/index.php/software/glediator

https://en.wikipedia.org/wiki/Art-Net

rpi-matrix-acn-e1-31

Controlling up to 64x64 and more RGB LED Matrix Display with sACN E1.31 Protocol have a look https://github.com/darknessii/rpi-matrix-acn-e1-31

Preliminary

RGB LED displays rpi-rgb-led-matrix Program for Raspberry Pi must be installed and working on the Pi supplied Python software. Make sure this works before graduating to Art-Net.

https://github.com/hzeller/rpi-rgb-led-matrix

or

https://github.com/darknessii/rpi-rgb-led-matrix

Install libraries on the Pi

Do this only once to install the Python twisted libraries.

sudo apt-get install python-twisted

Run Art-Net server rpi-matrix-artnet on the Pi

The following command runs the Art-Net server turning the Pi into an Art-Net node. Many programs can send LED values to an Art-Net node. Glediator and Jinx is such a program.

sudo python rpi-matrix-artnet.py

NOT working

  • Art-Net (Net Support)
  • no Multicast Support

TO DO

  • Buffer optimieren

Jinx!

Jinx! โ€“ LED Matrix Control

Jinx!, is a free available software for controlling LED matrices.

Glediator

See the Glediator download page to download and install Glediator.

xLights

xLights is a free and open source program that enables you to design, create and play amazing lighting displays through the use of DMX controllers, E1.31 Ethernet controllers and more.

rpi-matrix-artnet's People

Contributors

darknessii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rpi-matrix-artnet's Issues

Help Getting Code to work with xLights

I've been trying to debug this by myself but I'm a bit stuck now and I'm hoping that you could help.

  • I have 4 panels and confirmed that they work with hzeller's code, this is what I have working:
    ./led-image-viewer -C --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-show-refresh --led-chain=4 -l100 --led-pixel-mapper=U-mapper --led-rgb-sequence=BGR --led-slowdown-gpio=0 --led-pwm-lsb-nanoseconds=50 /share/mickeyminnie.stream
  • I configured xLights with an ArtNet model that has 96 Universes, each with 512 Channels
  • I used WireShark and confirmed that xLights is sending ArtNet packets
  • I added debug statements to you Python program and confirmed that showDisplay was getting called but I'm only seeing idx =0 (sometimes = 1) but rgb_length is always 0
  • I added debug statements to getSequenceFromFrameBuffer and I see bufferCounter count up to 960. I'm a little lost at this point but it seems that somewhere in this area the packets are not being read (or sent) correctly.

Perhaps I have done something wrong in my setup but this is the first time I have used ArtNet and I'm just learning xLights.

I am Noob. i need help by jinx and artnet

I try to let run a hub75 matrix with jinx with artnet.
i install /rpi-rgb-led-matrix and its runs.
But now i have the Problem i dont know how use ur artnet Protocol.
He install python twisted but he found not ur file.
What i make wrong .
What i have to do after install the rpi.rgb.led-matrix?

thx for ur help i hope any can me help.

List index out of range

I'm trying to get this working with TouchDesigner (using an adafruit-hat & 3* 32x32 panels) and I'm successfully getting information sent from TouchDesigner to the Pi, but rpi-matrix-artnet is not able to process them and I keep getting the following message:

Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
--- exception caught here ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
self.protocol.datagramReceived(data, addr)
File "rpi-matrix-artnet.py", line 154, in datagramReceived
self.showDisplay(display_size_x,display_size_y,frameBuffer,rgbframeLength)
File "rpi-matrix-artnet.py", line 166, in showDisplay
b = datastream[idx]
exceptions.IndexError: list index out of range

I'm so keen for this!

Have you made any progress getting artnet to work with led matrixes?

I'd love to drive my panels via artnet, wirelessly from Resolume Arena if it's possible

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.