Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberrypi-e131-led

RPi e1.31 bridge to WS2811 or APA102 strips

Basic Usage

sudo ./e131bridge

Config location, logging, and stats

sudo ./e131bridge --config=../config/config-sample.yml --verbosity=info --stats=true

Mapping

Because a e131 universe can only support 512 bytes (channels) of data we must use multiple universes to assmeble any signficant amount of LED's. This software supports mapping from multiple e131 universes to a single strip. The mapping configuration is defined in as yml file.

Only Used for WS2811 Strip

gpionum - Gpio pin number used as an output for WS2811 strip

---
gpionum: 21
led_count: 680
brightness: 255
strip_type: WS2811_STRIP_GRB
mapping:
  1:
  - input:
      start_address: 1
      total_rgb_channels: 170
    output:
      start_address: 0
  2:
  - input:
      start_address: 1
      total_rgb_channels: 170
    output:
      start_address: 169
  3:
  - input:
      start_address: 1
      total_rgb_channels: 170
    output:
      start_address: 336
  4:
  - input:
      start_address: 1
      total_rgb_channels: 170
    output:
      start_address: 509

Flags

  • --verbosity="[log level]" Toggle level of logging verbosity.

  • --stats=true Toggle stats display on or off

  • --config="path/to/config.yaml" Path to config file

  • --config="path/to/logfile" Path to logging file

Build Debug

mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

Build Release

mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Libraries

If you find rthis helpful

If you do something cool with this software please share it

About

Accepts multiple E1.31 universes for mapping on to a single LED string connected to a raspberry pi

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.