LedBars/RpiLedBars/README.md

2.2 KiB

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