Tested on:RPi3, RPi0; Raspbian Stretch; Python3
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
0

First steps with LightShowPi: equalizer effect for RGB LED strips

LightShowPi is an impressive piece of software for transforming audio signals into lighting patterns and comes even with an SMS control (not tested). As a first application, LightShowPi runs a lightshow on a simple RGB LED strip.

Schaltkreis
Assembly and components are the same as in the tutorial RGB LED strip color mixer. Perform all steps described there up to and including the section Circuit.

Warning
Only attach the power source to the circuit after performing the installation and watch the circuit at the first try if it gets too hot!

Installation
Due to minor difficulties with the LightshowPi Installer, the packages simplejson and pyserial are to be installed manually.

The packages need to be removed from the installer with

Replace

with

Now, install LightshowPi and a demo MP3:

Equalizer
Attach the power source to the circuit and enter in the terminal

The lighting of the LED strip is synchronized to the music like in the video at top.

Bonus: attaching multiple LED strips
Attaching multiple LED strips requires declaring their pins in default.cfg:

Find the line

and add arbitrarily pins in WiringPi numbering (wPi) to the line (hint: show the pin table by entering gpio readall in the terminal).

Links
LightShowPi Homepage: http://lightshowpi.org
LightshowPi Installer: http://lightshowpi.org/download-and-install/
Tutorial RGB LED strip color mixer: http://www.knight-of-pi.org/color-mixer-control-a-rgb-led-strip-with-the-raspberry-pi-and-the-n-channel-mosfet-irlb8721/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

Comment

Time limit is exhausted. Please reload CAPTCHA.