This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
projects:lichtwand [2019/03/12 23:28] – kratenko | projects:lichtwand [2019/05/31 13:40] – rey | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | # Lichtwand | + | # RGB-Tetris-wall: |
- | * [original planing page](rgb_tetris_wall) | + | |
+ | LED-based pixel wall for animations and tetris visualisation. Provides 16x24 RGB pixels on 80x120cm. LEDS are controlled with an Arduino, a Raspi provides input from arbitrary image or stream inputs including showing live Tetris games from NES input. | ||
* Github repo: https:// | * Github repo: https:// | ||
- | # Abstract | + | |![](https:// |
- | Self-built LED-walls are a common sight since the Neopixel came along. We want one! Let's do it with style; it will be a pleasure to look upon and its lights shall shine brightly. The Lichtwand will also be able to stream the game of Tetris live from the original | + | |---| |
+ | |Complete RGB-Tetris-LED-Wall| | ||
+ | |||
+ | ## Hardware: | ||
+ | |||
+ | - WS2811 5050 LED strips (60leds/m, 20ics/m) | ||
+ | - 12V power supply (HP 750W HSTNS-PL18), | ||
+ | - Arduino Mega | ||
+ | - Raspberry PI 3 B | ||
+ | - EasyCAP USB grabber | ||
+ | - Microphone: line in, perhaps with amplifier Iduino SE019 | ||
+ | - Switches, Buttons, Photo-resistor, | ||
+ | - Case made from HDF, with cells of size 5x5x5cm, top layer is Transparenzpapier + 3mm clear acrylic | ||
+ | |||
+ | |![](https:// | ||
+ | |---|---| | ||
+ | |![](https:// | ||
+ | |||
+ | Energy supply: | ||
+ | - worst case need: 0.02x24x16x9 = 69.12A | ||
+ | - mostly organises via 4×2 molex connectors | ||
+ | - 12 -> 5V converter for Arduino + Raspi + Controlleds (WS2812b) | ||
+ | |||
+ | ## Software: | ||
+ | |||
+ | ### Arduino: | ||
+ | |||
+ | Purpose: direkt control of all LEDs via the FastLed library. | ||
+ | - controlled via buttons: mode (animations, | ||
+ | - adaptive brightness via a photo-resistor (with voltage divider via 5k1ohm resistor for input pulldown) | ||
+ | - annimations: | ||
+ | |||
+ | Communication with Raspi: | ||
+ | - SPI, 487500 bps | ||
+ | - Arduino sets sync_pin if ready for receiving data. | ||
+ | |||
+ | Libraries (C): | ||
+ | - https:// | ||
+ | - https:// | ||
+ | - SPI | ||
+ | |||
+ | ### Raspberry PI: | ||
+ | |||
+ | Purpose: Proprocessing streams of input images, beat detection, NES tetris streams, | ||
+ | - Image processing: cycles through all images that are located in /images | ||
+ | - Beat detection: Microphone measures sound for simple beat detection that can get visualised | ||
+ | - NES Tetris | ||
+ | - Pixelflut (tm) | ||
+ | |||
+ | NES Tetris stream: | ||
+ | - NTSC or PAL possible | ||
+ | - 12-15 fps feasible | ||
+ | |||
+ | Libraries (python): | ||
+ | - base64 | ||
+ | - numpy | ||
+ | - Pillow | ||
+ | - pigpio | ||
+ | - pyserial | ||
+ | - PyV4L2Camera | ||
</ | </ |