Skip to content

wichern/leucht

Repository files navigation

Leucht

Compile

Host

# For pistache
sudo apt install libssl-dev

# For simulation with SDL
sudo apt install libsdl1.2-dev

# For playing radio streams
sudo apt install vlc

# For compiling
sudo apt install cmake git

./get_externals.sh
mkdir build
cd build
cmake ..
make -j

Cross-Compile for Raspberry Pi Zero

The raspberry pi zero needs an arm6 compiler (see here).

Install Crosstool-NG

./install_crosstool_ng.sh

Build toolchain

ct-ng armv6-rpi-linux-gnueabi
ct-ng menuconfig
# Paths and misc options  ---> set CT_PREFIX to "${CT_PREFIX:-./x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
ct-ng build
# Retry on download errors.

Cross-Build pistache

./cross_prepare.sh

Cross-Build Leucht

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../Toolchain-rpizero.cmake
make -j

Hardware Setup

The wall is made up of 252 WS2801 pixels. See https://learn.adafruit.com/12mm-led-pixels/wiring on how to set them up.

WS2801 Raspberry Power Supply
5V (red) +V
CK/CI (green) Pin 23 (SCLK)
SI/SD (yellow) Pin 19 (MOSI)
GND (blue) Pin 6 (GND -V

alt text

About

LED wall control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published