LedBars/RpiLedBars/backend
2022-07-20 16:57:01 +02:00
..
libs Updates from pi 2022-07-20 16:57:01 +02:00
src Updates from pi 2022-07-20 16:57:01 +02:00
.clang-format using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
.gitignore using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
cava_config using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
cava_config_namedpipe using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
cava_test using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
CMakeLists.txt Updates from pi 2022-07-20 16:57:01 +02:00
install.sh Updates from pi 2022-07-20 16:57:01 +02:00
pixled.service Updates from pi 2022-07-20 16:57:01 +02:00
README.md using cmake to build project and submodules 2021-10-18 17:21:31 +01:00
sgdb.sh using cmake to build project and submodules 2021-10-18 17:21:31 +01:00

RpiLedBars

LedBars version for raspberry pi

Contains

Install

I2S Microphone

Install dependencies

sudo apt install python3-pip
sudo pip3 install --upgrade adafruit-python-shell

Build and install module

cd /tmp
sudo wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2smic.py
sudo python3 i2smic.py

After a kernel update this step as to be executed again (after reboot -> depends on uname)

Test microphone

Plug the microphone

sudo reboot
arecord -l
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav

Control record volume

cp res/.asoundrc ~/.asoundrc

Project depenencies

sudo apt install libasound2-dev wiringpi

Cava

sudo apt install libfftw3-dev libasound2-dev libtool automake
cd cava_
./autogen.sh
./configure
make
sudo make install

Access point

grep "Access point conf" $(find /etc -type f)

Biblio:

Art-Net

ws28xx rgb leds